| | |
| | | <el-input |
| | | v-model="scope.row.qtyPlaned" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-form-item> --> |
| | | ></el-input> --> |
| | | </el-form-item> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | 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.qtyPlaned=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) { |