测试bug修改2
This commit is contained in:
parent
8ba6fb2a13
commit
2c622722ac
|
|
@ -626,10 +626,9 @@ export default {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
time: null, //申请时间
|
time: null, //申请时间
|
||||||
name: undefined,
|
|
||||||
typeId: "",
|
|
||||||
keyWord: "",
|
keyWord: "",
|
||||||
|
taskStatus: null, //申请时间
|
||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
remark: "",
|
remark: "",
|
||||||
|
|
@ -693,12 +692,12 @@ export default {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
const params = {
|
const params = {
|
||||||
keyWord: this.queryParams.keyWord,
|
keyWord: this.queryParams.keyWord,
|
||||||
|
taskStatus: this.queryParams.taskStatus,
|
||||||
startTime: this.queryParams.time && this.queryParams.time[0],
|
startTime: this.queryParams.time && this.queryParams.time[0],
|
||||||
endTime: this.queryParams.time && this.queryParams.time[1],
|
endTime: this.queryParams.time && this.queryParams.time[1],
|
||||||
typeId: this.queryParams.typeId,
|
|
||||||
pageSize: this.queryParams.pageSize,
|
pageSize: this.queryParams.pageSize,
|
||||||
pageNum: this.queryParams.pageNum,
|
pageNum: this.queryParams.pageNum,
|
||||||
statusList: [1, 2, 3, 4],
|
statusList:[this.queryParams.taskStatus]
|
||||||
};
|
};
|
||||||
getListLeaseApply(this.addDateRange(params)).then((response) => {
|
getListLeaseApply(this.addDateRange(params)).then((response) => {
|
||||||
this.typeList = response.rows;
|
this.typeList = response.rows;
|
||||||
|
|
|
||||||
|
|
@ -32,9 +32,9 @@
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item label="状态" prop="typeId">
|
<el-form-item label="状态" prop="taskStatus">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="queryParams.typeId"
|
v-model="queryParams.taskStatus"
|
||||||
placeholder="请选择状态"
|
placeholder="请选择状态"
|
||||||
clearable
|
clearable
|
||||||
filterable
|
filterable
|
||||||
|
|
@ -412,9 +412,8 @@ export default {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
time: null, //申请时间
|
time: null, //申请时间
|
||||||
name: undefined,
|
taskStatus: "",
|
||||||
typeId: "",
|
|
||||||
keyWord: "",
|
keyWord: "",
|
||||||
},
|
},
|
||||||
form: {
|
form: {
|
||||||
|
|
@ -475,7 +474,8 @@ export default {
|
||||||
keyWord: this.queryParams.keyWord,
|
keyWord: this.queryParams.keyWord,
|
||||||
startTime: this.queryParams.time && this.queryParams.time[0],
|
startTime: this.queryParams.time && this.queryParams.time[0],
|
||||||
endTime: this.queryParams.time && this.queryParams.time[1],
|
endTime: this.queryParams.time && this.queryParams.time[1],
|
||||||
typeId: this.queryParams.typeId,
|
taskStatus: this.queryParams.taskStatus,
|
||||||
|
// statusList:[this.queryParams.taskStatus],
|
||||||
pageSize: this.queryParams.pageSize,
|
pageSize: this.queryParams.pageSize,
|
||||||
pageNum: this.queryParams.pageNum,
|
pageNum: this.queryParams.pageNum,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -908,9 +908,8 @@ export default {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
time: null, //申请时间
|
time: null, //申请时间
|
||||||
name: undefined,
|
taskStatus: "",
|
||||||
typeId: "",
|
|
||||||
keyWord: "",
|
keyWord: "",
|
||||||
},
|
},
|
||||||
//出库的搜索栏
|
//出库的搜索栏
|
||||||
|
|
@ -978,12 +977,15 @@ export default {
|
||||||
const params = {
|
const params = {
|
||||||
keyWord: this.queryParams.keyWord,
|
keyWord: this.queryParams.keyWord,
|
||||||
startTime: this.queryParams.time && this.queryParams.time[0],
|
startTime: this.queryParams.time && this.queryParams.time[0],
|
||||||
endTime: this.queryParams.time && this.queryParams.time[1],
|
endTime: this.queryParams.time && this.queryParams.time[1],
|
||||||
typeId: this.queryParams.typeId,
|
|
||||||
pageSize: this.queryParams.pageSize,
|
pageSize: this.queryParams.pageSize,
|
||||||
pageNum: this.queryParams.pageNum,
|
pageNum: this.queryParams.pageNum,
|
||||||
statusList: [3, 4, 5],
|
|
||||||
};
|
};
|
||||||
|
if(!this.queryParams.taskStatus){
|
||||||
|
params.statusList=[3, 4, 5]
|
||||||
|
}else{
|
||||||
|
params.statusList=[this.queryParams.taskStatus]
|
||||||
|
}
|
||||||
getListLeaseApply(this.addDateRange(params)).then((response) => {
|
getListLeaseApply(this.addDateRange(params)).then((response) => {
|
||||||
this.typeList = response.rows;
|
this.typeList = response.rows;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
|
|
|
||||||
|
|
@ -111,10 +111,10 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" width="180" v-if="!isView">
|
<el-table-column label="操作" align="center" width="180" v-if="!isView">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="success" @click="pass(scope.row)" v-if="(scope.row.status!=19&&scope.row.manageType==1)||scope.row.manageType==0">
|
<el-button size="mini" type="success" @click="pass(scope.row)" v-if="scope.row.status!=14&&scope.row.status!=19">
|
||||||
入库
|
入库
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button size="mini" type="danger" @click="reject(scope.row)" v-if="(scope.row.status!=19&&scope.row.manageType==1)||scope.row.manageType==0">
|
<el-button size="mini" type="danger" @click="reject(scope.row)" v-if="scope.row.status!=14&&scope.row.status!=19">
|
||||||
驳回
|
驳回
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -92,12 +92,12 @@
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
border
|
border
|
||||||
>
|
>
|
||||||
<el-table-column
|
<!-- <el-table-column
|
||||||
type="selection"
|
type="selection"
|
||||||
width="55"
|
width="55"
|
||||||
align="center"
|
align="center"
|
||||||
:reserve-selection="true"
|
:reserve-selection="true"
|
||||||
/>
|
/> -->
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="序号"
|
label="序号"
|
||||||
align="center"
|
align="center"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue