Commit c2674838 by zhangquan

修改字段

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