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 } })