|
|
@@ -62,13 +62,11 @@
|
|
|
</view>
|
|
|
|
|
|
<!-- 操作按钮 -->
|
|
|
- <view class="button-section">
|
|
|
- <button class="express-button query-button" @click="queryDeliveryFee">
|
|
|
+ <view class="button-section" style="display: flex; justify-content: center; gap: 50rpx;">
|
|
|
+ <button class="admin-button-com blue big" @click="queryDeliveryFee">
|
|
|
查运费
|
|
|
</button>
|
|
|
- <button class="express-button submit-button" @click="submitExpress">
|
|
|
- 提交
|
|
|
- </button>
|
|
|
+ <button class="admin-button-com blue big" style="padding: 0 30rpx; display: flex; align-items: center; justify-content: center;" @click="submitExpress">提交</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -83,7 +81,6 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
orderId: '',
|
|
|
- isNew: 0, // 0: 重新配送, 1: 首次配送
|
|
|
orderInfo: null,
|
|
|
// 配送表单数据
|
|
|
expressForm: {
|
|
|
@@ -111,7 +108,6 @@ export default {
|
|
|
onLoad(options) {
|
|
|
if (options.orderId) {
|
|
|
this.orderId = options.orderId
|
|
|
- this.isNew = options.isNew
|
|
|
}
|
|
|
|
|
|
//返回上一页时刷新
|
|
|
@@ -234,8 +230,7 @@ export default {
|
|
|
user_address: this.expressForm.user_address,
|
|
|
user_lng: this.expressForm.user_lng,
|
|
|
user_lat: this.expressForm.user_lat,
|
|
|
- note: this.expressForm.note,
|
|
|
- isNew: this.isNew
|
|
|
+ note: this.expressForm.note
|
|
|
}
|
|
|
const res = await createExpressOrder(data)
|
|
|
if (res.code === 1) {
|