refactor(wms): 优化多个页面的样式与功能
1. 调整物料预警页面的逾期天数默认值为60天 2. 钢卷库存页面新增钢卷明细导出按钮和布局优化 3. 异议工单页面调整导出按钮的显示逻辑,移除状态判断 4. 重构异议工单基础信息组件的布局与样式,优化信息展示
This commit is contained in:
@@ -163,7 +163,10 @@
|
||||
</el-descriptions>
|
||||
|
||||
<!-- 钢卷明细表格 -->
|
||||
<h4 style="margin-top: 20px">钢卷明细</h4>
|
||||
<div style="display: flex; align-items: center; justify-content: space-between; margin-top: 20px">
|
||||
<h4 style="margin: 0">钢卷明细</h4>
|
||||
<el-button type="primary" size="small" icon="el-icon-download" @click="handleExportDetail">导出</el-button>
|
||||
</div>
|
||||
<el-table :data="dialogList" border stripe max-height="500" style="width: 100%">
|
||||
<el-table-column prop="enterCoilNo" label="入场钢卷号" align="center" min-width="150" show-overflow-tooltip />
|
||||
<el-table-column prop="currentCoilNo" label="当前钢卷号" align="center" min-width="150" show-overflow-tooltip />
|
||||
@@ -518,6 +521,15 @@ export default {
|
||||
.finally(() => { this.dialogLoading = false; });
|
||||
},
|
||||
|
||||
handleExportDetail() {
|
||||
if (!this.currentWarehouse) return;
|
||||
this.download('wms/materialCoil/export', {
|
||||
warehouseId: this.currentWarehouse.warehouseId,
|
||||
dataType: 1,
|
||||
status: 0,
|
||||
}, `钢卷明细_${this.currentWarehouse.warehouseName}_${new Date().getTime()}.xlsx`);
|
||||
},
|
||||
|
||||
// ============ 弹窗数据透视图(班组 × 品质) ============
|
||||
getQualityGroup(qs) {
|
||||
if (!qs) return '未知';
|
||||
|
||||
Reference in New Issue
Block a user