shish 3 lat temu
rodzic
commit
2333d7f1c2

+ 1 - 1
hdApp/src/pagesPurchase/purDetails.vue

@@ -267,7 +267,7 @@
         <button class="admin-button-com blue big" @click="toPay">去付款</button>
       </block>
       <block v-else>
-        <button class="admin-button-com default big" @click="refundOrder" style="margin-right:80upx;" v-if="detailInfo.payStatus == 1">申请退款</button>
+        <button class="admin-button-com default big" @click="refundOrder" style="margin-right:80upx;" v-if="detailInfo.payStatus == 1">申请售后</button>
         <button class="admin-button-com blue big" @click="clearOrder" v-if="detailInfo.debt == 1">付款结清</button>
       </block>
 

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

@@ -52,7 +52,7 @@
 			</view>
       <block v-if="refundData.info && refundData.info.smallImgList && !$util.isEmpty(refundData.info.smallImgList)">
         <view style="background-color: white;border-radius: 10upx;height:200upx;">
-          <view style="font-size:26upx;padding-left:20upx;text-align:left;color:#666666;margin-bottom:20upx;padding-top:20upx;">花损图片</view>
+          <view style="font-size:26upx;padding-left:20upx;text-align:left;color:#666666;margin-bottom:20upx;padding-top:20upx;">售后图片</view>
           <view v-for="(itemImg, indexImg) in refundData.info.smallImgList" :key="indexImg">
             <image :src="itemImg" style="width:100upx;height:100upx;float:left;margin-left:20upx;" @click="showBig(indexImg)" mode="widthFix"></image>
           </view>

+ 7 - 4
hdApp/src/pagesPurchase/refundList.vue

@@ -32,13 +32,13 @@ export default {
   },
   onPullDownRefresh() {
     this.resetList();
-    this._list().then((res) => {
+    this.getRefundList().then((res) => {
       uni.stopPullDownRefresh();
     });
   },
   onReachBottom() {
     if (!this.list.finished) {
-      this._list().then((res) => {
+      this.getRefundList().then((res) => {
         uni.stopPullDownRefresh();
       });
     } else {
@@ -51,9 +51,12 @@ export default {
   },
   onShow() {
   	this.resetList();
-    this._list();
+    this.getRefundList();
   },
   methods: {
+    init(){
+
+    },
     goDetail(item){
       if(item.book == 1){
         this.$msg('预订单多退少补')
@@ -61,7 +64,7 @@ export default {
       }
       this.$util.pageTo({url: '/pagesPurchase/refundDetail',query: {id: item.id}})
     },
-    _list() {
+    getRefundList() {
       return cgRefundList({
         page: this.list.page,
         cgId:this.option.id