禅道bug修复
This commit is contained in:
parent
b2f43db2d2
commit
a6c8b960dc
|
|
@ -445,7 +445,7 @@ export default {
|
||||||
endTime: this.queryParams.time && this.queryParams.time[1],
|
endTime: this.queryParams.time && this.queryParams.time[1],
|
||||||
pageSize: this.queryParams.pageSize,
|
pageSize: this.queryParams.pageSize,
|
||||||
pageNum: this.queryParams.pageNum,
|
pageNum: this.queryParams.pageNum,
|
||||||
statusList: this.queryParams.taskStatus ? [this.queryParams.taskStatus]:this.dict.type.lease_task_status.map(item => item.value)
|
statusList: this.queryParams.taskStatus ? [this.queryParams.taskStatus]:[1,2,3,4]
|
||||||
};
|
};
|
||||||
getListLeaseApply(params).then((response) => {
|
getListLeaseApply(params).then((response) => {
|
||||||
this.typeList = response.data.rows;
|
this.typeList = response.data.rows;
|
||||||
|
|
@ -605,9 +605,18 @@ export default {
|
||||||
|
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
|
const params = {
|
||||||
|
keyWord: this.queryParams.keyWord,
|
||||||
|
taskStatus: this.queryParams.taskStatus,
|
||||||
|
startTime: this.queryParams.time && this.queryParams.time[0],
|
||||||
|
endTime: this.queryParams.time && this.queryParams.time[1],
|
||||||
|
pageSize: this.queryParams.pageSize,
|
||||||
|
pageNum: this.queryParams.pageNum,
|
||||||
|
statusList: this.queryParams.taskStatus ? [this.queryParams.taskStatus]:[1,2,3,4]
|
||||||
|
};
|
||||||
this.download(
|
this.download(
|
||||||
"/material/lease_apply_info/export",
|
"/material/lease_apply_info/export",
|
||||||
{ ...this.queryParams },
|
{ ...params },
|
||||||
`领料申请_${new Date().getTime()}.xlsx`
|
`领料申请_${new Date().getTime()}.xlsx`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -243,7 +243,7 @@ export default {
|
||||||
let queryTemp = this.queryParams;
|
let queryTemp = this.queryParams;
|
||||||
// queryTemp.level = 0;
|
// queryTemp.level = 0;
|
||||||
this.download(
|
this.download(
|
||||||
"/material/ma_type/export",
|
"/material/ma_type/exportHistory",
|
||||||
{
|
{
|
||||||
...queryTemp,
|
...queryTemp,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -329,6 +329,7 @@ export default {
|
||||||
pageSize: 1000,
|
pageSize: 1000,
|
||||||
displayBindRelationship: true,
|
displayBindRelationship: true,
|
||||||
houseId: "",
|
houseId: "",
|
||||||
|
keyword: "",
|
||||||
// phonenumber: undefined,
|
// phonenumber: undefined,
|
||||||
// status: undefined,
|
// status: undefined,
|
||||||
// typeId: undefined
|
// typeId: undefined
|
||||||
|
|
@ -539,10 +540,22 @@ export default {
|
||||||
this.dateRange = [];
|
this.dateRange = [];
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.queryParams.typeId = undefined;
|
this.queryParams.typeId = undefined;
|
||||||
|
this.queryParams.userId = undefined;
|
||||||
this.queryParams.pageNum = 1;
|
this.queryParams.pageNum = 1;
|
||||||
this.queryParams.pageSize = 1000;
|
this.queryParams.pageSize = 1000;
|
||||||
this.queryParams.level = 0;
|
this.queryParams.level = 1;
|
||||||
this.$refs.tree.setCurrentKey(null);
|
this.$refs.tree.setCurrentKey(null);
|
||||||
|
this.$refs.treeTwo.setCurrentKey(null);
|
||||||
|
if (
|
||||||
|
this.treeOptionsTwo.length > 0 &&
|
||||||
|
this.treeOptionsTwo[0].children.length > 0
|
||||||
|
) {
|
||||||
|
const firstNode = this.treeOptionsTwo[0].children[0];
|
||||||
|
this.queryParams.typeId = firstNode.id;
|
||||||
|
this.queryParams.level = 1;
|
||||||
|
this.queryParams.houseId = firstNode.houseId;
|
||||||
|
this.getList();
|
||||||
|
}
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="app-container" id="acceptDetail">
|
<div class="app-container" id="acceptDetail">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="90px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="90px">
|
||||||
<el-form-item label="类型规格:" prop="typeId">
|
<el-form-item label="类型规格:" prop="typeId">
|
||||||
<el-select v-model="queryParams.typeId" placeholder="请选择类型规格" clearable>
|
<el-select v-model="queryParams.typeId" placeholder="请选择类型规格" clearable filterable >
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dict in materialModelList"
|
v-for="dict in materialModelList"
|
||||||
:key="dict.value"
|
:key="dict.value"
|
||||||
|
|
@ -512,7 +512,7 @@ export default {
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download(
|
this.download(
|
||||||
"/material/purchase_check_info/exportDetails",
|
"/material/purchase_check_info/exportDetails",
|
||||||
{ taskId: this.taskId },
|
{ taskId: this.taskId, taskStage: 2,id:this.Id },
|
||||||
`新购到货详情_${new Date().getTime()}.xlsx`
|
`新购到货详情_${new Date().getTime()}.xlsx`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -524,8 +524,8 @@ export default {
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download(
|
this.download(
|
||||||
"/material/purchase_check_info/exportDetails",
|
"/material/purchase_check_info/exportDetails",
|
||||||
{ taskId: this.taskId },
|
{ taskId: this.taskId,taskStage:4,id:this.Id },
|
||||||
`新购到货详情_${new Date().getTime()}.xlsx`
|
`新购入库详情_${new Date().getTime()}.xlsx`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue