fix(ggmx): 商品配置规格明细-上架状态禁止为空
This commit is contained in:
parent
5b69940794
commit
ae454fdbc9
|
@ -91,7 +91,7 @@
|
|||
</el-col>
|
||||
|
||||
<el-col :span="2">
|
||||
<el-select v-model="item.sj" clearable :disabled="methods == 0">
|
||||
<el-select v-model="item.sj" :disabled="methods == 0">
|
||||
<el-option
|
||||
v-for="item in agreeList"
|
||||
:key="item.val"
|
||||
|
@ -247,7 +247,6 @@
|
|||
<template slot-scope="scope">
|
||||
<el-select
|
||||
v-model="scope.row.isPutOn"
|
||||
clearable
|
||||
:disabled="methods == 0"
|
||||
>
|
||||
<el-option
|
||||
|
@ -882,6 +881,7 @@ export default {
|
|||
)
|
||||
})
|
||||
this.goodList.forEach((item) => {
|
||||
item.sj = this.agreeList[0].val
|
||||
if (item.showList) {
|
||||
item.showList.forEach((ctm) => {
|
||||
this.$set(ctm, 'productPrice', 0)
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
</el-col>
|
||||
|
||||
<el-col :span="2">
|
||||
<el-select v-model="item.sj" clearable size="medium">
|
||||
<el-select v-model="item.sj" size="medium">
|
||||
<el-option
|
||||
v-for="item in agreeList"
|
||||
:key="item.val"
|
||||
|
@ -246,7 +246,7 @@
|
|||
:label="'上架状态'"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<el-select v-model="scope.row.isPutOn" clearable size="medium">
|
||||
<el-select v-model="scope.row.isPutOn" size="medium">
|
||||
<el-option
|
||||
v-for="item in agreeList"
|
||||
:key="item.val"
|
||||
|
@ -323,7 +323,7 @@ export default {
|
|||
specsList: [],
|
||||
price: '',
|
||||
productAchieve: '',
|
||||
sj: '',
|
||||
sj: 0,
|
||||
xs: '',
|
||||
integral: '',
|
||||
assAchieve: ''
|
||||
|
@ -608,6 +608,7 @@ export default {
|
|||
}
|
||||
})
|
||||
this.goodList.forEach((item) => {
|
||||
item.sj = this.agreeList[0].val
|
||||
if (item.showList) {
|
||||
item.showList.forEach((cld) => {
|
||||
cld.specsIdList = [
|
||||
|
|
Loading…
Reference in New Issue