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