|
@@ -215,6 +215,7 @@ export default {
|
|
|
...this.Data,
|
|
...this.Data,
|
|
|
address_id: this.DefaultAddress.id,
|
|
address_id: this.DefaultAddress.id,
|
|
|
trade_type: type,
|
|
trade_type: type,
|
|
|
|
|
+ price:this.goodsInfo.cost_price
|
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
|
if (res.code === 0) {
|
|
if (res.code === 0) {
|
|
|
if (res.data.length !== 0) {
|
|
if (res.data.length !== 0) {
|
|
@@ -244,6 +245,8 @@ export default {
|
|
|
else this.goto("/pages/account/consignment");
|
|
else this.goto("/pages/account/consignment");
|
|
|
}, 1500);
|
|
}, 1500);
|
|
|
}
|
|
}
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.loadData(this.Data)
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|