This commit is contained in:
Vergil
2020-04-02 17:42:27 +08:00
parent e774a30e7c
commit 366012efde
4 changed files with 13 additions and 16 deletions

View File

@@ -204,7 +204,7 @@
</el-card>
<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-col :span="12">
<el-form-item label="到票号" prop="invoiceNum">

View File

@@ -196,18 +196,12 @@
</div>
</el-card>
<el-dialog v-el-drag-dialog :title="title" :visible.sync="dialogFormVisible1" center style="min-height: 300px" width="800px">
<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="110px" class="demo-ruleForm">
<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="right" label-width="80px" class="demo-ruleForm">
<el-row>
<el-col :span="12">
<el-form-item label="物料类别" prop="物料类别流水号">
<el-select
v-model="form.物料类别流水号"
style="width:200px"
placeholder="请选择"
size="small"
clearable
@change="searchMaterialVariety1">
<el-select v-model="form.物料类别流水号" style="width:200px" placeholder="请选择" size="small" clearable @change="searchMaterialVariety1">
<el-option
v-for="item in MaterialCategory1"
:key="item.value"

View File

@@ -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.请购单流水号

View File

@@ -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'
}
},