From 3edc6956b30df3fc11025e0b719f320fcb1ec9c5 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期一, 19 一月 2026 16:31:15 +0800
Subject: [PATCH] 更新出库线体配置,PP、干膜质检单独判断

---
 代码管理/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/proOutboundOrderDetail.vue |   63 +++++++++++++++++++++++++++----
 1 files changed, 55 insertions(+), 8 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/proOutboundOrderDetail.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/proOutboundOrderDetail.vue"
index 436365b..b9bb427 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/proOutboundOrderDetail.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/proOutboundOrderDetail.vue"
@@ -2,9 +2,10 @@
   <div>
     <vol-box
       v-model="dialogFormVisible"
+      :on-model-close="closeCustomModel"
       :lazy="true"
-      width="20%"
-      :padding="15"
+      width="25%"
+      :padding="20"
       title="閫夋嫨鍑哄簱绾夸綋"
     >   
         <div> 
@@ -185,6 +186,8 @@
       formLabelWidth: '160px',
       formFields1: {
         LineCode: "",
+        Grade: "0",
+        IsFineWorks: "0",
       },
       formRules1:[[
           {
@@ -201,7 +204,25 @@
             extra: {
               
             },
-          }]],
+          }],
+          [
+          {
+            title: "鏄惁浼樺厛",
+            field: "Grade",
+            data: [],
+            required: false,
+            type: "switch",
+          },
+        ],
+          [
+          {
+            title: "鎸囧畾绮惧搧",
+            field: "IsFineWorks",
+            data: [],
+            required: false,
+            type: "switch",
+          },
+        ]],
       form: {
         name: '',
         region: '',
@@ -268,7 +289,13 @@
           prop: "pVer",
           title: "浜у搧鐗堟湰",
           type: "string",
-          width: 150,
+          width: 90,
+        },
+        {
+          prop: "outSpecifyVer",
+          title: "鎸囨淳鐗堟湰",
+          type: "string",
+          width: 90,
         },
         {
           prop: "pLot",
@@ -411,6 +438,7 @@
       if (this.selection.length === 0) {
         return this.$message.error("璇烽�夋嫨鍗曟嵁鏄庣粏");
       }
+      this.getLineInfoData();
       this.dialogFormVisible=true;
     },
     open(row) {
@@ -472,17 +500,19 @@
       var keys = this.selection.map((item) => item.id); // 鑾峰彇閫変腑琛岀殑id
 
       this.http
-        .post("api/Task/OutProductTask?stationCode="+this.formFields1.LineCode, keys, "鏁版嵁澶勭悊涓�")
+        .post("api/Task/OutProductTask?stationCode="+this.formFields1.LineCode +"&grade="+this.formFields1.Grade+"&isFineWorks="+this.formFields1.isFineWorks, keys, "鏁版嵁澶勭悊涓�")
         .then((x) => {
           if (!x.status) return this.$message.error(x.message);
           this.$message.success("鎿嶄綔鎴愬姛");
+          this.formFields1.LineCode="";
+          this.formFields1.Grade="0";
+          this.formFields1.isFineWorks="0";
+          this.dialogFormVisible=false;
+          this.$parent.refresh();
           this.showDetialBox = false;
           this.$emit("parentCall", ($vue) => {
             $vue.getData();
           });
-          this.formFields1.LineCode="";
-          this.dialogFormVisible=false;
-          this.$parent.refresh();
         });
     },
     setCurrent(row) {
@@ -537,6 +567,23 @@
           }
         });
     },
+    getLineInfoData() {
+      var param = ["lineInfo"];
+      this.http
+        .post("api/Sys_Dictionary/GetVueDictionary", param, "鏌ヨ涓�")
+        .then((x) => {
+          if (x.length > 0) {
+            this.formRules1[0][0].data = x[0].data;
+          }
+        });
+    },
+    closeCustomModel() {
+      this.formFields1.LineCode="";
+      this.formFields1.Grade="0";
+      this.formFields1.isFineWorks="0";
+          this.dialogFormVisible=false;
+          this.$parent.refresh();
+    },
     getDictionary(row, column) {
       if (this.dictionaryList) {
         var item = this.dictionaryList.find((x) => x.dicNo == column.bindKey);

--
Gitblit v1.9.3