From daa0b51b0b3609c683da3066c2815d3e9eb42b3f Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期三, 18 十二月 2024 09:39:46 +0800
Subject: [PATCH] 1.订单管理的异常订单

---
 pages/goods/list/_action/_id.vue |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/pages/goods/list/_action/_id.vue b/pages/goods/list/_action/_id.vue
index 4bf6a64..d2d522d 100644
--- a/pages/goods/list/_action/_id.vue
+++ b/pages/goods/list/_action/_id.vue
@@ -80,6 +80,12 @@
               readonly: true,
             },
             {
+              label: '限购数量:',
+              id: 'limited',
+              type: 'input-number',
+              el: { precision: 0,  min:1, max: 99999999,  style: 'width:100%' },
+            },
+            {
               label: '驳回原因:',
               id: 'auditRemarks',
               type: 'input',
@@ -159,6 +165,10 @@
         { params: { id: this.$route.params.id } }
       )
       if (code === 0) {
+        const limited = data.limited;
+        if (limited === null) {
+          data.limited = undefined;
+        }
         this.$refs.form.updateForm(data)
       }
       this.loading = false

--
Gitblit v1.9.3