Forráskód Böngészése

Merge branch 'dev' of http://git.echepei.com/tubao/Smart_platform_ui into dev

Qukatie 5 hónapja
szülő
commit
0cb2213e08

+ 23 - 19
src/views/iosBasicData/SeafreightExportF/bills/billsDetails.vue

@@ -782,11 +782,12 @@ export default {
                 //     this.form.hblno = ''
                 // }
                 // 只有分单不能编辑
-                if (oldValue == 'MH') {
-                    this.columnforfun('hblno').disabled = true
-                } else {
-                    this.columnforfun('hblno').disabled = false
-                }
+                // if (oldValue == 'MH') {
+                //     this.columnforfun('hblno').disabled = true
+                // } else {
+                //     this.columnforfun('hblno').disabled = false
+                // }
+                // 王风刚 2025-02-21 所有分单号都不能手动输入,都可以申请
             },
             deep: true, // 深度监听
             immediate: true  // 第一次改变就执行
@@ -1589,13 +1590,14 @@ export default {
                 return
             }
             // 如果不是分单
-            if (this.form.billType != 'MH') {
-                this.$message({
-                    message: '只有分单需要申请',
-                    type: 'warning'
-                });
-                return
-            }
+            // 王风刚 2025-02-21 所有分单号都不能手动输入,都可以申请
+            // if (this.form.billType != 'MH') {
+            //     this.$message({
+            //         message: '只有分单需要申请',
+            //         type: 'warning'
+            //     });
+            //     return
+            // }
             if (!this.form.businessType) {
                 this.$message({
                     message: '请先选择业务类型',
@@ -1624,13 +1626,15 @@ export default {
                 })
             } else {
                 if (!this.form.hblno) {
-                    this.$confirm(`确定${text}?`, {
-                        confirmButtonText: "确定",
-                        cancelButtonText: "取消",
-                        type: "warning"
-                    }).then(res => {
-                        this.billsGetBillNofun()
-                    })
+                    // 王风刚 2025-02-21 无需弹窗,直接申请分单号
+                    // this.$confirm(`确定${text}?`, {
+                    //     confirmButtonText: "确定",
+                    //     cancelButtonText: "取消",
+                    //     type: "warning"
+                    // }).then(res => {
+                    //     this.billsGetBillNofun()
+                    // })
+                    this.billsGetBillNofun()
                 }
             }