فهرست منبع

feature_20260115_直发类色卡销售发放时必须拍照

zhujindu 1 هفته پیش
والد
کامیت
49d6b7d83b
2فایلهای تغییر یافته به همراه8 افزوده شده و 3 حذف شده
  1. 6 2
      src/components/uploadWLImg.vue
  2. 2 1
      src/views/deviceWithin/addStoreVisit.vue

+ 6 - 2
src/components/uploadWLImg.vue

@@ -151,7 +151,7 @@ export default {
         taskId: that.taskId,
         visitsId: localStorage.getItem('visitId'),
         visitModel: that.visitModel,
-        visitSource: '2',
+        visitSource: '1',
         locationRemark: addressesRemark,
       };
       var loind1 = that.$toast.loading({
@@ -163,7 +163,11 @@ export default {
         if (res.code == 200) {
           loind1.clear();
           that.$toast('上传成功!');
-          that.$emit('newimgarr', { fileUrl: res.data[0].url, id: res.data[0].fileId, type: 2 });
+          that.$emit('uploadWLImgClick', {
+            fileUrl: res.data[0].url,
+            id: res.data[0].fileId,
+            type: 2,
+          });
         } else {
           that.$toast('上传失败!');
         }

+ 2 - 1
src/views/deviceWithin/addStoreVisit.vue

@@ -51,7 +51,8 @@
             :imgArr="wuliaoPhotoImg"
             @uploadWLImgClick="uploadWLImgClick"
             :visitsId="visitId"
-            :taskId="taskId"></uploadWLImg>
+            :taskId="taskId"
+            :storeGroupId="storeGroupId"></uploadWLImg>
         </div>
       </div>
       <el-table