Authored by 陈峰

change price add params: skupType

... ... @@ -71,10 +71,14 @@ export default {
},
methods: {
onNoSale() {
this.$emit('on-no-sale', this.value.goodsInfo);
this.$emit('on-no-sale', Object.assign({
isAdvance: this.value.isAdvance
}, this.value.goodsInfo));
},
onChgPrice() {
this.$emit('on-change-price', this.value.goodsInfo);
this.$emit('on-change-price', Object.assign({
isAdvance: this.value.isAdvance
}, this.value.goodsInfo));
},
onTouchStart(evt) {
const {clientX, clientY} = evt.touches[0];
... ...
... ... @@ -159,7 +159,8 @@ export default {
storage_id: skc.storageId,
new_price: price,
old_price: skc.price,
num: skc.storageNum
num: skc.storageNum,
skupType: skc.isAdvance === 'Y' ? 4 : 1
});
if (result && result.code === 200) {
... ... @@ -181,7 +182,8 @@ export default {
product_id: this.productInfo.productId,
storage_id: skc.storageId,
old_price: skc.price,
num: num
num: num,
skupType: skc.isAdvance === 'Y' ? 4 : 1
});
if (result.code === 200) {
... ...