...
|
...
|
@@ -15,7 +15,7 @@ |
|
|
<div class="remark">
|
|
|
<textarea v-model="product.remark" rows="3" max-length="100" placeholder="退货原因说明"></textarea>
|
|
|
</div>
|
|
|
<div class="image-list clearfix">
|
|
|
<div v-show="specialReturnReason.indexOf(product.reason.id) !== -1" class="image-list clearfix">
|
|
|
<div class="image-item" v-for="image in imageListForShow">
|
|
|
<span v-on:click="deleteImage(image.index)" class="icon icon-close"></span>
|
|
|
<img v-bind:src="image.path">
|
...
|
...
|
@@ -50,6 +50,15 @@ |
|
|
name: '请选择'
|
|
|
}].concat(this.refundData.returnReason);
|
|
|
},
|
|
|
specialReturnReason() {
|
|
|
const list = [];
|
|
|
|
|
|
this.refundData.specialReturnReason.forEach(reason => {
|
|
|
list.push(reason.id);
|
|
|
});
|
|
|
|
|
|
return list;
|
|
|
},
|
|
|
imageListForShow() {
|
|
|
const list = [];
|
|
|
|
...
|
...
|
|