shish пре 2 година
родитељ
комит
a187f93768
2 измењених фајлова са 17 додато и 0 уклоњено
  1. 13 0
      ghsApp/src/admin/billing/affirm.vue
  2. 4 0
      ghsApp/src/pagesOrder/detail.vue

+ 13 - 0
ghsApp/src/admin/billing/affirm.vue

@@ -190,6 +190,14 @@
             </picker>
           </tui-list-cell>
 
+					<tui-list-cell class="line-cell" :hover="false" :arrow="true">
+						<view class="tui-title">历史日期</view>
+						<picker mode="date" :value="form.historyDate" @change="bindHistoryDateChange" style="width:400upx;">
+							<view class="uni-input" v-if="form.historyDate==''" style="color:#CCCCCC;">请选择,默认当天</view>
+							<view class="uni-input">{{form.historyDate}}</view>
+						</picker>
+					</tui-list-cell>
+
           <tui-list-cell class="line-cell" :hover="false" :arrow="false">
             <view class="tui-title">备注</view>
 						<textarea style="height: 100upx;z-index:0" v-model="form.remark" placeholder-class="remark-class" placeholder=".." />
@@ -306,6 +314,7 @@ export default {
         sendSide: "2",
         sendDate: "",
         sendTimeWant: "",
+        historyDate:"",
         sendCost: "",
         customId: "",
         packCost:"",
@@ -450,6 +459,10 @@ export default {
   },
   methods: {
     ...mapActions(["initMerchantInfo"]),
+    bindHistoryDateChange(e){
+			let date = e.detail.value
+			this.form.historyDate = date
+    },
 		bindDateChange(e){
 			let date = e.detail.value
 			this.form.sendTimeWant = date

+ 4 - 0
ghsApp/src/pagesOrder/detail.vue

@@ -36,6 +36,10 @@
 					<view>订单日期:</view>
 					<view>{{ detailInfo.addTime?detailInfo.addTime.substr(5,11):'' }}</view>
 				</view>
+				<view class="order-info_box" v-if="detailInfo.payStatus == 1">
+					<view>支付时间:</view>
+					<view>{{ detailInfo.payTime?detailInfo.payTime.substr(5,11):'' }}</view>
+				</view>
 				<view class="order-info_box">
 					<view>订单编号:</view>
 					<view>{{ detailInfo.orderSn }}</view>