| | |
| | | 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> |
| | |
| | | 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); |
| | | }) |
| | | }, |
| | | dataFormSubmit() { |