wfg 5 月之前
父节点
当前提交
8902192d51
共有 1 个文件被更改,包括 23 次插入20 次删除
  1. 23 20
      src/views/iosBasicData/SeafreightExportF/bills/billsDetails.vue

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

@@ -780,11 +780,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  // 第一次改变就执行
@@ -1584,13 +1585,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: '请先选择业务类型',
@@ -1611,7 +1613,6 @@ export default {
                     cancelButtonText: "取消",
                     type: "warning"
                 }).then(res => {
-                    
                     removeHblNo({id:this.form.id}).then(res=>{
                         this.form.hblno=null
                         this.billsSubmitfun()
@@ -1619,13 +1620,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()
                 }
             }