|
|
@@ -244,6 +244,8 @@
|
|
|
@select="select"
|
|
|
@cancel="cancels"
|
|
|
>
|
|
|
+ <van-field required="true" border="true" label="物流单号" :value="order" @input="order = $event.detail">
|
|
|
+ </van-field>
|
|
|
</van-action-sheet>
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -259,7 +261,9 @@ export default {
|
|
|
cardCaseInfo: {},
|
|
|
total: '',
|
|
|
tradeId: '',
|
|
|
+ logisticNo: '',
|
|
|
value: '',
|
|
|
+ order: '',
|
|
|
addressList: [],
|
|
|
name: '',
|
|
|
orderInfoId: '',
|
|
|
@@ -481,7 +485,7 @@ export default {
|
|
|
refund() {
|
|
|
wx.showModal({
|
|
|
title: '提示',
|
|
|
- content: '确定同意退款?',
|
|
|
+ content: '确定同意退款吗?',
|
|
|
success: res => {
|
|
|
if (res.confirm) {
|
|
|
this.$http
|
|
|
@@ -504,11 +508,11 @@ export default {
|
|
|
select(e) {
|
|
|
this.time = e.detail;
|
|
|
this.value = this.time.value;
|
|
|
- // console.log(this.value);
|
|
|
+ this.logisticNo = this.order;
|
|
|
this.showLoading();
|
|
|
this.$http
|
|
|
.post('orderInfo/send', {
|
|
|
- logisticNo: 'SF1102671764014',
|
|
|
+ logisticNo: this.logisticNo,
|
|
|
type: this.value,
|
|
|
orderInfoId: this.orderInfoId,
|
|
|
remark: ''
|
|
|
@@ -522,13 +526,12 @@ export default {
|
|
|
setTimeout(() => {
|
|
|
this.getFn();
|
|
|
}, 1000);
|
|
|
- // console.log(res);
|
|
|
})
|
|
|
.catch(e => {
|
|
|
this.hideLoading();
|
|
|
wx.showToast({
|
|
|
icon: 'none',
|
|
|
- title: '没有此订单',
|
|
|
+ title: '填写正确物流单号',
|
|
|
duration: 2000
|
|
|
});
|
|
|
});
|