|
@@ -33,12 +33,18 @@
|
|
|
<view style="color:green;font-weight:bold;">已自动通知</view>
|
|
<view style="color:green;font-weight:bold;">已自动通知</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="order-info_box">
|
|
<view class="order-info_box">
|
|
|
- <view>订单日期:</view>
|
|
|
|
|
|
|
+ <view>创建时间:</view>
|
|
|
<view>{{ detailInfo.addTime?detailInfo.addTime.substr(5,11):'' }}</view>
|
|
<view>{{ detailInfo.addTime?detailInfo.addTime.substr(5,11):'' }}</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="order-info_box" v-if="detailInfo.payStatus == 1">
|
|
<view class="order-info_box" v-if="detailInfo.payStatus == 1">
|
|
|
- <view>支付时间:</view>
|
|
|
|
|
- <view>{{ detailInfo.payTime?detailInfo.payTime.substr(5,11):'' }}</view>
|
|
|
|
|
|
|
+ <view>确认时间:</view>
|
|
|
|
|
+ <view>
|
|
|
|
|
+
|
|
|
|
|
+ <picker mode="date" :value="payDate" @change="updateConfirmTime" style="width:400upx;">
|
|
|
|
|
+ <view class="uni-input">{{ detailInfo.payTime?detailInfo.payTime.substr(5,11):'' }}</view>
|
|
|
|
|
+ </picker>
|
|
|
|
|
+
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="order-info_box">
|
|
<view class="order-info_box">
|
|
|
<view>订单编号:</view>
|
|
<view>订单编号:</view>
|
|
@@ -417,7 +423,7 @@
|
|
|
import { mapGetters } from "vuex";
|
|
import { mapGetters } from "vuex";
|
|
|
import stepStatus from "./components/stepStatus";
|
|
import stepStatus from "./components/stepStatus";
|
|
|
import TuiListCell from "@/components/plugin/list-cell";
|
|
import TuiListCell from "@/components/plugin/list-cell";
|
|
|
-import { getDetail,debtPay,hasPay, freeShipping,confirmFinish,cancel,modifyRemarkFn,orderFh } from "@/api/order";
|
|
|
|
|
|
|
+import { getDetail,debtPay,hasPay, freeShipping,confirmFinish,cancel,modifyRemarkFn,orderFh,modifyOrderConfirmTimeFn } from "@/api/order";
|
|
|
import { getOrderProduct,giveItem } from "@/api/order-item";
|
|
import { getOrderProduct,giveItem } from "@/api/order-item";
|
|
|
import productMins from "@/mixins/product";
|
|
import productMins from "@/mixins/product";
|
|
|
import { ORDER_STATUS } from "@/utils/declare";
|
|
import { ORDER_STATUS } from "@/utils/declare";
|
|
@@ -462,7 +468,8 @@ export default {
|
|
|
fhWlNo:'',
|
|
fhWlNo:'',
|
|
|
fhWl:'顺丰',
|
|
fhWl:'顺丰',
|
|
|
fhWlFocus:false,
|
|
fhWlFocus:false,
|
|
|
- fhLabelShow:false
|
|
|
|
|
|
|
+ fhLabelShow:false,
|
|
|
|
|
+ payDate:''
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
onPullDownRefresh() {
|
|
onPullDownRefresh() {
|
|
@@ -495,6 +502,18 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ updateConfirmTime(e){
|
|
|
|
|
+ let that = this
|
|
|
|
|
+ this.payDate = e.detail.value
|
|
|
|
|
+ that.$util.confirmModal({content:'确认修改?'},() => {
|
|
|
|
|
+ modifyOrderConfirmTimeFn({id:that.detailInfo.id,date:that.payDate}).then(res=>{
|
|
|
|
|
+ if(res.code == 1){
|
|
|
|
|
+ that.$msg(res.msg)
|
|
|
|
|
+ that.init()
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
directFh(info){
|
|
directFh(info){
|
|
|
let that = this
|
|
let that = this
|
|
|
that.$util.confirmModal({content:'确认发货?'},() => {
|
|
that.$util.confirmModal({content:'确认发货?'},() => {
|