shish hai 10 meses
pai
achega
19e92695a5

+ 3 - 0
ghsApp/src/pagesOrder/refundDetail.vue

@@ -86,6 +86,9 @@
 		<view style="text-align:center;" v-if="info.status==1">
 			<button class="admin-button-com big blue" style="margin:20upx auto 10upx auto;width:50%;" @click="goWaste()">去报损</button>
 		</view>
+		<view style="text-align:center;" v-if="info.status==1">
+			<button class="admin-button-com big blue" style="margin:20upx auto 10upx auto;width:50%;" @click="goWaste()">去减库存</button>
+		</view>
 		<view style="text-align:center;">
 			<button class="admin-button-com big default" style="margin:30upx auto 10upx auto;width:50%;" @click="goBack()">返回</button>
 		</view>

+ 3 - 3
ghsApp/src/pagesOrder/refundSuccess.vue

@@ -4,7 +4,7 @@
     <view v-if="!$util.isEmpty(itemList)" style="margin-top:20upx;">
       <block v-for="(item, index) in itemList" :key="index">
         <view style="text-align:center;margin-bottom:10upx;">
-          <text style="font-size:32upx;">
+          <text style="font-size:32upx;" @click="pageTo({url:'/admin/item/detail?id='+item.productId})">
             {{item.name}} <text style="color:#3385FF;margin-left:8upx;">已退{{item.xhNum}}{{item.xhUnitName}}</text>
           </text>
           <view style="margin-top:10upx;" v-if="Number(item.xhWasteNum)>0">
@@ -17,8 +17,8 @@
             已减库存{{item.xhReduceNum}}{{item.xhUnitName}}
             </text>
           </view>
-          <view style="margin-top:10upx;margin-bottom:10upx;color:#ad760d;font-size:30upx;" v-if="item.refundOptionId!=0">{{ item.refundOptionName }}</view>
-          <view style="width:100%;">
+          <view style="margin-top:10upx;color:#ad760d;font-size:30upx;" v-if="item.refundOptionId!=0">{{ item.refundOptionName }}</view>
+          <view style="width:100%;margin-top:16upx;">
             <button class="admin-button-com middle" style="width:160upx;" @click="selOption(item)">售后原因</button>
             <button class="admin-button-com middle" style="margin-left:10upx;width:140upx;" @click="beginReduce(item)">减库存</button>
             <button class="admin-button-com middle" style="width:150upx;margin-left:10upx;" @click="beginWastage(item)" v-if="item.xhUnitType == 0">报损</button>