|
|
@@ -808,7 +808,7 @@
|
|
|
}
|
|
|
let arr = JSON.parse(JSON.stringify(this.selection));
|
|
|
let obj = this.bomListType.find(
|
|
|
- (el) => el.id === this.formInline.bomType
|
|
|
+ (el) => el.bomType === this.formInline.bomType
|
|
|
);
|
|
|
let data = {
|
|
|
...this.planInfo,
|
|
|
@@ -957,7 +957,7 @@
|
|
|
}
|
|
|
}
|
|
|
let obj = this.bomListType.find(
|
|
|
- (el) => el.id === this.formInline.bomType
|
|
|
+ (el) => el.bomType === this.formInline.bomType
|
|
|
);
|
|
|
const addPOList = this.fieldProcessing(this.selection);
|
|
|
this.$alert('确定要将所选的数据下发生产计划吗', {
|
|
|
@@ -975,13 +975,14 @@
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
- console.log(row, 'row');
|
|
|
// this.$refs.factoryAddRef.open();
|
|
|
// this.$refs.factoryAddRef.confirmChoose([row]);
|
|
|
},
|
|
|
|
|
|
// 字段处理
|
|
|
fieldProcessing(arr) {
|
|
|
+ // console.log(arr,'arr')
|
|
|
+ // return;
|
|
|
let list = arr.map((item) => {
|
|
|
return {
|
|
|
id: this.planInfo.id,
|