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