From 7e5fa7d3fce3405bb5f5ad05310d86894f396c3b Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Thu, 8 Jul 2021 10:22:56 +0800 Subject: [PATCH] no message --- pages/process/outside-list/index.js | 4 ++++ pages/process/outside-list/index.wxml | 6 ++++-- pages/storage/order-list/index.wxml | 1 + pages/storage/pound-list/index.wxml | 6 +++--- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/pages/process/outside-list/index.js b/pages/process/outside-list/index.js index ef16172..449cee3 100644 --- a/pages/process/outside-list/index.js +++ b/pages/process/outside-list/index.js @@ -138,6 +138,10 @@ Scene({ }) }) }, + editItem: function (e) { + var item = this.data.orderList[e.currentTarget.dataset.page][e.currentTarget.dataset.index] + wx.navigateTo({ url: `/pages/process/outside-add/index?id=${item.orderId}` }) + }, lookItem: function (e) { var item = this.data.orderList[e.currentTarget.dataset.page][e.currentTarget.dataset.index] if(item.orderStatus == 0 || item.orderStatus == 1){ diff --git a/pages/process/outside-list/index.wxml b/pages/process/outside-list/index.wxml index 4ceba00..4e2df23 100644 --- a/pages/process/outside-list/index.wxml +++ b/pages/process/outside-list/index.wxml @@ -25,7 +25,7 @@ - + {{item.factoryCustomerName}} -{{item.factoryCustomerMobile}} @@ -63,7 +63,9 @@ 取消订单 查看订单 + bind:click="editItem" wx:if="{{item.orderStatus == 0}}">修改订单 + 收货 确认定价 {{item.tipsTime}} + diff --git a/pages/storage/pound-list/index.wxml b/pages/storage/pound-list/index.wxml index 075a9e3..5c30683 100644 --- a/pages/storage/pound-list/index.wxml +++ b/pages/storage/pound-list/index.wxml @@ -30,15 +30,15 @@ 已过磅 - 皮重(公斤): + 皮重(公斤): {{formate.minWeight(item.firstWeight, item.secondWeight)}} - 毛重(公斤): + 毛重(公斤): {{formate.maxWeight(item.firstWeight, item.secondWeight)}} - 净重(公斤): + 净重(公斤): {{item.netWeight}}