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