|
|
|
@ -72,7 +72,16 @@ |
|
|
|
|
<el-table-column prop="specsName" label="产品规格" width="100px" /> |
|
|
|
|
<el-table-column prop="signNum" label="成交数量" width="90px" /> |
|
|
|
|
<el-table-column prop="remark" label="成交备注" /> |
|
|
|
|
<el-table-column label="发货状态" prop="sendState" width="90px" /> |
|
|
|
|
<el-table-column label="发货状态" prop="sendState" width="90px"> |
|
|
|
|
<template #default="scope"> |
|
|
|
|
<el-tag |
|
|
|
|
:type="scope.row.sendState == '待发货' ? 'danger' : 'success'" |
|
|
|
|
size="small" |
|
|
|
|
> |
|
|
|
|
{{ scope.row.sendState }} |
|
|
|
|
</el-tag> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column label="发货备注" width="100px"> |
|
|
|
|
<template #default="scope"> |
|
|
|
|
<el-popover |
|
|
|
@ -115,17 +124,14 @@ |
|
|
|
|
min-width="120px" |
|
|
|
|
> |
|
|
|
|
<template #default="{ row }"> |
|
|
|
|
<el-popover |
|
|
|
|
placement="top" |
|
|
|
|
width="500px" |
|
|
|
|
trigger="click" |
|
|
|
|
v-if="item.field == 'remark' && row.remark" |
|
|
|
|
> |
|
|
|
|
<div v-if="item.field == 'remark' || item.form?.component == 'Editor'"> |
|
|
|
|
<el-popover placement="top" width="500px" trigger="click" v-if="row[item.field]"> |
|
|
|
|
<template #reference> |
|
|
|
|
<el-button type="primary" style="padding: 0" text>点击查看</el-button> |
|
|
|
|
</template> |
|
|
|
|
<div v-dompurify-html="row.remark"></div> |
|
|
|
|
<div v-dompurify-html="row[item.field]"></div> |
|
|
|
|
</el-popover> |
|
|
|
|
</div> |
|
|
|
|
<span v-else-if="item.form?.component == 'DatePicker'"> |
|
|
|
|
{{ formatDate(row[item.field]) }} |
|
|
|
|
</span> |
|
|
|
|