From ad4d32dc4e162ba7fb71cd3bc213f1d71c964551 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期二, 13 五月 2025 14:30:57 +0800 Subject: [PATCH] 最新代码上传 --- 代码管理/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/proOutboundOrderDetail.vue | 28 +++++++++++++++++++++++----- 1 files changed, 23 insertions(+), 5 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..04d31cf 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: '', @@ -472,17 +483,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 +549,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