This commit is contained in:
mashuai 2026-01-10 21:14:25 +08:00
parent 177e97ad54
commit f74f28afb0
1 changed files with 23 additions and 3 deletions

View File

@ -128,6 +128,18 @@
/>
</el-form-item>
<el-form-item label="领料方式" prop="leaseStyle">
<el-select v-model="queryParams.leaseStyle" placeholder="请选择领料方式" clearable filterable>
<el-option
v-for="item in proStatus"
:key="item.id"
:label="item.name"
:value="item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">查询</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
@ -168,7 +180,7 @@
<el-table-column label="分包单位" align="center" prop="subUnitName" width="90" :show-overflow-tooltip="true" />
<el-table-column label="领料班组" align="center" prop="teamName" width="200" />
<el-table-column label="领料工程" align="center" prop="projectName" width="200" />
<el-table-column label="班组长" align="center" prop="leasePerson" :show-overflow-tooltip="true" />
<el-table-column label="班组长/领料人" align="center" prop="leasePerson" :show-overflow-tooltip="true" />
<el-table-column label="出库人" align="center" prop="outPerson" :show-overflow-tooltip="true" />
<el-table-column label="领料单号" align="center" prop="code" :show-overflow-tooltip="true" width="180"/>
<el-table-column label="领料方式" align="center" prop="leaseStyle" :show-overflow-tooltip="true" width="180"/>
@ -268,8 +280,14 @@ export default {
departName:'',//
subUnitName:'',//
teamName:'',//
leaseStyle:'',//
},
proStatus:[
{ id: 1, name: '材料站领料' },
{ id: 2, name: '后勤领料' },
],
//
openRecord: false,
dialogList: [], //
@ -465,7 +483,8 @@ export default {
departName: this.queryParams.departName,
proName: this.queryParams.proName,
subUnitName: this.queryParams.subUnitName,
teamName: this.queryParams.teamName
teamName: this.queryParams.teamName,
leaseStyle: this.queryParams.leaseStyle
}
const res = await getLeaseInfoDetailsApi(params)
if (res.data.rows.length > 0) {
@ -483,7 +502,8 @@ export default {
departName: this.queryParams.departName,
proName: this.queryParams.proName,
subUnitName: this.queryParams.subUnitName,
teamName: this.queryParams.teamName
teamName: this.queryParams.teamName,
leaseStyle: this.queryParams.leaseStyle
}
const response = await getLeaseInfoDetailsNoPageListApi(param)
let obj = {