| | |
| | | prop="remainderRequired" |
| | | header-align="center" |
| | | align="center" |
| | | label="本次计划数量" |
| | | > |
| | | label="本次计划数量"> |
| | | <template scope="scope"> |
| | | <!-- <el-form-item>{{ scope.row.qtyPlaned }}</el-form-item> --> |
| | | <el-form-item |
| | | :prop="'customer.' + scope.$index" |
| | | :rules="rules.qtyPlaned" |
| | | > |
| | | <el-form-item :prop="'customer.' + scope.$index" :rules="rules.qtyPlaned"> |
| | | <el-input |
| | | v-model="remainderRequired" |
| | | placeholder="请输入本次计划数量" |
| | | ></el-input> |
| | | v-model="scope.row.qtyPlaned" |
| | | placeholder="请输入本次计划数量"> |
| | | </el-input> |
| | | </el-form-item> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | const _that = this |
| | | customer.forEach((item) => { |
| | | const outPutBatchList = [] |
| | | item.qtyPlaned = Number(item.buyQtyDue) |
| | | _that.$set(item, 'outPutBatchList', outPutBatchList) |
| | | customerList.push(item) |
| | | }) |
| | | this.dataForm.customer = JSON.parse(JSON.stringify(customerList)) |
| | | this.dataForm.customer.forEach(item=>{ |
| | | // let num=Number(item.buyQtyDue) |
| | | // item.qtyPlaned=num |
| | | }) |
| | | }) |
| | | }, |
| | | dataFormSubmit() { |