diff --git a/src/vue/src/app/ics-mo-dispatching/create-or-edit-ics-mo-dispatching/edit-mo-dispatch3.vue b/src/vue/src/app/ics-mo-dispatching/create-or-edit-ics-mo-dispatching/edit-mo-dispatch3.vue index cde33f66..4fe644ad 100644 --- a/src/vue/src/app/ics-mo-dispatching/create-or-edit-ics-mo-dispatching/edit-mo-dispatch3.vue +++ b/src/vue/src/app/ics-mo-dispatching/create-or-edit-ics-mo-dispatching/edit-mo-dispatch3.vue @@ -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 { @@ -568,7 +588,7 @@ export default defineComponent({ }, }); - +