页面优化

This commit is contained in:
Stang 2024-11-20 11:18:13 +08:00
parent 12d682a96d
commit 0e7187dd58
3 changed files with 27 additions and 14 deletions

View File

@ -1,8 +1,15 @@
<template>
<div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
<el-form-item label="基础物料" prop="mbbBdMrlId">
<el-select v-model="queryParams.mbbBdMrlId" placeholder="请选择物料" filterable clearable>
<el-form-item label="计划单" prop="planSheet">
<el-input
v-model="queryParams.planSheet"
placeholder="请输入计划单"
clearable
/>
</el-form-item>
<el-form-item label="物料项" prop="mbbBdMrlId">
<el-select v-model="queryParams.mbbBdMrlId" placeholder="请选择物料项" filterable clearable>
<el-option :label="item.itemName" :value="item.itemId.toString()" v-for="item in mdItemList"
:key="item.itemId">
<span style="float: left">{{ item.itemName }}</span>
@ -64,7 +71,7 @@
<!-- <el-table-column label="刀具类型" align="center" prop="knifeType" min-width="120" />-->
<!-- <el-table-column label="安全库存" align="center" prop="safeStock" />-->
<!-- <el-table-column label="标准数量" align="center" prop="standardQuantity" />-->
<el-table-column label="库位编码" align="center" prop="areaName" min-width="120" :show-overflow-tooltip="true"/>
<el-table-column label="库位名称" align="center" prop="areaName" min-width="120" :show-overflow-tooltip="true"/>
<el-table-column label="刀具寿命" align="center" prop="knifeLife" min-width="100" :show-overflow-tooltip="true"/>
<el-table-column label="刀具状态" align="center" prop="knifeFineState" min-width="100"
:show-overflow-tooltip="true">
@ -247,6 +254,11 @@
<el-table-column label="库位名称" align="center" prop="wmStorageAreaName" :show-overflow-tooltip="true"/>
<el-table-column label="明细状态" align="center" prop="detailStatus" :show-overflow-tooltip="true"/>
<el-table-column label="出库时间" align="center" prop="outTime" :show-overflow-tooltip="true"/>
<el-table-column label="是否对刀" align="center" prop="isToolSetting" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.isToolSetting == 0 ? '否' : '是' }}
</template>
</el-table-column>
</el-table>
<el-divider content-position="center">入库信息</el-divider>
@ -314,6 +326,7 @@ export default {
pageNum: 1,
pageSize: 10,
mbbBdMrlId: null,
planSheet: null,
rfid: null,
knifeCode: null,
knifeName: null,

View File

@ -247,15 +247,15 @@
</el-col>
</el-row>
</el-col>
<el-col :span="10">
<div class="flex-container">
<el-image class="barcodeClass" fit="scale-down" :src="form.barcodeUrl">
<div slot="error" class="image-slot">
<i class="el-icon-picture-outline"></i>
</div>
</el-image>
</div>
</el-col>
<!-- <el-col :span="10">-->
<!-- <div class="flex-container">-->
<!-- <el-image class="barcodeClass" fit="scale-down" :src="form.barcodeUrl">-->
<!-- <div slot="error" class="image-slot">-->
<!-- <i class="el-icon-picture-outline"></i>-->
<!-- </div>-->
<!-- </el-image>-->
<!-- </div>-->
<!-- </el-col>-->
</el-row>
<el-row>
<el-col :span="12">

View File

@ -106,7 +106,7 @@
@click="handleOut(scope.row)"
v-if="scope.row.status == 0"
v-hasPermi="['wm:zdTask:edit']"
>组装</el-button>
>开始组装</el-button>
<el-button
size="mini"
type="text"
@ -114,7 +114,7 @@
@click="handleIn(scope.row)"
v-if="scope.row.status == 1"
v-hasPermi="['wm:zdTask:edit']"
>组装成功</el-button>
>组装完毕</el-button>
<el-button
size="mini"
type="text"