修复:商品在移动端编辑后 丢失部分规格信息的问题
This commit is contained in:
parent
aac6de1849
commit
89abb85caa
|
|
@ -170,9 +170,7 @@ export default {
|
|||
},
|
||||
video_link: this.addGoodsSecoundData.video_link
|
||||
};
|
||||
|
||||
postData.attrValue = attrValue.filter(item => item != '');
|
||||
|
||||
postData.attrValue = attrValue.filter(item => item != '');
|
||||
if (getStorage('addGoodsFormData').spec_type == 0) {
|
||||
// postData.attr = [getStorage('singleSpecification')];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<select-form :platformClassification="formList" :form="singleSpecification" @input="input"></select-form>
|
||||
<view class="more_than" @click="selectMoreThan" v-if="moreThanFlag">
|
||||
<view>更多</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="handle">
|
||||
<view class="button" @click="saveSingleSpecification">
|
||||
保存
|
||||
|
|
@ -33,7 +33,10 @@
|
|||
volume: '', // 体积
|
||||
image: '',
|
||||
extension_one: '',
|
||||
extension_two: ''
|
||||
extension_two: '',
|
||||
svip_price: '',
|
||||
copy_value_id: '',
|
||||
copy_unique: '',
|
||||
},
|
||||
moreThanFlag: true,
|
||||
formList: [
|
||||
|
|
@ -103,7 +106,7 @@
|
|||
model: 'extension_two'
|
||||
}
|
||||
],
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
|
@ -164,7 +167,7 @@
|
|||
color: #333333;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
|
||||
.handle {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue