Commit a3fc72e1 by chenwq

style(purchase): 调整表格样式和列宽配置

- 在EditOrderDialog中为标题添加右边距
- 在invoiceRecord中调整列宽配置
- 在purchaseAndDelivery中添加备注显示和按钮间距
1 parent c7fa1e2c
......@@ -637,6 +637,7 @@ export default {
font-weight: 600;
font-size: 16px;
color: #333333;
margin-right: 20px;
}
.icon {
......
......@@ -145,11 +145,11 @@ export default {
}
}, {
label: '所属商户',
prop: 'merchantName',
width: '150px'
prop: 'merchantName'
}, {
label: '状态',
prop: 'putStatus',
width: '120px',
formatter: (cellValue) => {
return this.baseData.invouceType.find(item => item.confId === cellValue.putStatus)?.confName
},
......
......@@ -36,6 +36,12 @@
</el-tooltip>
<div v-else>-</div>
</div>
<div slot="remark" slot-scope="scope">
<el-tooltip v-if="scope.scope.remark" effect="dark" placement="top" :content="scope.scope.remark">
<span class="one-line-ellipsis">{{ scope.scope.remark }}</span>
</el-tooltip>
<div v-else>-</div>
</div>
<div slot="auth-button" slot-scope="scope" width="400">
<!-- 查看 -->
<span style="margin-right: 10px">
......@@ -50,11 +56,11 @@
<auth-button :data="scope.scope" :show-btn-ids="['9090404']" />
</span>
<!-- 驳回 -->
<span v-if="scope.scope.purchaseOrderDeliveryStatus == 1">
<span v-if="scope.scope.purchaseOrderDeliveryStatus == 1" style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9090403']" />
</span>
<!-- 结束 -->
<span v-if="scope.scope.purchaseOrderDeliveryStatus == 3">
<span v-if="scope.scope.purchaseOrderDeliveryStatus == 3" style="margin-right: 10px">
<auth-button :data="scope.scope" :show-btn-ids="['9090406']" />
</span>
</div>
......@@ -365,7 +371,9 @@ export default {
},
{
label: "备注",
prop: "remark"
prop: "remark",
addHtml: 'remark',
width: '104px'
},
{
label: "已发货数量",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!