xiaohaizhao 2 years ago
parent
commit
745ab5f481
3 changed files with 4 additions and 5 deletions
  1. 2 2
      packageA/orderForm/modules/item/index.wxml
  2. 1 1
      packageA/orderForm/rows.js
  3. 1 2
      pages/index/index.js

+ 2 - 2
packageA/orderForm/modules/item/index.wxml

@@ -6,7 +6,7 @@
 		产品名称:{{item.itemname||" --"}}
 	</view>
 	<view>
-		数量:{{item.qty ||"0"}}({{item.unit}})
+		数量:{{item.qty ||"0"}}<text wx:if="{{item.unit}}">({{item.unit}})</text>
 	</view>
 	<view wx:if="{{userrole=='经销商'}}">
 		<block wx:if="{{item.qty!='0'}}">
@@ -17,7 +17,7 @@
 		</block>
 	</view>
 	<view>
-		未发货数量:{{item.unsoldqty||"0"}}({{item.unit}})
+		未发货数量:{{item.unsoldqty||"0"}}<text wx:if="{{item.unit}}">({{item.unit}})</text>
 	</view>
 	<view>
 		备注:{{item.remarks||" --"}}

+ 1 - 1
packageA/orderForm/rows.js

@@ -38,7 +38,7 @@ Page({
     if (content.pageNumber > content.pageTotal) return;
     this.setListHeight();
     _Http.basic({
-      "id": 20230508111703,
+      "id": 20231025160203,
       content
     }).then(res => {
       console.log("订单列表", res)

+ 1 - 2
pages/index/index.js

@@ -127,11 +127,10 @@ Page({
 					PageCur: "Market",
 					icon: "work-shangcheng"
 				}, {
-					key: "qOrderBlank",
 					path: "/packageA/orderForm/index",
 					icon: "work-dingdan"
 				}, {
-					name: "订单明细",
+					key: "qOrderBlank",
 					path: "/packageA/orderForm/rows",
 					icon: "work-dingdan"
 				}, {