销算结算校验
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<a-spin :spinning="spinning" tip="加载中...">
|
||||
<div class="page-bg-wrap formViewStyle">
|
||||
<div class="page-bg-wrap formViewStyle" :class="isViewForm ? 'viewPage':''">
|
||||
<a-form ref="formRef" :model="formState" :rules="rules" v-bind="layout">
|
||||
<Card title="合同档案" :bordered="false" >
|
||||
<a-row>
|
||||
@ -230,7 +230,7 @@
|
||||
const formId = ref(currentRoute.value?.params?.id);
|
||||
const pageType = ref(currentRoute.value.query?.type);
|
||||
const pageId = ref(currentRoute.value.query?.id)
|
||||
|
||||
const isViewForm = currentRoute.value.path.includes('viewForm')
|
||||
const contractQty = ref()
|
||||
const spinning = ref(false);
|
||||
const curIdx = ref(null)
|
||||
@ -332,6 +332,9 @@
|
||||
getOption()
|
||||
if (pageId.value) {
|
||||
getInfo(pageId.value)
|
||||
if (currentRoute.value.query?.disabled) {
|
||||
isDisable.value = true
|
||||
}
|
||||
} else {
|
||||
formState.empName = userInfo.name
|
||||
formState.empId = userInfo.id
|
||||
@ -688,5 +691,7 @@
|
||||
padding: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.viewPage {
|
||||
padding: 6px 12px !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user