Browse Source

no message

feature/v2.3
xpz2018 4 years ago
parent
commit
879e23c5a0
2 changed files with 5 additions and 2 deletions
  1. 1
      pages/storage/order-create/index.js
  2. 6
      pages/storage/order-settlement/index.js

1
pages/storage/order-create/index.js

@ -87,7 +87,6 @@ Scene({
} else if (data.what == 62) { } else if (data.what == 62) {
that.data.form.agencySellOrderItemId = data.detail.id that.data.form.agencySellOrderItemId = data.detail.id
that.data.form.plateNumber = data.detail.plateNumber that.data.form.plateNumber = data.detail.plateNumber
that.data.form.productName = data.detail.categoryName
that.data.form.consigneeName = data.detail.millName that.data.form.consigneeName = data.detail.millName
that.data.form.factoryDeliveryChannelId = '' that.data.form.factoryDeliveryChannelId = ''
that.data.form.deliveryChannelType = 2 that.data.form.deliveryChannelType = 2

6
pages/storage/order-settlement/index.js

@ -73,7 +73,6 @@ Scene({
if(Number(result.data.outboundDeliveryOrderSettlementInfo.settleWeight) > 0){ if(Number(result.data.outboundDeliveryOrderSettlementInfo.settleWeight) > 0){
result.data.outboundDeliveryOrderSettlementInfo.settleWeight = math.divide(result.data.outboundDeliveryOrderSettlementInfo.settleWeight, 1000) result.data.outboundDeliveryOrderSettlementInfo.settleWeight = math.divide(result.data.outboundDeliveryOrderSettlementInfo.settleWeight, 1000)
} }
this.setData({ this.setData({
safeBottom: app.globalData.safeBottom, safeBottom: app.globalData.safeBottom,
poundInfo: result.data.weightNote, poundInfo: result.data.weightNote,
@ -84,8 +83,13 @@ Scene({
this.statAmount() this.statAmount()
} else { } else {
this.data.form.id = result.data.outboundDeliveryOrder.id this.data.form.id = result.data.outboundDeliveryOrder.id
if(result.data.outboundDeliveryOrder.productId && result.data.outboundDeliveryOrder.productName){
this.data.form.categoryId = result.data.outboundDeliveryOrder.productId
this.data.form.categoryName = result.data.outboundDeliveryOrder.productName
}
this.setData({ this.setData({
safeBottom: app.globalData.safeBottom, safeBottom: app.globalData.safeBottom,
form: this.data.form,
poundInfo: result.data.weightNote, poundInfo: result.data.weightNote,
orderInfo: result.data.outboundDeliveryOrder orderInfo: result.data.outboundDeliveryOrder
}) })

Loading…
Cancel
Save