Browse Source

..

Branch_PaiNaWeiS
xusc 1 month ago
parent
commit
01f436bd76
  1. 22
      src/vue/src/app/ics-mo-dispatching/create-or-edit-ics-mo-dispatching/edit-mo-dispatch3.vue

22
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({
},
});
</script>
<style lang="less" scoped>
/* 表格 */
/*.table 为全局表格自定义样式*/

Loading…
Cancel
Save