shish il y a 3 ans
Parent
commit
181c4fba9b

+ 2 - 5
hdApp/src/pagesPurchase/refund.vue

@@ -73,8 +73,7 @@
 			<view class="flex refund-item">
 				<view class="refund-label">审核结果:</view>
 				<view class="list">
-					<button class="admin-button-com big default" @click="noticeMe()" v-if="needNotice == 0">点我开启通知</button>
-					<button class="admin-button-com big blue" v-else>已经开启通知</button>
+					<button class="admin-button-com big default" @click="noticeMe()">点我开启通知</button>
 				</view>
 			</view>
 			<!-- #endif -->
@@ -110,8 +109,7 @@ export default {
 			unClear:[],
 			refundImgData:[],
 			uploadRefundImg:[],
-			headers:{token:''},
-			needNotice:0
+			headers:{token:''}
 		};
 	},
 	onLoad() {
@@ -147,7 +145,6 @@ export default {
 				uni.requestSubscribeMessage({
 					tmplIds: [this.getDictionariesInfo.hdMiniMessage.afterSale.msgId],
 					success(res) {
-						that.needNotice = 1
 						console.log(res)
 					},
 					fail(err) {

+ 4 - 1
hdApp/src/pagesPurchase/refundDetail.vue

@@ -41,7 +41,10 @@
               {{ refundData.info.status==0?'待审核':refundData.info.status==1?'已通过':refundData.info.status==2?'已驳回':refundData.info.status==3?'已取消':'' }}
             </div>
 					</tui-list-cell>
-
+          <tui-list-cell class="line-cell" :hover="false" v-if="refundData.info.rejectReason !=''">
+            <div class="tui-title">原因</div>
+            <div class="detail-price_box">{{ refundData.info.rejectReason }}</div>
+          </tui-list-cell>
           <tui-list-cell class="line-cell" :hover="false" v-if="refundData.info.remark !=''">
             <div class="tui-title">备注</div>
             <div class="detail-price_box">{{ refundData.info.remark }}</div>