|
|
@ -23,12 +23,16 @@ Component({ |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
setValues: function(value){ |
|
|
setValues: function(value){ |
|
|
if(value && value.weightNoteImages){ |
|
|
|
|
|
this.data.fileList = [] |
|
|
|
|
|
for (let index = 0; index < value.weightNoteImages.length; index++) { |
|
|
|
|
|
this.data.fileList.push({url: value.weightNoteImages[index]}) |
|
|
|
|
|
|
|
|
if(value){ |
|
|
|
|
|
this.data.item.settleUnitPrice = value.unitPrice |
|
|
|
|
|
this.statAmount() |
|
|
|
|
|
if(value.weightNoteImages){ |
|
|
|
|
|
this.data.fileList = [] |
|
|
|
|
|
for (let index = 0; index < value.weightNoteImages.length; index++) { |
|
|
|
|
|
this.data.fileList.push({url: value.weightNoteImages[index]}) |
|
|
|
|
|
} |
|
|
|
|
|
this.setData({fileList: this.data.fileList}) |
|
|
} |
|
|
} |
|
|
this.setData({fileList: this.data.fileList}) |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
bindInput: function (e) { |
|
|
bindInput: function (e) { |
|
|
|