From 567c703f91983ec82b397fbd4f347fc192167e85 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期三, 15 十一月 2023 19:21:17 +0800
Subject: [PATCH] modified: src/views/plan/customerorder/schedule-table.vue
---
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