|
@@ -129,16 +129,17 @@
|
|
|
this.$refs.eomEditRef.open(row);
|
|
this.$refs.eomEditRef.open(row);
|
|
|
},
|
|
},
|
|
|
handleMine() {
|
|
handleMine() {
|
|
|
- const current = this.current.orderInfoList;
|
|
|
|
|
- for (const key in current) {
|
|
|
|
|
- if (
|
|
|
|
|
- current[key].bomDetailDTOS.length == 0 &&
|
|
|
|
|
- current[key].instanceList.length == 0
|
|
|
|
|
- ) {
|
|
|
|
|
- this.$message.warning('当前领料单数据为空');
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // const current = this.current.orderInfoList;
|
|
|
|
|
+ // for (const key in current) {
|
|
|
|
|
+ // if (
|
|
|
|
|
+ // current[key].bomDetailDTOS.length == 0 &&
|
|
|
|
|
+ // current[key].instanceList.length == 0
|
|
|
|
|
+ // ) {
|
|
|
|
|
+ // this.$message.warning('当前领料单数据为空');
|
|
|
|
|
+ // return;
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
|
|
+ console.log('sacnmmmmmm=', this.current);
|
|
|
this.$emit('success', this.current);
|
|
this.$emit('success', this.current);
|
|
|
this.dialogVisible = false;
|
|
this.dialogVisible = false;
|
|
|
},
|
|
},
|