|
|
@@ -26,12 +26,15 @@
|
|
|
<div class="lineGrey"></div>
|
|
|
<div class="lineGrey"></div>
|
|
|
<div class="lineGrey"></div>
|
|
|
- <div class="deviceCode" v-if="showCode">
|
|
|
+ <div class="deviceCode" v-if="inspectionType">
|
|
|
<div class="vertical"></div>
|
|
|
- <p>设备编号:{{ deviceCode }}</p>
|
|
|
- <p>投放编号:{{ putInCode }}</p>
|
|
|
+ <div class="codeData">
|
|
|
+ <p>设备编号:{{ deviceCode }}</p>
|
|
|
+ <p>投放编号:{{ putInCode }}</p>
|
|
|
+ <p v-if="inspectionType == 'place'">资产编号:{{ equipmentCode }}</p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="lineGrey" v-if="showCode"></div>
|
|
|
+ <div class="lineGrey" v-if="inspectionType"></div>
|
|
|
<div
|
|
|
v-if="taskType == 3"
|
|
|
class="container"
|
|
|
@@ -2898,11 +2901,13 @@
|
|
|
:childIndex="childIndex"
|
|
|
:deviceCode="deviceCode"
|
|
|
:putInCode="putInCode"
|
|
|
+ :equipmentCode="equipmentCode"
|
|
|
@newimgarr="newimgarr1"
|
|
|
@typeshow="typeshow"
|
|
|
:photoIdentifyType="photoIdentifyType"
|
|
|
:pictureSource="pictureSource"
|
|
|
:continuousShoot="continuousShoot"
|
|
|
+ :inStore="machineInTheStore"
|
|
|
ref="uploadVNormal"></upload-img>
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
@@ -3126,6 +3131,7 @@ export default {
|
|
|
maxDate: new Date(),
|
|
|
currentDate: new Date(1945, 0, 1),
|
|
|
continuousShoot: '0',
|
|
|
+ machineInTheStore: '否',
|
|
|
};
|
|
|
},
|
|
|
beforeRouteLeave(to, from, next) {
|
|
|
@@ -3680,10 +3686,10 @@ export default {
|
|
|
// 调色机类型:buy-购买类调色机,place-放置类调色机 不显示设备编号和投放编号
|
|
|
if (this.inspectionType == 'buy') {
|
|
|
this.equipmentCode = this.putInCode || '';
|
|
|
- this.showCode = true;
|
|
|
+ // this.showCode = true;
|
|
|
} else if (this.inspectionType == 'place') {
|
|
|
this.equipmentCode = this.equipmentCode || '';
|
|
|
- this.showCode = false;
|
|
|
+ // this.showCode = false;
|
|
|
}
|
|
|
// 生动化陈列是否可以编辑
|
|
|
if (this.$route.query.types == 'edit' && this.photoIdentifyType == '6') {
|
|
|
@@ -4270,8 +4276,30 @@ export default {
|
|
|
this.childIndex6 = childIndex6;
|
|
|
this.childIndex7 = childIndex7;
|
|
|
this.pType = type;
|
|
|
+ this.collectionItemList;
|
|
|
+ debugger;
|
|
|
+ this.filterInStore(this.collectionItemList[index]);
|
|
|
this.show = true;
|
|
|
},
|
|
|
+ filterInStore(item) {
|
|
|
+ let optionList = item.collectionOptionList || [];
|
|
|
+ if (item.collectionName == '机器是否在店') {
|
|
|
+ if (optionList.length) {
|
|
|
+ for (let i = 0; i < optionList.length; i++) {
|
|
|
+ if (optionList[i].isCheck == 1) {
|
|
|
+ this.machineInTheStore = optionList[i].collectionOption;
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (optionList.length) {
|
|
|
+ for (let i = 0; i < optionList.length; i++) {
|
|
|
+ this.filterInStore(optionList[i]);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
newimgarr1(val) {
|
|
|
// 店招识别只允许上传一张
|
|
|
let photoIdentifyType = val.photoIdentifyType;
|
|
|
@@ -4654,6 +4682,7 @@ export default {
|
|
|
checkUnManage: checkUnManage,
|
|
|
deviceCode: this.deviceCode || '', //设备编号
|
|
|
putInCode: this.putInCode || '', //投放编号
|
|
|
+ equipmentCode: this.equipmentCode || '', //资产编号
|
|
|
};
|
|
|
}
|
|
|
|
|
|
@@ -5333,15 +5362,19 @@ export default {
|
|
|
border-radius: 5px;
|
|
|
position: relative;
|
|
|
overflow: hidden;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
.vertical {
|
|
|
background-color: #2b2f3a;
|
|
|
height: 14px;
|
|
|
width: 8px;
|
|
|
border-radius: 40px;
|
|
|
- position: absolute;
|
|
|
+ margin-right: 10px;
|
|
|
+ /* position: absolute;
|
|
|
left: -3px;
|
|
|
- top: 50px;
|
|
|
+ top: 50px; */
|
|
|
}
|
|
|
.van-f-red {
|
|
|
color: red;
|