Commit a3fc72e1 by chenwq

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

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