From f3e8b1999c8e6142764def9d5b5427abb843e922 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期四, 16 十一月 2023 14:22:31 +0800 Subject: [PATCH] 改动 --- src/views/plan/customerorder/schedule-table.vue | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/views/plan/customerorder/schedule-table.vue b/src/views/plan/customerorder/schedule-table.vue index 3780444..ac0ed90 100644 --- a/src/views/plan/customerorder/schedule-table.vue +++ b/src/views/plan/customerorder/schedule-table.vue @@ -85,14 +85,15 @@ width="170px" > <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> @@ -222,22 +223,26 @@ this.dataForm.customer = [] const _that = this customer.forEach((item) => { - console.log(item); + item.qtyPlaned=item.buyQtyDue const outPutBatchList = [] _that.$set(item, 'outPutBatchList', outPutBatchList) customerList.push(item) }) this.dataForm.customer = JSON.parse(JSON.stringify(customerList)) - console.log(this.dataForm.customer); }) - this.dataForm.customer.forEach(item=>{ - item.remainderRequired=item.buyQtyDue - }) + // this.dataForm.forEach(item=>{ + // console.log(1111); + // console.log("寰幆",item); + // item.qtyPlaned=item.buyQtyDue + // }) + console.log("data",this.dataForm); }, dataFormSubmit() { this.isSubmit = true this.$refs.dataForm.validate((valid) => { if (valid) { + // console.log(this.dataForm); + // return checkSchedule(this.dataForm.customer) .then((res) => { if (res.data.data.success) { -- Gitblit v1.9.3