|
|
@ -389,11 +389,13 @@ |
|
|
<el-footer style="height:35px;margin-top: 10px;padding-bottom:5px;text-align:center"> |
|
|
<el-footer style="height:35px;margin-top: 10px;padding-bottom:5px;text-align:center"> |
|
|
<el-button type="primary" v-if="!detailVisible" @click="saveData">保存</el-button> |
|
|
<el-button type="primary" v-if="!detailVisible" @click="saveData">保存</el-button> |
|
|
<el-button type="primary" @click="modalFlag = false">关闭</el-button> |
|
|
<el-button type="primary" @click="modalFlag = false">关闭</el-button> |
|
|
<template v-if="isAuth('102001001:submit')"> |
|
|
|
|
|
<el-button v-if="modalData.quotationStatus === '审批中'" type="primary" @click="agreeSubmit">同意</el-button> |
|
|
|
|
|
</template> |
|
|
|
|
|
<template v-if="isAuth('102001001:rejected')"> |
|
|
|
|
|
<el-button v-if="modalData.quotationStatus === '审批中' && modalData.isReject === 'Y'" type="primary" @click="rejectVisible = true">驳回</el-button> |
|
|
|
|
|
|
|
|
<template v-if="modalData.approvalUsername && modalData.approvalUsername.split(';').includes($store.state.user.name)"> |
|
|
|
|
|
<template v-if="isAuth('102001001:submit')"> |
|
|
|
|
|
<el-button v-if="modalData.quotationStatus === '审批中'" type="primary" @click="agreeSubmit">同意</el-button> |
|
|
|
|
|
</template> |
|
|
|
|
|
<template v-if="isAuth('102001001:rejected')"> |
|
|
|
|
|
<el-button v-if="modalData.quotationStatus === '审批中' && modalData.isReject === 'Y'" type="primary" @click="rejectVisible = true">驳回</el-button> |
|
|
|
|
|
</template> |
|
|
</template> |
|
|
</template> |
|
|
</el-footer> |
|
|
</el-footer> |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
@ -1484,6 +1486,24 @@ export default { |
|
|
fixed: '', |
|
|
fixed: '', |
|
|
columnWidth: 150 |
|
|
columnWidth: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 102001, |
|
|
|
|
|
serialNumber: '102001Table1ApprovalUsername', |
|
|
|
|
|
tableId: '102001Table1', |
|
|
|
|
|
tableName: '询价信息表', |
|
|
|
|
|
columnProp: 'approvalUsername', |
|
|
|
|
|
headerAlign: 'center', |
|
|
|
|
|
align: 'left', |
|
|
|
|
|
columnLabel: '当前节点审批人', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: '', |
|
|
|
|
|
columnWidth: 150 |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 102001, |
|
|
functionId: 102001, |
|
|
@ -2426,7 +2446,8 @@ export default { |
|
|
rejectFlag: row.rejectFlag, |
|
|
rejectFlag: row.rejectFlag, |
|
|
rejectStepId: row.rejectStepId, |
|
|
rejectStepId: row.rejectStepId, |
|
|
isReject: row.isReject, |
|
|
isReject: row.isReject, |
|
|
nodeId: row.nodeId |
|
|
|
|
|
|
|
|
nodeId: row.nodeId, |
|
|
|
|
|
approvalUsername: row.approvalUsername, |
|
|
} |
|
|
} |
|
|
if (this.modalData.flag !== '1'){ |
|
|
if (this.modalData.flag !== '1'){ |
|
|
this.projectPartData.testPartNo = this.modalData.testPartNo |
|
|
this.projectPartData.testPartNo = this.modalData.testPartNo |
|
|
|