|
|
@ -363,6 +363,26 @@ export default defineComponent({ |
|
|
|
line.dispatchDate = moment(); |
|
|
|
line.dispatchEndDate = moment(); |
|
|
|
this.dataSourceTop.push(line); |
|
|
|
|
|
|
|
// if (this.ngQty == 0) { |
|
|
|
// return this.notify.warn('请填写不良数'); |
|
|
|
// } |
|
|
|
|
|
|
|
// let maxIndex = 0; |
|
|
|
// if (this.dataSource.length > 0) { |
|
|
|
// maxIndex = Number(this.dataSource.sort((x, y) => Number(y.key) - Number(x.key))[0].key) + 1; |
|
|
|
// } |
|
|
|
// else { |
|
|
|
// maxIndex = 1; |
|
|
|
// } |
|
|
|
|
|
|
|
// let dto = new IcsLotEcDataDto(); |
|
|
|
// dto.key = maxIndex.toString(); |
|
|
|
// dto.ecCode = this.ecCode; |
|
|
|
// dto.ecName = this.ecCodeSelectList.filter(x => x.value == this.ecCode)[0].text; |
|
|
|
// dto.opNgQty = this.ngQty; |
|
|
|
// this.dataSource.push(dto); |
|
|
|
|
|
|
|
}, |
|
|
|
topTableRowSelectChange(record: IcsMoDispatchingEditDto, index) { |
|
|
|
return { |
|
|
|