a
This commit is contained in:
@@ -204,7 +204,7 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<el-dialog v-el-drag-dialog :title="title1" :visible.sync="dialogVisible1" center style="min-height: 300px" width="700px">
|
<el-dialog v-el-drag-dialog :title="title1" :visible.sync="dialogVisible1" center style="min-height: 300px" width="700px">
|
||||||
<el-form ref="form1" :model="form1" :rules="rules1" label-position="left" label-width="110px">
|
<el-form ref="form1" :model="form1" :rules="rules1" label-position="right" label-width="110px">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="到票号" prop="invoiceNum">
|
<el-form-item label="到票号" prop="invoiceNum">
|
||||||
|
|||||||
@@ -196,18 +196,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<el-dialog v-el-drag-dialog :title="title" :visible.sync="dialogFormVisible1" center style="min-height: 300px" width="800px">
|
<el-dialog v-el-drag-dialog :title="title" :visible.sync="dialogFormVisible1" center style="min-height: 300px" width="650px">
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="110px" class="demo-ruleForm">
|
<el-form ref="form" :model="form" :rules="rules" label-position="right" label-width="80px" class="demo-ruleForm">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item label="物料类别" prop="物料类别流水号">
|
<el-form-item label="物料类别" prop="物料类别流水号">
|
||||||
<el-select
|
<el-select v-model="form.物料类别流水号" style="width:200px" placeholder="请选择" size="small" clearable @change="searchMaterialVariety1">
|
||||||
v-model="form.物料类别流水号"
|
|
||||||
style="width:200px"
|
|
||||||
placeholder="请选择"
|
|
||||||
size="small"
|
|
||||||
clearable
|
|
||||||
@change="searchMaterialVariety1">
|
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in MaterialCategory1"
|
v-for="item in MaterialCategory1"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<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">
|
<el-table-column label="采购合同号" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.采购合同编号 }}
|
{{ scope.row.采购合同编号 }}
|
||||||
@@ -330,7 +330,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</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 ref="form2" :model="form2" :rules="rules2" label-position="left" label-width="110px" class="demo-ruleForm">
|
||||||
<el-form-item label="审批是否通过" prop="审批是否通过" center>
|
<el-form-item label="审批是否通过" prop="审批是否通过" center>
|
||||||
<el-select v-model="form2.审批是否通过" size="small" @change="selectChange">
|
<el-select v-model="form2.审批是否通过" size="small" @change="selectChange">
|
||||||
@@ -479,7 +479,9 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
Open(row) {
|
Open(row) {
|
||||||
console.log(row)
|
this.form2.审批是否通过 = 1
|
||||||
|
this.form2.未通过原因 = ''
|
||||||
|
this.disabled = true
|
||||||
this.dialogVisible3 = true
|
this.dialogVisible3 = true
|
||||||
this.ProcurementContractNum = row.采购合同流水号
|
this.ProcurementContractNum = row.采购合同流水号
|
||||||
this.QGNUM = row.请购单流水号
|
this.QGNUM = row.请购单流水号
|
||||||
|
|||||||
@@ -522,9 +522,10 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
tableRowClassName({ row, rowIndex }) {
|
tableRowClassName({ row, rowIndex }) {
|
||||||
if (row.审批情况流水号 === '1') {
|
// if (row.审批情况流水号 === '1') {
|
||||||
return 'adopt'
|
// return 'adopt'
|
||||||
} else if (row.审批情况流水号 === '2') {
|
// } else
|
||||||
|
if (row.审批情况流水号 === '2') {
|
||||||
return 'NotThrough'
|
return 'NotThrough'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user