|
|
<template>
|
|
|
<LayoutApp :title="title">
|
|
|
<div class="order-page">
|
|
|
<div class="title">出售</div>
|
|
|
<div class="product">
|
|
|
<ImgSize class="pro-img" :src="noEntryOrderInfo.goodsInfo.goodImg || ''" :width="200" :height="200"></ImgSize>
|
|
|
<div class="pro-info">
|
...
|
...
|
@@ -99,7 +98,7 @@ export default { |
|
|
components: {Modal, InputUfo, ScrollView, LayoutApp, ImgSize, Checkbox},
|
|
|
data() {
|
|
|
return {
|
|
|
title: '',
|
|
|
title: '调价',
|
|
|
platformFeeModalVisible: false,
|
|
|
platformFee: {
|
|
|
amount: '-¥0',
|
...
|
...
|
@@ -239,12 +238,35 @@ export default { |
|
|
* @returns {Promise<void>}
|
|
|
*/
|
|
|
async onPriceChangeConfirm({price, skup}) {
|
|
|
const that = this;
|
|
|
const result = await this.postNoEntryChangePrice({
|
|
|
price,
|
|
|
skup
|
|
|
});
|
|
|
|
|
|
console.log(result);
|
|
|
if (result.code === 200 && result.data.orderCode) {
|
|
|
console.log(result);
|
|
|
this.$createOrderPayType({
|
|
|
orderCode: result.data.orderCode,
|
|
|
price: price,
|
|
|
desc: '保证金',
|
|
|
onCloseAction() {
|
|
|
that.$router.replace({
|
|
|
name: 'PriceChangeEntry',
|
|
|
params: {
|
|
|
orderId: result.data.productId
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
}).show();
|
|
|
} else {
|
|
|
this.$createToast({
|
|
|
txt: result.message || '调价失败',
|
|
|
type: 'txt'
|
|
|
}).show();
|
|
|
}
|
|
|
|
|
|
// console.log(result);
|
|
|
}
|
|
|
}
|
|
|
};
|
...
|
...
|
@@ -524,17 +546,22 @@ export default { |
|
|
}
|
|
|
|
|
|
.submit-button {
|
|
|
position: relative;
|
|
|
width: 100%;
|
|
|
height: 100px;
|
|
|
background-color: #ccc;
|
|
|
|
|
|
button {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
display: block;
|
|
|
width: 670px;
|
|
|
height: 88px;
|
|
|
border-radius: 60px;
|
|
|
margin: 0 auto;
|
|
|
color: #fff;
|
|
|
background-color: #ccc;
|
|
|
border: none;
|
|
|
}
|
|
|
|
|
|
&.active {
|
|
|
&.active button{
|
|
|
background-color: #0c2b48;
|
|
|
}
|
|
|
}
|
...
|
...
|
|