|
|
@@ -2901,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>
|
|
|
@@ -3129,6 +3131,7 @@ export default {
|
|
|
maxDate: new Date(),
|
|
|
currentDate: new Date(1945, 0, 1),
|
|
|
continuousShoot: '0',
|
|
|
+ machineInTheStore: '否',
|
|
|
};
|
|
|
},
|
|
|
beforeRouteLeave(to, from, next) {
|
|
|
@@ -4273,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;
|