|
@@ -196,6 +196,7 @@ import {
|
|
|
addCollectionAnswerBatch,
|
|
addCollectionAnswerBatch,
|
|
|
getVisitsDetailPerfectStore,
|
|
getVisitsDetailPerfectStore,
|
|
|
getVisitsDetailPerfectStoreByTaskId,
|
|
getVisitsDetailPerfectStoreByTaskId,
|
|
|
|
|
+ updateDisplayRewardCaseSkuCount,
|
|
|
} from '@/api/index';
|
|
} from '@/api/index';
|
|
|
import taskTips from '@/views/deviceWithin/taskTips';
|
|
import taskTips from '@/views/deviceWithin/taskTips';
|
|
|
import deleteUploadImg from '@/components/deleteUploadImgTaskPhoto';
|
|
import deleteUploadImg from '@/components/deleteUploadImgTaskPhoto';
|
|
@@ -217,6 +218,7 @@ export default {
|
|
|
taskPhotoRecognitionResult: null,
|
|
taskPhotoRecognitionResult: null,
|
|
|
spanArr: [],
|
|
spanArr: [],
|
|
|
editTableFlag: false,
|
|
editTableFlag: false,
|
|
|
|
|
+ editCountArr: [],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
activated() {
|
|
activated() {
|
|
@@ -226,6 +228,7 @@ export default {
|
|
|
this.objectType = this.$route.query.photoType || '';
|
|
this.objectType = this.$route.query.photoType || '';
|
|
|
this.insert = this.$route.query.insert;
|
|
this.insert = this.$route.query.insert;
|
|
|
this.formData = null;
|
|
this.formData = null;
|
|
|
|
|
+ this.editCountArr = [];
|
|
|
this.getVisitsDetailFun();
|
|
this.getVisitsDetailFun();
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -323,6 +326,13 @@ export default {
|
|
|
if (current < original) {
|
|
if (current < original) {
|
|
|
this.$toast('排面数不能小于原始值');
|
|
this.$toast('排面数不能小于原始值');
|
|
|
row.identifyTheNumberOfCards = String(original);
|
|
row.identifyTheNumberOfCards = String(original);
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.editCountArr.push({
|
|
|
|
|
+ taskId: '', // Long 任务id
|
|
|
|
|
+ visitId: '', // Long 拜访id
|
|
|
|
|
+ skuProductCode: '', // String 产品code
|
|
|
|
|
+ editCount: '', // integer 修改产品数字的差值,为正整数。
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
this.$toast('排面数不能为空');
|
|
this.$toast('排面数不能为空');
|