master
fanfan 6 months ago
parent 6a9b7ba3f5
commit 72608c9181
  1. 2
      src/views/order/modules/RemarkFormAdd.vue
  2. 2
      src/views/order/modules/RemarkFormDetails.vue
  3. 7
      src/views/order/modules/RemarkFormEdit.vue

@ -21,7 +21,7 @@
</a-form>
<a-form :form="form">
<a-form-item label="备注图片" :labelCol="labelCol" :wrapperCol="wrapperCol">
<SelectImage ref="childComponent" multiple :maxNum="10" v-decorator="['image_id']" />
<SelectImage ref="childComponent" multiple :maxNum="10" v-decorator="['image_id', { rules: [{ required: true, message: '备注图片不能为空' }] }]" />
</a-form-item>
</a-form>
</a-spin>

@ -1,6 +1,6 @@
<template>
<a-modal
:title="title"
title="备注详情"
:width="560"
:visible="visible"
:isLoading="isLoading"

@ -1,6 +1,6 @@
<template>
<a-modal
:title="title"
title="查看备注"
:width="800"
:visible="visible"
:isLoading="isLoading"
@ -9,7 +9,7 @@
@cancel="handleCancel"
:footer="null"
>
<a-spin :spinning="isLoading" style="padding-bottom:30px">
<a-spin :spinning="isLoading" style="padding-bottom: 30px">
<table style="width: 100%">
<thead class="ant-table-thead">
<tr>
@ -27,7 +27,8 @@
<!-- <div :key="`order_${item.order_id}_1`">{{ item.copy_text }}</div> -->
<tr v-for="(item, goodsIdx) in remarkList" :key="item.id">
<td>
<img width="50" height="50" :src="item.image_url[0].preview_url" alt="备注图片" />
<img v-if="item.image_url" width="50" height="50" :src="item.image_url[0].preview_url" alt="备注图片" />
<span v-else>-</span>
</td>
<td>{{ item.remark }}</td>
<td>{{ item.create_time }}</td>

Loading…
Cancel
Save