|
@@ -2762,6 +2762,7 @@ export default {
|
|
|
pictureSource: '0',
|
|
pictureSource: '0',
|
|
|
stillDistribute: false,
|
|
stillDistribute: false,
|
|
|
productTitles: [],
|
|
productTitles: [],
|
|
|
|
|
+ inspectionType: '',
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
beforeRouteLeave(to, from, next) {
|
|
beforeRouteLeave(to, from, next) {
|
|
@@ -2780,7 +2781,11 @@ export default {
|
|
|
this.visitId = this.$route.query.visitId + '';
|
|
this.visitId = this.$route.query.visitId + '';
|
|
|
this.taskId = this.$route.query.taskId + '';
|
|
this.taskId = this.$route.query.taskId + '';
|
|
|
this.storeId = this.$route.query.storeId + '';
|
|
this.storeId = this.$route.query.storeId + '';
|
|
|
- this.isMust == this.$route.query.isMust + '';
|
|
|
|
|
|
|
+ this.isMust = this.$route.query.isMust + '';
|
|
|
|
|
+ this.deviceCode = this.$route.query.deviceCode;
|
|
|
|
|
+ this.putInCode = this.$route.query.putInCode;
|
|
|
|
|
+ this.equipmentCode = this.$route.query.equipmentCode;
|
|
|
|
|
+ this.inspectionType = this.$route.query.inspectionType;
|
|
|
this.photoIdentifyType = this.$route.query.photoIdentifyType;
|
|
this.photoIdentifyType = this.$route.query.photoIdentifyType;
|
|
|
this.storeGroupId = this.$route.query.storeGroupId + '';
|
|
this.storeGroupId = this.$route.query.storeGroupId + '';
|
|
|
if (this.$route.query.photoType != null) {
|
|
if (this.$route.query.photoType != null) {
|
|
@@ -2810,7 +2815,11 @@ export default {
|
|
|
this.visitId = this.$route.query.visitId + '';
|
|
this.visitId = this.$route.query.visitId + '';
|
|
|
this.taskId = this.$route.query.taskId + '';
|
|
this.taskId = this.$route.query.taskId + '';
|
|
|
this.storeId = this.$route.query.storeId + '';
|
|
this.storeId = this.$route.query.storeId + '';
|
|
|
- this.isMust == this.$route.query.isMust + '';
|
|
|
|
|
|
|
+ this.isMust = this.$route.query.isMust + '';
|
|
|
|
|
+ this.deviceCode = this.$route.query.deviceCode;
|
|
|
|
|
+ this.putInCode = this.$route.query.putInCode;
|
|
|
|
|
+ this.equipmentCode = this.$route.query.equipmentCode;
|
|
|
|
|
+ this.inspectionType = this.$route.query.inspectionType;
|
|
|
this.photoIdentifyType = this.$route.query.photoIdentifyType;
|
|
this.photoIdentifyType = this.$route.query.photoIdentifyType;
|
|
|
this.storeGroupId = this.$route.query.storeGroupId + '';
|
|
this.storeGroupId = this.$route.query.storeGroupId + '';
|
|
|
if (this.$route.query.photoType != null) {
|
|
if (this.$route.query.photoType != null) {
|
|
@@ -2954,7 +2963,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if (val.type == 'E') {
|
|
if (val.type == 'E') {
|
|
|
- debugger;
|
|
|
|
|
this.collectionItemList[val.index].collectionOptionList[val.index1].collectionItems[
|
|
this.collectionItemList[val.index].collectionOptionList[val.index1].collectionItems[
|
|
|
val.index2
|
|
val.index2
|
|
|
].collectionOptionList[val.index3].collectionItems[val.index4].collectionOptionList[
|
|
].collectionOptionList[val.index3].collectionItems[val.index4].collectionOptionList[
|
|
@@ -3275,8 +3283,8 @@ export default {
|
|
|
console.log(params.id);
|
|
console.log(params.id);
|
|
|
getCollectionInfos(params).then((res) => {
|
|
getCollectionInfos(params).then((res) => {
|
|
|
loading1.clear();
|
|
loading1.clear();
|
|
|
- this.deviceCode = '';
|
|
|
|
|
- this.putInCode = '';
|
|
|
|
|
|
|
+ // this.deviceCode = '';
|
|
|
|
|
+ // this.putInCode = '';
|
|
|
// this.equipmentCode = res.data.equipmentCode;
|
|
// this.equipmentCode = res.data.equipmentCode;
|
|
|
var checkUnManage = res.data;
|
|
var checkUnManage = res.data;
|
|
|
var collectionItemLists = res.data.collectionItemList;
|
|
var collectionItemLists = res.data.collectionItemList;
|
|
@@ -3286,15 +3294,14 @@ export default {
|
|
|
this.checked = false;
|
|
this.checked = false;
|
|
|
}
|
|
}
|
|
|
this.unManage = res.data.unManage;
|
|
this.unManage = res.data.unManage;
|
|
|
- this.deviceCode = res.data.deviceCode || ''; // 设备编号
|
|
|
|
|
- this.putInCode = res.data.putInCode || ''; // 投放编号
|
|
|
|
|
|
|
+ // this.deviceCode = res.data.deviceCode || ''; // 设备编号
|
|
|
|
|
+ // this.putInCode = res.data.putInCode || ''; // 投放编号
|
|
|
// 调色机类型:buy-购买类调色机,place-放置类调色机 不显示设备编号和投放编号
|
|
// 调色机类型:buy-购买类调色机,place-放置类调色机 不显示设备编号和投放编号
|
|
|
- let inspectionType = res.data.inspectionType;
|
|
|
|
|
- if (inspectionType == 'buy') {
|
|
|
|
|
- this.equipmentCode = res.data.putInCode || '';
|
|
|
|
|
|
|
+ if (this.inspectionType == 'buy') {
|
|
|
|
|
+ this.equipmentCode = this.putInCode || '';
|
|
|
this.showCode = true;
|
|
this.showCode = true;
|
|
|
- } else if (inspectionType == 'place') {
|
|
|
|
|
- this.equipmentCode = res.data.equipmentCode || '';
|
|
|
|
|
|
|
+ } else if (this.inspectionType == 'place') {
|
|
|
|
|
+ this.equipmentCode = this.equipmentCode || '';
|
|
|
this.showCode = false;
|
|
this.showCode = false;
|
|
|
}
|
|
}
|
|
|
if (
|
|
if (
|