Commit c2674838 by zhangquan

修改字段

1 parent e9e9da4a
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
method: '2', method: '2',
goodsType: '2', goodsType: '2',
expressFee: '', expressFee: '',
commerceVideo: '', tencentcloudMediaId: '',
commerceDescribe: '', commerceDescribe: '',
smartcarlifeInfoId: '', smartcarlifeInfoId: '',
goodsName: '', goodsName: '',
...@@ -226,7 +226,7 @@ export default { ...@@ -226,7 +226,7 @@ export default {
}, },
{ {
label: '带货视频', label: '带货视频',
name: 'commerceVideo', name: 'tencentcloudMediaId',
type: 'select', type: 'select',
optionList:[], optionList:[],
optionId: 'id', optionId: 'id',
...@@ -288,7 +288,7 @@ export default { ...@@ -288,7 +288,7 @@ export default {
} }
}, },
watch: { watch: {
'formObj.commerceVideo':{ 'formObj.tencentcloudMediaId':{
handler(nVal, oVal){ handler(nVal, oVal){
const _target = this.formData.find(item => item.name == 'commerceDescribe') const _target = this.formData.find(item => item.name == 'commerceDescribe')
_target.isHide = !nVal _target.isHide = !nVal
...@@ -335,7 +335,7 @@ export default { ...@@ -335,7 +335,7 @@ export default {
getVideoList(){ getVideoList(){
this.$apis.case.getVideoListApi({pageSize: 10000, currentPage: 1, status: 1}).then(res => { this.$apis.case.getVideoListApi({pageSize: 10000, currentPage: 1, status: 1}).then(res => {
if(res?.list?.length) { if(res?.list?.length) {
const _target = this.formData.find(item => item.name == 'commerceVideo') const _target = this.formData.find(item => item.name == 'tencentcloudMediaId')
_target.optionList = res.list _target.optionList = res.list
} }
}) })
...@@ -435,7 +435,7 @@ export default { ...@@ -435,7 +435,7 @@ export default {
this.formObj[key] = res[key] this.formObj[key] = res[key]
} }
} }
this.formObj.commerceVideo = this.formObj.commerceVideo ? +this.formObj.commerceVideo : '' this.formObj.tencentcloudMediaId = this.formObj.tencentcloudMediaId ? +this.formObj.tencentcloudMediaId : ''
this.curCategoryInfo = { this.curCategoryInfo = {
categoryName: res.associationClassifySecondName, categoryName: res.associationClassifySecondName,
id: res.associationClassifySecondId id: res.associationClassifySecondId
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!