shish 5 лет назад
Родитель
Сommit
e0ed4b91aa

+ 12 - 0
ghsApp/src/pagesStorehouse/stockWarn/manage.vue

@@ -117,7 +117,19 @@ export default {
 			this.initData({ type, shopId: this.shopId,status:0});
 		}
 	},
+	onPullDownRefresh() {
+			this.page = 1
+			this.filterProductInfoContrapose = []
+			let type = this.tabs[this.tabIndex].key == STOCK_TYPE.WARN ? "waring" : "";
+			this.shopId = this.getMyShopInfo.id;
+			if(type=="waring"){
+				this.initDataContrapose({ type, shopId: this.shopId,status:0});
+			}else{
+				this.initData({ type, shopId: this.shopId,status:0});
+			}
+	},
 	onShow(){
+		this.page = 1
 		this.filterProductInfoContrapose = []
 		let type = this.tabs[this.tabIndex].key == STOCK_TYPE.WARN ? "waring" : "";
 		this.shopId = this.getMyShopInfo.id;

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

@@ -19,7 +19,7 @@
       <view class="item-info">
         <view class="info-row">
           <text class="info-label"> 日期:</text>
-          <text class="info-value">{{ info.addTime }} </text>
+          <text class="info-value">{{ info.addTime }} <text v-if="info.refund == 2" style="color:red;font-weight:bold;margin-left:10rpx;">有退款</text></text>
         </view>
         <view class="info-row">
           <text class="info-label"> 单号:</text>

+ 10 - 0
hdApp/src/pagesPurchase/purDetails.vue

@@ -78,6 +78,16 @@
 						:'已退款'
 						 }}</view>
         </view>
+
+        <view v-if="detailInfo.refund == 2" class="order-info_box">
+          <view>有退款:</view>
+          <view style="color:red;font-weight:bold;font-size:30rpx;">是</view>
+        </view>
+        <view v-if="detailInfo.refund == 2" class="order-info_box">
+          <view>退款金额:</view>
+          <view style="color:red;font-weight:bold;font-size:30rpx;">{{detailInfo.refundPrice}}</view>
+        </view>
+
       </view>
       <view
         class="module-com content-box proInfo distribution"