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