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() }); },