From f4f5a471e65f8a9be944b315c6275cb11a712ca4 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Mon, 30 Oct 2023 18:49:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 6 + pages/nongKe/supply_chain/merchant.vue | 7 +- .../supply_chain/shopping_trolley_a.vue | 1353 +++++++++++++++++ pages/trading_hall/transfer_goods/index.vue | 26 +- 4 files changed, 1381 insertions(+), 11 deletions(-) create mode 100644 pages/nongKe/supply_chain/shopping_trolley_a.vue diff --git a/pages.json b/pages.json index bc6c2e3..1716098 100644 --- a/pages.json +++ b/pages.json @@ -85,6 +85,12 @@ "navigationBarTitleText": "采购车" } }, + { + "path": "pages/nongKe/supply_chain/shopping_trolley_a", + "style": { + "navigationBarTitleText": "采购车" + } + }, { "path": "pages/moreProject/moreProject", "style": { diff --git a/pages/nongKe/supply_chain/merchant.vue b/pages/nongKe/supply_chain/merchant.vue index 86113da..789b784 100644 --- a/pages/nongKe/supply_chain/merchant.vue +++ b/pages/nongKe/supply_chain/merchant.vue @@ -31,14 +31,17 @@ 条形码:{{item.bar_code?item.bar_code : '无'}} - 订货价:{{item.price}} + + 订货价: + {{' '+item.price}} + 加入购物单 - 采购清单 + 采购清单 diff --git a/pages/nongKe/supply_chain/shopping_trolley_a.vue b/pages/nongKe/supply_chain/shopping_trolley_a.vue new file mode 100644 index 0000000..0c084cd --- /dev/null +++ b/pages/nongKe/supply_chain/shopping_trolley_a.vue @@ -0,0 +1,1353 @@ + + + + + \ No newline at end of file diff --git a/pages/trading_hall/transfer_goods/index.vue b/pages/trading_hall/transfer_goods/index.vue index ff40d9a..bb3e377 100644 --- a/pages/trading_hall/transfer_goods/index.vue +++ b/pages/trading_hall/transfer_goods/index.vue @@ -227,7 +227,6 @@ authorize, easyLoadimage, mTabbar, - }, data() { return { @@ -440,6 +439,11 @@ uni.chooseImage({ count: 1, sizeType: ['original'], + crop:{ + width: 1024, + height: 1024, + resize: false + }, success: (res) => { // console.log(res) let tempFilePaths = res.tempFilePaths[0] @@ -453,24 +457,28 @@ src: tempFilePaths, quality: 80, // 仅对jpg有效 success: res => { - that.imageSrc = res.tempFilePath; - that.showCd = true; + that.doUpload(res.tempFilePath) + // that.imageSrc = res.tempFilePath; + // that.showCd = true; }, fail: err => { // console.log('失败了compressImage', tempFilePaths); - that.imageSrc = tempFilePaths - that.showCd = true + that.doUpload(tempFilePaths) + // that.imageSrc = tempFilePaths + // that.showCd = true } }) } else { - that.imageSrc = tempFilePaths - that.showCd = true + that.doUpload(tempFilePaths) + // that.imageSrc = tempFilePaths + // that.showCd = true } } //#endif //#ifndef APP-PLUS - that.imageSrc = tempFilePaths - that.showCd = true + // that.imageSrc = tempFilePaths + // that.showCd = true + that.doUpload(tempFilePaths) //#endif } })