zhangdan 4 years ago
parent
commit
406d2a8385
2 changed files with 3 additions and 3 deletions
  1. 1 1
      src/views/Service/PurchasedServiceDetail.vue
  2. 2 2
      src/views/Service/yanQiModal.vue

+ 1 - 1
src/views/Service/PurchasedServiceDetail.vue

@@ -7,7 +7,7 @@
 				<detail-list-item term="下单时间">{{ orderBundle.orderDate ? orderBundle.orderDate : '--' }}</detail-list-item>
 				<detail-list-item term="订单状态">{{ palyStatus ? palyStatus :'--' }}</detail-list-item>
 				<detail-list-item term="客户信息">{{ custInfo ? custInfo : '--' }}</detail-list-item>
-				<detail-list-item term="应付金额">{{ orderBundle.totalAmount ? orderBundle.totalAmount :'--' }}</detail-list-item>
+				<detail-list-item term="应付金额">{{ orderBundle.totalAmount ? orderBundle.totalAmount :'--' }}</detail-list-item>
 				<detail-list-item term="支付时间" v-if="isPay">{{ payDate ? payDate : '--' }}</detail-list-item>
 				<detail-list-item term="支付金额" v-if="isPay">¥{{ orderBundle.payedAmount ? orderBundle.payedAmount : '--' }}</detail-list-item>
 			</detail-list>

+ 2 - 2
src/views/Service/yanQiModal.vue

@@ -86,8 +86,8 @@
 		methods:{
 			moment,
 			 // 不可选日期
-			disabledDate(current){
-				return current && current < moment().subtract(1, "days");
+			disabledDate(current) {
+				return current < moment().subtract(1, 'days') ||  current > moment('2038-01-01')
 			},
 			// 重置表单
 			resetForm(){