From 5ff704af11fc13dd48a48e133652faf1e13d178d Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期三, 15 十一月 2023 19:21:32 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/zs-mes-before --- src/views/plan/customerorder/schedule-table.vue | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/plan/customerorder/schedule-table.vue b/src/views/plan/customerorder/schedule-table.vue index d0aec79..82957c7 100644 --- a/src/views/plan/customerorder/schedule-table.vue +++ b/src/views/plan/customerorder/schedule-table.vue @@ -84,14 +84,15 @@ label="鏈璁″垝鏁伴噺" > <template scope="scope"> - <el-form-item + <el-form-item>{{ scope.row.qtyPlaned }}</el-form-item> + <!-- <el-form-item :prop="'customer.' + scope.$index" :rules="rules.qtyPlaned" > <el-input v-model="scope.row.qtyPlaned" placeholder="璇疯緭鍏ユ湰娆¤鍒掓暟閲�" - ></el-input> + ></el-input> --> </el-form-item> </template> </el-table-column> @@ -224,12 +225,17 @@ customerList.push(item) }) this.dataForm.customer = JSON.parse(JSON.stringify(customerList)) + this.dataForm.customer.forEach(item=>{ + item.qtyPlaned=item.buyQtyDue + }) }) }, dataFormSubmit() { this.isSubmit = true this.$refs.dataForm.validate((valid) => { if (valid) { + console.log(this.dataForm.customer); + return checkSchedule(this.dataForm.customer) .then((res) => { if (res.data.data.success) { -- Gitblit v1.9.3