领料模块新增排序下拉选-待退料数量不可编辑

This commit is contained in:
FrancisHu 2024-07-30 09:40:15 +08:00
parent 041fcbd788
commit aa6234f8ca
2 changed files with 30 additions and 5 deletions

View File

@ -75,6 +75,24 @@
</el-select>
</el-form-item>
<el-form-item label="排序管理" prop="taskStatus">
<el-select
v-model="queryParams.orderStatus"
filterable
clearable
style="width: 240px"
placeholder="请选择"
>
<el-option
v-for="item in orderStatusList"
:key="item.id"
:label="item.name"
:value="item.id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="申请日期">
<el-date-picker
v-model="queryParams.time"
@ -407,6 +425,12 @@ export default {
{ name: '出库进行中', id: 34 },
{ name: '完成', id: 35 },
],
orderStatusList: [
{ name: '申请时间-升序', id: 0 },
{ name: '申请时间-降序', id: 1 },
{ name: '任务状态-升序', id: 2 },
{ name: '任务状态-降序', id: 3 },
],
}
},
created() {
@ -433,6 +457,7 @@ export default {
pageSize: this.queryParams.pageSize,
pageNum: this.queryParams.pageNum,
taskStatus: this.queryParams.taskStatus,
orderStatus: this.queryParams.orderStatus,
}
const res = await getLeaseAuditListAll(params)

View File

@ -90,7 +90,7 @@
type="selection"
width="55"
align="center"
:selectable="(row) => row.backStatus == 0"
:selectable="(row) => row.backStatus == 1"
/>
<el-table-column
label="序号"
@ -171,7 +171,7 @@
align="center"
:show-overflow-tooltip="true"
>
<!-- <template slot-scope="scope">
<template slot-scope="scope">
<span>
{{
(scope.row.partNum =
@ -181,8 +181,8 @@
: scope.row.partNum)
}}
</span>
</template>-->
<template slot-scope="scope">
</template>
<!-- <template slot-scope="scope">
<el-input
v-model.number="scope.row.num"
placeholder="请输入待退料数量"
@ -192,7 +192,7 @@
@input="checkNum(scope.row)"
style="width: 100%"
/>
</template>
</template> -->
</el-table-column>
<el-table-column
label="操作"