|
@@ -911,8 +911,6 @@
|
|
|
this.$refs.DialogGoods.open();
|
|
this.$refs.DialogGoods.open();
|
|
|
},
|
|
},
|
|
|
async cbDialogGoods(data) {
|
|
async cbDialogGoods(data) {
|
|
|
- await this.searchDeptNodeClick(data.deptLeaderId, data);
|
|
|
|
|
- await this.seachDetail(data.id);
|
|
|
|
|
console.log(data);
|
|
console.log(data);
|
|
|
this.basicInfo = data;
|
|
this.basicInfo = data;
|
|
|
this.assetInfo = data;
|
|
this.assetInfo = data;
|
|
@@ -1140,9 +1138,38 @@
|
|
|
this.positionInfo.lineName = pathName[2];
|
|
this.positionInfo.lineName = pathName[2];
|
|
|
|
|
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.WorkshopSelectRef.getList();
|
|
|
|
|
- this.$refs.FactoryLineSelectRef.getList();
|
|
|
|
|
|
|
+ // this.$refs.WorkshopSelectRef.getList();
|
|
|
|
|
+ // this.$refs.FactoryLineSelectRef.getList();
|
|
|
});
|
|
});
|
|
|
|
|
+ console.log('data', data);
|
|
|
|
|
+ this.isLink = false;
|
|
|
|
|
+ this.categoryWms = {
|
|
|
|
|
+ ...data.category.categoryWms,
|
|
|
|
|
+ warrantyWarnRefer: await sysDict(
|
|
|
|
|
+ '质保预警参考',
|
|
|
|
|
+ data.category.categoryWms.warrantyWarnRefer
|
|
|
|
|
+ ),
|
|
|
|
|
+ warrantyPeriodUnit: await sysDict(
|
|
|
|
|
+ '保质期单位',
|
|
|
|
|
+ data.category.categoryWms.warrantyPeriodUnit
|
|
|
|
|
+ )
|
|
|
|
|
+ };
|
|
|
|
|
+ this.categoryMes = {
|
|
|
|
|
+ ...data.category.categoryMes,
|
|
|
|
|
+ apsType: await sysDict(
|
|
|
|
|
+ '排程类型',
|
|
|
|
|
+ data.category.categoryMes.apsType
|
|
|
|
|
+ )
|
|
|
|
|
+ };
|
|
|
|
|
+ this.categoryObj = {
|
|
|
|
|
+ ...data.category.category,
|
|
|
|
|
+ fileName: data.category.category.remarkAttach
|
|
|
|
|
+ ? data.category.category.remarkAttach
|
|
|
|
|
+ .map((item) => item.name)
|
|
|
|
|
+ .join(', ')
|
|
|
|
|
+ : ''
|
|
|
|
|
+ };
|
|
|
|
|
+ this.isLink = true;
|
|
|
}
|
|
}
|
|
|
// 资产信息
|
|
// 资产信息
|
|
|
for (const key of Object.keys(this.zcInfo)) {
|
|
for (const key of Object.keys(this.zcInfo)) {
|
|
@@ -1181,7 +1208,7 @@
|
|
|
this.options.lineCode = [];
|
|
this.options.lineCode = [];
|
|
|
// 获取车间
|
|
// 获取车间
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.WorkshopSelectRef.getList();
|
|
|
|
|
|
|
+ // this.$refs.WorkshopSelectRef.getList();
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
hanldWorkshopCode(val, item) {
|
|
hanldWorkshopCode(val, item) {
|
|
@@ -1191,7 +1218,7 @@
|
|
|
this.options.lineCode = [];
|
|
this.options.lineCode = [];
|
|
|
// 获取产线
|
|
// 获取产线
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.FactoryLineSelectRef.getList();
|
|
|
|
|
|
|
+ // this.$refs.FactoryLineSelectRef.getList();
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
hanldlineCodeCode(val, item) {
|
|
hanldlineCodeCode(val, item) {
|