| | |
| | | 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> |
| | |
| | | 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) { |