Browse Source

no message

feature/v1.5
xpz2018 4 years ago
parent
commit
7c5fb98f21
1 changed files with 2 additions and 1 deletions
  1. 3
      pages/process/outside-item/index.js

3
pages/process/outside-item/index.js

@ -23,7 +23,7 @@ Component({
},
methods: {
setValues: function(value){
if(value){
if(value && (util.isEmpty(this.data.item.settleUnitPrice) || Number(this.data.item.settleUnitPrice) <= 0)){
this.data.item.settleUnitPrice = value.unitPrice
this.statAmount()
wx.nextTick(() => {
@ -80,6 +80,7 @@ Component({
})
},
statAmount: function(){
this.data.item.settleWeight = this.data.item.netWeight
if(!util.isEmpty(this.data.item.deductWeight)){
this.data.item.settleWeight = math.minus(this.data.item.netWeight, this.data.item.deductWeight)

Loading…
Cancel
Save