fix:禅道124
This commit is contained in:
parent
7fd149693e
commit
ed4c915125
|
@ -49,12 +49,34 @@
|
|||
@change="handleQuery"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in stateOptions"
|
||||
v-for="item in cateOptions"
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item.id"
|
||||
></el-option>
|
||||
</el-select>
|
||||
<el-select
|
||||
v-model="query.belong_dept"
|
||||
clearable
|
||||
style="width: 120px; margin-left: 2px"
|
||||
placeholder="执行部门"
|
||||
@change="handleQuery"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in deptOptions"
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item.id"
|
||||
></el-option>
|
||||
</el-select>
|
||||
<el-date-picker
|
||||
v-model="query.inout_date"
|
||||
type="date"
|
||||
placeholder="出入库日期"
|
||||
value-format="YYYY-MM-DD"
|
||||
style="width: 120px; margin-left: 2px"
|
||||
>
|
||||
</el-date-picker>
|
||||
</div>
|
||||
<div class="right-panel">
|
||||
<el-input
|
||||
|
@ -94,7 +116,7 @@
|
|||
{{ stateDict[scope.row.state] }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="出/入库日期" prop="inout_date">
|
||||
<el-table-column label="出/入库日期" prop="inout_date" sortable>
|
||||
</el-table-column>
|
||||
<el-table-column label="执行部门" prop="belong_dept_name">
|
||||
<template #default="scope">
|
||||
|
@ -213,13 +235,23 @@ export default {
|
|||
form: {},
|
||||
apiObj: this.$API.inm.mio.list,
|
||||
selection: [],
|
||||
deptOptions: [],
|
||||
type: "",
|
||||
cate: "helpso",
|
||||
mioId: "",
|
||||
visibleDrawer: false,
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.getDeptOptions();
|
||||
},
|
||||
methods: {
|
||||
getDeptOptions() {
|
||||
let that = this;
|
||||
that.$API.system.dept.list.req({ page: 0, type__in: "dept" }).then((res) => {
|
||||
that.deptOptions = res;
|
||||
});
|
||||
},
|
||||
//添加
|
||||
add(type) {
|
||||
this.dialog.save = true;
|
||||
|
|
Loading…
Reference in New Issue