|
@@ -1029,7 +1029,7 @@
|
|
|
ref="receive"
|
|
|
list-type="picture-card"
|
|
|
action="null"
|
|
|
- :limit="5"
|
|
|
+ :limit="11"
|
|
|
:on-change="fileChange2"
|
|
|
:on-preview="handlePictureCardPreview"
|
|
|
:on-exceed="exceed"
|
|
@@ -1991,23 +1991,13 @@ export default {
|
|
|
this.isShow2 = true
|
|
|
}
|
|
|
this.srcList2 = []
|
|
|
- if (res.data.resultReceiveNotePhoto != null) {
|
|
|
- this.srcList2.push({
|
|
|
- title: '签收单',
|
|
|
- src: res.data.resultReceiveNotePhoto
|
|
|
- })
|
|
|
- }
|
|
|
- if (res.data.resultSignedNotePhoto != null) {
|
|
|
- this.srcList2.push({
|
|
|
- title: '质保书',
|
|
|
- src: res.data.resultSignedNotePhoto
|
|
|
- })
|
|
|
- }
|
|
|
- if (res.data.resultEmptyContainerPhoto != null) {
|
|
|
- this.srcList2.push({
|
|
|
- title: '空货箱照片',
|
|
|
- src: res.data.resultEmptyContainerPhoto
|
|
|
- })
|
|
|
+ if(res.data && res.data.length>0){
|
|
|
+ res.data.forEach(item=>{
|
|
|
+ this.srcList2.push({
|
|
|
+ title:"",
|
|
|
+ src:item
|
|
|
+ });
|
|
|
+ });
|
|
|
}
|
|
|
})
|
|
|
},
|