|
@@ -136,7 +136,20 @@
|
|
<table class="table-wrap" >
|
|
<table class="table-wrap" >
|
|
<tbody>
|
|
<tbody>
|
|
<tr>
|
|
<tr>
|
|
- <td class="table-item width-50">所属公司:{{detail.SealDetail.AffiliatedCompany}}</td>
|
|
|
|
|
|
+ <td class="table-item width-50">
|
|
|
|
+ <p v-if="detail.OpButton.CheckEdit">
|
|
|
|
+ <span>所属公司:</span>
|
|
|
|
+ <el-select v-model="approvalEditData.AffiliatedCompany" placeholder="请选择">
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in belongCompanyOption"
|
|
|
|
+ :key="item"
|
|
|
|
+ :label="item"
|
|
|
|
+ :value="item">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </p>
|
|
|
|
+ <p v-else>所属公司:{{detail.SealDetail.AffiliatedCompany}}</p>
|
|
|
|
+ </td>
|
|
<td class="table-item width-50">
|
|
<td class="table-item width-50">
|
|
<p v-if="detail.OpButton.CheckEdit">
|
|
<p v-if="detail.OpButton.CheckEdit">
|
|
<span>用印用途:</span>
|
|
<span>用印用途:</span>
|
|
@@ -312,6 +325,7 @@ export default {
|
|
this.optList=[]
|
|
this.optList=[]
|
|
this.stepArr=[]
|
|
this.stepArr=[]
|
|
this.approvalEditData={
|
|
this.approvalEditData={
|
|
|
|
+ AffiliatedCompany:'',//所属公司
|
|
Use:'',//用印用途
|
|
Use:'',//用印用途
|
|
Type:'',//加盖印章 类型
|
|
Type:'',//加盖印章 类型
|
|
FileNum:'',//文件份数
|
|
FileNum:'',//文件份数
|
|
@@ -381,6 +395,7 @@ export default {
|
|
optList:[],
|
|
optList:[],
|
|
stepArr:[],//审批流程数据
|
|
stepArr:[],//审批流程数据
|
|
approvalEditData:{
|
|
approvalEditData:{
|
|
|
|
+ AffiliatedCompany:'',//所属公司
|
|
Use:'',//用印用途
|
|
Use:'',//用印用途
|
|
Type:'',//加盖印章 类型
|
|
Type:'',//加盖印章 类型
|
|
FileNum:'',//文件份数
|
|
FileNum:'',//文件份数
|
|
@@ -483,8 +498,10 @@ export default {
|
|
this.getSealOprationList(e.SealId)
|
|
this.getSealOprationList(e.SealId)
|
|
const res=await sealInterence.getSealDetail({SealId:e.SealId})
|
|
const res=await sealInterence.getSealDetail({SealId:e.SealId})
|
|
if(res.Ret==200){
|
|
if(res.Ret==200){
|
|
|
|
+ console.log(res.Data)
|
|
this.showDetail=true
|
|
this.showDetail=true
|
|
this.detail=res.Data
|
|
this.detail=res.Data
|
|
|
|
+ this.approvalEditData.AffiliatedCompany=res.Data.SealDetail.AffiliatedCompany
|
|
this.approvalEditData.Use=res.Data.SealDetail.Use
|
|
this.approvalEditData.Use=res.Data.SealDetail.Use
|
|
this.approvalEditData.Type=res.Data.SealDetail.SealType.split(',')
|
|
this.approvalEditData.Type=res.Data.SealDetail.SealType.split(',')
|
|
this.approvalEditData.FileNum=res.Data.SealDetail.FileNum
|
|
this.approvalEditData.FileNum=res.Data.SealDetail.FileNum
|
|
@@ -629,7 +646,8 @@ export default {
|
|
const flag2=Number(this.approvalEditData.FileNum)===Number(this.detail.SealDetail.FileNum)
|
|
const flag2=Number(this.approvalEditData.FileNum)===Number(this.detail.SealDetail.FileNum)
|
|
const flag3=this.approvalEditData.Type.join(',')===this.detail.SealDetail.SealType
|
|
const flag3=this.approvalEditData.Type.join(',')===this.detail.SealDetail.SealType
|
|
const flag4=this.approvalEditData.Remark===this.detail.SealDetail.Remark
|
|
const flag4=this.approvalEditData.Remark===this.detail.SealDetail.Remark
|
|
- if(flag1&&flag2&&flag3&&flag4){
|
|
|
|
|
|
+ const flag5=this.approvalEditData.AffiliatedCompany===this.detail.SealDetail.AffiliatedCompany
|
|
|
|
+ if(flag1&&flag2&&flag3&&flag4&&flag5){
|
|
this.handleApprovalPass()
|
|
this.handleApprovalPass()
|
|
}else{
|
|
}else{
|
|
this.handleApprovePassModify()
|
|
this.handleApprovePassModify()
|
|
@@ -673,6 +691,7 @@ export default {
|
|
Remark:this.approvalEditData.Remark,
|
|
Remark:this.approvalEditData.Remark,
|
|
SealType:this.approvalEditData.Type.join(','),
|
|
SealType:this.approvalEditData.Type.join(','),
|
|
Use:this.approvalEditData.Use,
|
|
Use:this.approvalEditData.Use,
|
|
|
|
+ AffiliatedCompany:this.approvalEditData.AffiliatedCompany,
|
|
})
|
|
})
|
|
if(res.Ret==200){
|
|
if(res.Ret==200){
|
|
this.$message.success('审批成功')
|
|
this.$message.success('审批成功')
|