审核合同查询条件
This commit is contained in:
@@ -38,6 +38,14 @@
|
||||
</el-row>
|
||||
|
||||
<el-row style="margin-top: 15px">
|
||||
<span>审核情况:</span>
|
||||
<el-select v-model="revieweValue" placeholder="审核情况" size="small" style="width: 100px">
|
||||
<el-option
|
||||
v-for="item in reviewe"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"/>
|
||||
</el-select>
|
||||
<span>审批情况:</span>
|
||||
<el-select v-model="approvalValue" placeholder="审批情况" size="small" style="width: 100px">
|
||||
<el-option
|
||||
@@ -211,6 +219,20 @@ export default {
|
||||
label: '未审批'
|
||||
}],
|
||||
approvalValue: 0,
|
||||
reviewe: [{
|
||||
value: 0,
|
||||
label: '全部'
|
||||
}, {
|
||||
value: 1,
|
||||
label: '已通过'
|
||||
}, {
|
||||
value: 2,
|
||||
label: '未通过'
|
||||
}, {
|
||||
value: 3,
|
||||
label: '未审核'
|
||||
}],
|
||||
revieweValue: 0,
|
||||
RMB: '',
|
||||
TotalAmount: '',
|
||||
check1: 0,
|
||||
@@ -337,13 +359,13 @@ export default {
|
||||
} else {
|
||||
this.check5 = 1
|
||||
}
|
||||
let check
|
||||
let check, check2
|
||||
this.contractNumber ? check = 1 : check = 0
|
||||
searchTable1(this.pageCurrent1, this.pageSize1, this.check1, this.startEndDate[0], this.startEndDate[1], this.check2, this.contractNumValue, this.check3, this.personValue, this.check4, this.supplierName, this.check5, this.approvalValue, check, this.contractNumber).then(response => {
|
||||
this.revieweValue ? check2 = 1 : check2 = 0
|
||||
searchTable1(this.pageCurrent1, this.pageSize1, this.check1, this.startEndDate[0], this.startEndDate[1], this.check2, this.contractNumValue, this.check3, this.personValue, this.check4, this.supplierName, this.check5, this.approvalValue, check, this.contractNumber, check2, this.revieweValue).then(response => {
|
||||
for (let i = 0; i < response.data.rows.length; i++) {
|
||||
response.data.rows[i].审批情况内容 === '未审批' ? this.disable.push(false) : this.disable.push(true) // 删除按钮禁用
|
||||
}
|
||||
console.log(response.data.rows)
|
||||
this.tableData1 = response.data.rows
|
||||
this.total1 = response.data.total
|
||||
this.loading1 = false
|
||||
|
||||
Reference in New Issue
Block a user