style(物料管理): 调整表格列宽和显示设置

- 为入库和出库记录的备注列增加固定宽度300px
- 在出库记录中隐藏计量单位列
- 统一操作列宽度为200px并固定于右侧
This commit is contained in:
2026-01-31 23:02:53 +08:00
parent 2e58cbbc51
commit dbb82faa9d
2 changed files with 4 additions and 4 deletions

View File

@@ -80,7 +80,7 @@
<el-table-column prop="batchNo" label="批次号" align="center" v-if="columns.showColumn('batchNo')" />
<el-table-column prop="workorder" label="工单号" align="center" v-if="columns.showColumn('workorder')" />
<el-table-column prop="workorderRaw" label="成品工单号" align="center" v-if="columns.showColumn('workorder')" />
<el-table-column prop="remarks" label="备注" align="center" v-if="columns.showColumn('remarks')" />
<el-table-column prop="remarks" label="备注" align="center" width="300" v-if="columns.showColumn('remarks')" />
<el-table-column prop="operator" label="操作员" align="center" v-if="columns.showColumn('operator')" />
<el-table-column label="操作" fixed="right" align="center" width="200">
<template #default="scope">

View File

@@ -90,14 +90,14 @@
<el-table-column prop="locationName" label="库位名称" align="center" v-if="columns.showColumn('locationName')" />
<el-table-column prop="quantity" label="出库数量" align="center" v-if="columns.showColumn('quantity')" />
<el-table-column prop="transactionType" label="出库类型" align="center" v-if="columns.showColumn('transactionType')" />
<el-table-column prop="unit" label="计量单位" align="center" v-if="columns.showColumn('unit')" />
<!-- <el-table-column prop="unit" label="计量单位" align="center" v-if="columns.showColumn('unit')" /> -->
<el-table-column prop="batchNo" label="批次号" align="center" v-if="columns.showColumn('batchNo')" />
<el-table-column prop="workorder" label="工单号" align="center" v-if="columns.showColumn('workorder')" />
<el-table-column prop="workorderRaw" label="成品工单号" align="center" v-if="columns.showColumn('workorder')" />
<el-table-column prop="orderNo" label="订单号" align="center" v-if="columns.showColumn('orderNo')" />
<el-table-column prop="operator" label="操作员" align="center" v-if="columns.showColumn('operator')" />
<el-table-column prop="remarks" label="备注" align="center" v-if="columns.showColumn('remarks')" />
<el-table-column label="操作">
<el-table-column prop="remarks" label="备注" align="center" width="300" v-if="columns.showColumn('remarks')" />
<el-table-column label="操作" fixed="right" align="center" width="200">
<template #default="scope">
<el-button v-if="scope.row.remarks == '已撤销' || scope.row.transactionType == '出库红单'" type="info" size="small" title="已撤销" disabled
>已撤销</el-button