From d845312bb27972771b566054a906cc25af83e209 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期一, 26 五月 2025 17:32:07 +0800 Subject: [PATCH] 添加货位排图功能 --- 代码管理/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/proOutboundOrderDetail.vue | 36 ++++++++++++++++++++++++++++++------ 1 files changed, 30 insertions(+), 6 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..e3357c4 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,6 +2,7 @@ <div> <vol-box v-model="dialogFormVisible" + :on-model-close="closeCustomModel" :lazy="true" width="20%" :padding="15" @@ -185,6 +186,7 @@ formLabelWidth: '160px', formFields1: { LineCode: "", + Grade: "0", }, formRules1:[[ { @@ -201,7 +203,16 @@ extra: { }, - }]], + }], + [ + { + title: "鏄惁浼樺厛", + field: "Grade", + data: [], + required: false, + type: "switch", + }, + ]], form: { name: '', region: '', @@ -268,7 +279,13 @@ prop: "pVer", title: "浜у搧鐗堟湰", type: "string", - width: 150, + width: 90, + }, + { + prop: "outSpecifyVer", + title: "鎸囨淳鐗堟湰", + type: "string", + width: 90, }, { prop: "pLot", @@ -472,17 +489,18 @@ 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, keys, "鏁版嵁澶勭悊涓�") .then((x) => { if (!x.status) return this.$message.error(x.message); this.$message.success("鎿嶄綔鎴愬姛"); + this.formFields1.LineCode=""; + this.formFields1.Grade="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 +555,12 @@ } }); }, + closeCustomModel() { + this.formFields1.LineCode=""; + this.formFields1.Grade="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