a
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
</el-card>
|
||||
|
||||
<el-card>
|
||||
<el-table v-loading="loading1" :data="tableData1" size="mini" border stripe style="width: 100%;max-height: 300px;" height="150px" highlight-current-row @row-click="searchTable2">
|
||||
<el-table v-loading="loading1" :data="tableData1" size="mini" border stripe style="width: 100%;max-height: 300px;" height="230px" highlight-current-row @row-click="searchTable2">
|
||||
<el-table-column label="采购合同号" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.采购合同编号 }}
|
||||
@@ -330,7 +330,7 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogVisible3" title="采购合同审批" center style="min-height: 300px;" width="30%">
|
||||
<el-dialog v-el-drag-dialog :visible.sync="dialogVisible3" title="采购合同审批" center style="min-height: 300px;" width="380px">
|
||||
<el-form ref="form2" :model="form2" :rules="rules2" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||
<el-form-item label="审批是否通过" prop="审批是否通过" center>
|
||||
<el-select v-model="form2.审批是否通过" size="small" @change="selectChange">
|
||||
@@ -479,7 +479,9 @@ export default {
|
||||
})
|
||||
},
|
||||
Open(row) {
|
||||
console.log(row)
|
||||
this.form2.审批是否通过 = 1
|
||||
this.form2.未通过原因 = ''
|
||||
this.disabled = true
|
||||
this.dialogVisible3 = true
|
||||
this.ProcurementContractNum = row.采购合同流水号
|
||||
this.QGNUM = row.请购单流水号
|
||||
|
||||
@@ -522,9 +522,10 @@ export default {
|
||||
})
|
||||
},
|
||||
tableRowClassName({ row, rowIndex }) {
|
||||
if (row.审批情况流水号 === '1') {
|
||||
return 'adopt'
|
||||
} else if (row.审批情况流水号 === '2') {
|
||||
// if (row.审批情况流水号 === '1') {
|
||||
// return 'adopt'
|
||||
// } else
|
||||
if (row.审批情况流水号 === '2') {
|
||||
return 'NotThrough'
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user