From 88064b64893c5ff6f6f8161105b0d60954943b17 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Tue, 26 Sep 2023 15:32:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BD=E5=9D=AF=E8=AE=A2=E5=8D=95=20?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E5=8F=AF=E9=80=89=20=E9=BB=98=E8=AE=A4PC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plan/whiteOrder/index.vue | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/views/plan/whiteOrder/index.vue b/src/views/plan/whiteOrder/index.vue index 24a58e3..a9cd6ac 100644 --- a/src/views/plan/whiteOrder/index.vue +++ b/src/views/plan/whiteOrder/index.vue @@ -323,7 +323,14 @@ - + + + @@ -608,7 +615,7 @@ import {getProEquipment, selectMaterielList, subSplitOrder} from "@/api/plan/ord export default { name: "WhiteOrder", - dicts: ['product_type', 'order_status'], + dicts: ['product_type', 'order_status','bp'], components: { Treeselect }, @@ -1280,6 +1287,7 @@ export default { this.reset(); // 设置白坯 this.form.prodType = 'white' + this.form.unit = 'PC'; // 初始化设置计划生产日期 this.form.planProDate = moment(new Date()).format('YYYY-MM-DD') // 初始化设置计划完成日期 @@ -1333,6 +1341,7 @@ export default { // }) // return // } + this.form.unit = 'PC'; if (this.form.unit == null) { this.$message({ message: '请输入单位!', @@ -1345,7 +1354,7 @@ export default { addWhiteOrder(this.form).then(response => { this.$modal.msgSuccess('新增成功') this.dialogVisible = false - this.reset() + this.reset(); this.getList() }); },