From 057aa739152c3b0d96c72e4490b9263df155a83b Mon Sep 17 00:00:00 2001
From: xpz2018 <107107461@qq.com>
Date: Fri, 2 Jul 2021 15:37:55 +0800
Subject: [PATCH] no message
---
pages/process/outside-price/index.js | 9 ++++++++-
pages/process/outside-price/index.wxml | 21 +++++++++++++++++++--
2 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/pages/process/outside-price/index.js b/pages/process/outside-price/index.js
index 86a211d..4f54b54 100644
--- a/pages/process/outside-price/index.js
+++ b/pages/process/outside-price/index.js
@@ -20,6 +20,7 @@ Scene({
offsiteGrossWeight: null,
offsiteTareWeight: null,
},
+ grossList: [],
imageList: [],
intoview: ''
},
@@ -45,7 +46,13 @@ Scene({
imageList.push({url: result.data.orderImageList[index]})
}
}
- this.setData({ form: result.data, admin: app.userInfo.type && app.userInfo.type.indexOf('ADMIN') >= 0, height, imageList })
+ var grossList = []
+ if(result.data.onsideGrossWeightImageList && result.data.onsideGrossWeightImageList.length){
+ for (let index = 0; index < result.data.onsideGrossWeightImageList.length; index++) {
+ grossList.push({url: result.data.onsideGrossWeightImageList[index]})
+ }
+ }
+ this.setData({ form: result.data, admin: app.userInfo.type && app.userInfo.type.indexOf('ADMIN') >= 0, height, imageList, grossList })
}).catch(err => {
wx.hideLoading()
util.showToast(err)
diff --git a/pages/process/outside-price/index.wxml b/pages/process/outside-price/index.wxml
index ceec2c0..bba53a4 100644
--- a/pages/process/outside-price/index.wxml
+++ b/pages/process/outside-price/index.wxml
@@ -57,8 +57,25 @@
{{form.predictDeliveryToFactoryTime || '- -'}}
-
+
+
+
+ 厂内毛重(公斤)
+ {{form.onsideGrossWeight || '暂无'}}
+
+
+
+
+ 厂内厂外毛重差异(公斤)
+ {{form.onsideAndOffsiteDifferences || '- -'}}
+
+
+
+
+ 厂内毛重
+
+
+