Ver código fonte

Merge branch 'master' of http://106.52.242.177:3000/askqvn/crm-app

zhangxin 1 mês atrás
pai
commit
8a06a1013a

+ 6 - 6
pages/wareHouse/components/add.vue

@@ -166,9 +166,9 @@
166
                             <u--textarea v-model="formData.recycleBottomDesc" clearable count autoHeight maxlength="250"
166
                             <u--textarea v-model="formData.recycleBottomDesc" clearable count autoHeight maxlength="250"
167
                                 height="100" confirmType="done"></u--textarea>
167
                                 height="100" confirmType="done"></u--textarea>
168
                             <view class="imgs_scroll">
168
                             <view class="imgs_scroll">
169
-                                <ImgsRowScroll v-if="formData.recycleBottomPicList.length > 0" :isShowDeleteIcon="true"
169
+                                <ImgsRowScroll v-if="formData.recycleBottomFileList.length > 0" :isShowDeleteIcon="true"
170
                                     @deleteImgInfo="getDeleteRecycleBottomPicInfo" imgMode="aspectFill"
170
                                     @deleteImgInfo="getDeleteRecycleBottomPicInfo" imgMode="aspectFill"
171
-                                    :totalWidth="400" :images="formData.recycleBottomPicList" :previewEnabled="true"
171
+                                    :totalWidth="400" :images="formData.recycleBottomFileList" :previewEnabled="true"
172
                                     :imageWidth="150" :imageHeight="150"></ImgsRowScroll>
172
                                     :imageWidth="150" :imageHeight="150"></ImgsRowScroll>
173
                                 <u-upload @afterRead="afterReadRecycleBottom" name="1" multiple :maxCount="1"
173
                                 <u-upload @afterRead="afterReadRecycleBottom" name="1" multiple :maxCount="1"
174
                                     accept="image"></u-upload>
174
                                     accept="image"></u-upload>
@@ -300,7 +300,7 @@ export default {
300
                 recyclePerson: '',
300
                 recyclePerson: '',
301
                 recyclePersonId: '',
301
                 recyclePersonId: '',
302
                 recycleBottomDesc: '',
302
                 recycleBottomDesc: '',
303
-                recycleBottomPicList: [],//回收留底图
303
+                recycleBottomFileList: [],//回收留底图
304
                 recycleTime: this.$dayjs().format('YYYY-MM-DD'),
304
                 recycleTime: this.$dayjs().format('YYYY-MM-DD'),
305
                 indentifyCode: '',
305
                 indentifyCode: '',
306
                 targetAudience: '',
306
                 targetAudience: '',
@@ -528,7 +528,7 @@ export default {
528
                 recyclePerson: '',
528
                 recyclePerson: '',
529
                 recyclePersonId: '',
529
                 recyclePersonId: '',
530
                 recycleBottomDesc: '',
530
                 recycleBottomDesc: '',
531
-                recycleBottomPicList: [],//回收留底图
531
+                recycleBottomFileList: [],//回收留底图
532
                 recycleTime: this.$dayjs().format('YYYY-MM-DD'),
532
                 recycleTime: this.$dayjs().format('YYYY-MM-DD'),
533
                 indentifyCode: '',
533
                 indentifyCode: '',
534
                 targetAudience: '',
534
                 targetAudience: '',
@@ -674,13 +674,13 @@ export default {
674
         },
674
         },
675
         // 获取删除回收留底图信息
675
         // 获取删除回收留底图信息
676
         getDeleteRecycleBottomPicInfo(info) {
676
         getDeleteRecycleBottomPicInfo(info) {
677
-            this.formData.recycleBottomPicList = info.newImages
677
+            this.formData.recycleBottomFileList = info.newImages
678
         },
678
         },
679
         // 新增回收留底图
679
         // 新增回收留底图
680
         async afterReadRecycleBottom(event) {
680
         async afterReadRecycleBottom(event) {
681
             event.file.forEach(item => {
681
             event.file.forEach(item => {
682
                 uni.$u.api.uploadFile(item.url).then((res) => {
682
                 uni.$u.api.uploadFile(item.url).then((res) => {
683
-                    this.formData.recycleBottomPicList.push(res.data.url);
683
+                    this.formData.recycleBottomFileList.push(res.data.url);
684
                     uni.$u.toast("文件上传成功");
684
                     uni.$u.toast("文件上传成功");
685
                 }).catch(() => {
685
                 }).catch(() => {
686
                     uni.$u.toast("上传文件失败");
686
                     uni.$u.toast("上传文件失败");

+ 1 - 1
pages/wareHouse/components/searchFilter.vue

@@ -65,7 +65,7 @@ export default {
65
                 recyclePersonId: '',
65
                 recyclePersonId: '',
66
                 identifyingPerson:'',
66
                 identifyingPerson:'',
67
                 identifyingPersonId: '',
67
                 identifyingPersonId: '',
68
-                productAttribute: '',
68
+                productAttribute: [],
69
             },
69
             },
70
             recycleTimeDefault: new Date().getTime(),
70
             recycleTimeDefault: new Date().getTime(),
71
             recycleTimeShow: false,
71
             recycleTimeShow: false,