Browse Source

build:发货工单限制最多添加10条物流单号

snow 2 years ago
parent
commit
6d2ad11f64

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/0.js


+ 5 - 0
src/views/sellOut/deliveryWorkOrder/components/express.vue

@@ -183,6 +183,11 @@ export default {
       }
     },
     addDomain() {
+      if (this.ruleForm.post_code.length >= 10) {
+        this.$message.warning('最多只能添加10条物流单号!')
+        return
+      }
+
       this.ruleForm.post_code.push({
         value: '',
         key: Date.now()

+ 2 - 1
src/views/sellOut/deliveryWorkOrder/detail.vue

@@ -95,7 +95,8 @@
               />
             </el-collapse-item>
 
-            <el-collapse-item title="待库管发货" name="2"  v-if="sitem.status === '1' && !isSupertube && ppowers.includes('1')">
+            <!-- v-if="sitem.status === '1' && !isSupertube && ppowers.includes('1')" -->
+            <el-collapse-item title="待库管发货" name="2">
               <express-node @refresh="() => initData()" :sitem="sitem" />
             </el-collapse-item>
           </el-collapse>

+ 5 - 0
src/views/supplierSellOut/supplierDeliveryWorkOrder/components/express.vue

@@ -183,6 +183,11 @@ export default {
       }
     },
     addDomain() {
+      if (this.ruleForm.post_code.length >= 10) {
+        this.$message.warning('最多只能添加10条物流单号!')
+        return
+      }
+
       this.ruleForm.post_code.push({
         value: '',
         key: Date.now()

Some files were not shown because too many files changed in this diff