|
|
@@ -52,7 +52,7 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 配送费用显示 -->
|
|
|
- <view class="form-section" v-if="deliveryFee">
|
|
|
+ <view class="form-section">
|
|
|
<view class="fee-display">
|
|
|
<text class="fee-label">配送费用:</text>
|
|
|
<text class="fee-amount">¥{{ deliveryFee }}</text>
|
|
|
@@ -69,11 +69,11 @@
|
|
|
|
|
|
<!-- 操作按钮 -->
|
|
|
<view class="button-section">
|
|
|
- <button class="express-button query-button" @click="queryDeliveryFee" :disabled="isQuerying">
|
|
|
- {{ isQuerying ? '查询中...' : '查运费' }}
|
|
|
+ <button class="express-button query-button" @click="queryDeliveryFee">
|
|
|
+ 查运费
|
|
|
</button>
|
|
|
- <button class="express-button submit-button" @click="submitExpress" :disabled="isSubmitting">
|
|
|
- {{ isSubmitting ? '提交中...' : '提交' }}
|
|
|
+ <button class="express-button submit-button" @click="submitExpress">
|
|
|
+ 提交
|
|
|
</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -111,9 +111,6 @@ export default {
|
|
|
},
|
|
|
// 配送费用
|
|
|
deliveryFee: 0,
|
|
|
- // 状态控制
|
|
|
- isQuerying: false,
|
|
|
- isSubmitting: false,
|
|
|
refreshPage:0
|
|
|
}
|
|
|
},
|
|
|
@@ -193,7 +190,6 @@ export default {
|
|
|
this.$msg('收货地址不能为空')
|
|
|
return
|
|
|
}
|
|
|
- this.isQuerying = true
|
|
|
const data = {
|
|
|
orderId: this.orderId,
|
|
|
price: this.expressForm.price,
|
|
|
@@ -239,7 +235,6 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
this.$util.confirmModal({content: '确认呼叫跑腿?'}, async () => {
|
|
|
- this.isSubmitting = true
|
|
|
const data = {
|
|
|
orderId: this.orderId,
|
|
|
weight: Number(this.expressForm.weight),
|