|
|
@@ -26,7 +26,7 @@
|
|
26
|
26
|
@click="handlePasteRecognition(recognitionContent)"></u-button>
|
|
27
|
27
|
</view>
|
|
28
|
28
|
</u-form-item>
|
|
29
|
|
- <u-form-item :label="'商品图片(' + (formData.goodPicFileList.length || 0) + '张)'" required prop="goodPicFileList" borderBottom>
|
|
|
29
|
+ <u-form-item :label="'商品图片(' + (formData.goodPicFileList.length || 0) + '张)'" required borderBottom>
|
|
30
|
30
|
<view class="imgs_scroll">
|
|
31
|
31
|
<ImgsRowScroll v-if="formData.goodPicFileList.length > 0" :isShowDeleteIcon="true"
|
|
32
|
32
|
@deleteImgInfo="getDeleteGoodPicInfo" imgMode="aspectFill" :totalWidth="400"
|
|
|
@@ -162,6 +162,11 @@
|
|
162
|
162
|
@tabChange="handleTabChangeRecycleType">
|
|
163
|
163
|
</TabSelect>
|
|
164
|
164
|
</u-form-item>
|
|
|
165
|
+ <u-form-item label="回收情况" borderBottom>
|
|
|
166
|
+ <TabSelect :tabList="recycleSituationList" :colNum="5" mode="single" :isClear="recycleSituationIsClear" :echoInfo="echoInfoRecycleSituation"
|
|
|
167
|
+ @tabChange="handleTabChangeRecycleSituation">
|
|
|
168
|
+ </TabSelect>
|
|
|
169
|
+ </u-form-item>
|
|
165
|
170
|
<u-form-item label="标签" borderBottom>
|
|
166
|
171
|
<TabSelect :tabList="labelList" :colNum="5" mode="single" :isClear="labelIsClear" :echoInfo="echoInfoLabel"
|
|
167
|
172
|
@tabChange="handleTabChangeLabel">
|
|
|
@@ -271,7 +276,7 @@ import ImgsRowScroll from '@/components/imgs-row-scroll/index.vue'
|
|
271
|
276
|
import PersonPicker from '@/components/person-picker/index.vue'
|
|
272
|
277
|
import { permissionCheck,getRoles } from '@/utils/util.js'
|
|
273
|
278
|
import moreInfo from './moreInfo.vue'
|
|
274
|
|
-import { productConditionList,productAttributeList,stockStatusList,recycleTypeList,labelList,paymentTabList } from '../js/public.js'
|
|
|
279
|
+import { productConditionList,productAttributeList,stockStatusList,recycleTypeList,labelList,paymentTabList,recycleSituationList } from '../js/public.js'
|
|
275
|
280
|
export default {
|
|
276
|
281
|
components: {
|
|
277
|
282
|
TabSelect,
|
|
|
@@ -319,6 +324,7 @@ export default {
|
|
319
|
324
|
identifyingPersonId: '',
|
|
320
|
325
|
stockStatus: '0',
|
|
321
|
326
|
recycleType: '',
|
|
|
327
|
+ recycleSituation: '0',
|
|
322
|
328
|
recyclePerson: '',
|
|
323
|
329
|
recyclePersonId: '',
|
|
324
|
330
|
recycleBottomDesc: '',
|
|
|
@@ -376,6 +382,7 @@ export default {
|
|
376
|
382
|
productConditionIsClear: false,//商品成色是否清空
|
|
377
|
383
|
productAttributeIsClear: false,//商品属性是否清空
|
|
378
|
384
|
recycleTypeIsClear: false,//回收类型是否清空
|
|
|
385
|
+ recycleSituationIsClear: false,//回收情况是否清空
|
|
379
|
386
|
stockStatusIsClear: false,//是否入库是否清空
|
|
380
|
387
|
labelIsClear: false,//商品标签是否清空
|
|
381
|
388
|
payTypeIsClear: false,//付款方式是否清空
|
|
|
@@ -386,6 +393,7 @@ export default {
|
|
386
|
393
|
echoInfoProductAttribute:'',//入库回显的时候 商品属性回显
|
|
387
|
394
|
echoInfoProductCondition:'',//入库回显的时候 商品成色回显
|
|
388
|
395
|
echoInfoStockStatus:'',//入库回显的时候 是否入库回显
|
|
|
396
|
+ echoInfoRecycleSituation:'0',//入库回显的时候 回收情况回显
|
|
389
|
397
|
isWareHouser: permissionCheck('WAREHOUSER',false),
|
|
390
|
398
|
formType: '',//表单类型 add:新增 edit:编辑
|
|
391
|
399
|
xhlSystemSetList: [],//系统设置-列表
|
|
|
@@ -395,6 +403,7 @@ export default {
|
|
395
|
403
|
recycleTypeList: recycleTypeList,
|
|
396
|
404
|
labelList: labelList,
|
|
397
|
405
|
paymentTabList: paymentTabList,
|
|
|
406
|
+ recycleSituationList: recycleSituationList,
|
|
398
|
407
|
moreOptions: {},
|
|
399
|
408
|
|
|
400
|
409
|
}
|
|
|
@@ -425,6 +434,7 @@ export default {
|
|
425
|
434
|
this.formData.price = res.data.price || 0//官方指导价校验
|
|
426
|
435
|
this.echoInfoPayType = res.data.payType//付款方式回显
|
|
427
|
436
|
this.echoInfoRecycleType = res.data.recycleType//回收类型回显
|
|
|
437
|
+ this.echoInfoRecycleSituation = res.data.recycleSituation || '0'//回收情况回显
|
|
428
|
438
|
this.echoInfoLabel = res.data.label//商品标签回显
|
|
429
|
439
|
this.recognitionContent = `品牌:${res.data.dictLabel || '-'}
|
|
430
|
440
|
来源:${res.data.origin || '-'}
|
|
|
@@ -570,6 +580,7 @@ export default {
|
|
570
|
580
|
identifyingPersonId: '',
|
|
571
|
581
|
stockStatus: '0',
|
|
572
|
582
|
recycleType: '',
|
|
|
583
|
+ recycleSituation: '0',
|
|
573
|
584
|
label: '',
|
|
574
|
585
|
recyclePerson: '',
|
|
575
|
586
|
recyclePersonId: '',
|
|
|
@@ -654,6 +665,10 @@ export default {
|
|
654
|
665
|
handleTabChangeRecycleType(e) {
|
|
655
|
666
|
this.formData.recycleType = e;
|
|
656
|
667
|
},
|
|
|
668
|
+ // 回收情况
|
|
|
669
|
+ handleTabChangeRecycleSituation(e) {
|
|
|
670
|
+ this.formData.recycleSituation = e;
|
|
|
671
|
+ },
|
|
657
|
672
|
// 商品标签
|
|
658
|
673
|
handleTabChangeLabel(e) {
|
|
659
|
674
|
this.formData.label = e;
|