|
@@ -11,11 +11,12 @@
|
|
|
<i class="icon icon-table2"></i> 信息
|
|
<i class="icon icon-table2"></i> 信息
|
|
|
</span>
|
|
</span>
|
|
|
<span style="float: right;">
|
|
<span style="float: right;">
|
|
|
- <el-button type="primary" plain size="mini">年审申请</el-button>
|
|
|
|
|
|
|
+ <el-button type="primary" plain size="mini" :disabled="formDataCert.Status == 0">年审申请</el-button>
|
|
|
<!--v-if="formData.Step>=5"-->
|
|
<!--v-if="formData.Step>=5"-->
|
|
|
- <el-button type="primary" plain size="mini">增项申请</el-button>
|
|
|
|
|
|
|
+ <el-button type="primary" plain size="mini" :disabled="formDataCert.Status == 0">增项申请</el-button>
|
|
|
<router-link :to="'/oilsupplier/supplier/techlist'">
|
|
<router-link :to="'/oilsupplier/supplier/techlist'">
|
|
|
- <el-button type="primary" size="mini" style="margin-left: 8px" v-if="authUser.Profile.IsCompanyUser != 1">返回</el-button>
|
|
|
|
|
|
|
+ <el-button type="primary" size="mini" style="margin-left: 8px" v-if="authUser.Profile.IsCompanyUser != 1">返回
|
|
|
|
|
+ </el-button>
|
|
|
</router-link>
|
|
</router-link>
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -34,10 +35,13 @@
|
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
|
<span>供方基本信息表</span>
|
|
<span>供方基本信息表</span>
|
|
|
<span style="float: right;">
|
|
<span style="float: right;">
|
|
|
- <el-button type="primary" size="mini" @click="saveEntity">保存基本信息</el-button>
|
|
|
|
|
|
|
+ <el-button type="primary" size="mini" @click="saveEntity" v-if="formDataCert.Status == 0">保存基本信息
|
|
|
|
|
+ </el-button>
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
- <basis-info ref="BasisInfo" :formData.sync="formData" :dictData.sync="dictData" :authUser="authUser" :canUpdateSupplier="canUpdateSupplier" @selectcompany="changeFormData" @inputcompany="inputCompany"></basis-info>
|
|
|
|
|
|
|
+ <basis-info ref="BasisInfo" :formData.sync="formData" :dictData.sync="dictData" :authUser="authUser"
|
|
|
|
|
+ :canUpdateSupplier="canUpdateSupplier" @selectcompany="changeFormData" @inputcompany="inputCompany">
|
|
|
|
|
+ </basis-info>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
@@ -46,7 +50,8 @@
|
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
|
<span>企业人员结构情况</span>
|
|
<span>企业人员结构情况</span>
|
|
|
<span style="float: right;">
|
|
<span style="float: right;">
|
|
|
- <el-button type="primary" size="mini" @click="updateNumberEntity">保存人员结构情况</el-button>
|
|
|
|
|
|
|
+ <el-button type="primary" size="mini" @click="updateNumberEntity" v-if="formDataCert.Status == 0">
|
|
|
|
|
+ 保存人员结构情况</el-button>
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
@@ -55,70 +60,70 @@
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="企业员工总数">
|
|
<el-form-item label="企业员工总数">
|
|
|
<el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0"
|
|
<el-input-number v-model="formDataCert.WorkerTotal" controls-position="right" :min="0"
|
|
|
- style="width: 100%"></el-input-number>
|
|
|
|
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="合同化用工数量">
|
|
<el-form-item label="合同化用工数量">
|
|
|
<el-input-number v-model="formDataCert.ContractNum" controls-position="right" :min="0"
|
|
<el-input-number v-model="formDataCert.ContractNum" controls-position="right" :min="0"
|
|
|
- style="width: 100%"></el-input-number>
|
|
|
|
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="大学及以上学历人员数量">
|
|
<el-form-item label="大学及以上学历人员数量">
|
|
|
<el-input-number v-model="formDataCert.UniversityNum" controls-position="right" :min="0"
|
|
<el-input-number v-model="formDataCert.UniversityNum" controls-position="right" :min="0"
|
|
|
- style="width: 100%"></el-input-number>
|
|
|
|
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="技术、管理人员数量">
|
|
<el-form-item label="技术、管理人员数量">
|
|
|
<el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0"
|
|
<el-input-number v-model="formDataCert.TechnicalNum" controls-position="right" :min="0"
|
|
|
- style="width: 100%"></el-input-number>
|
|
|
|
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="高级及以上职称人员数量">
|
|
<el-form-item label="高级及以上职称人员数量">
|
|
|
<el-input-number v-model="formDataCert.AboveProfNum" controls-position="right" :min="0"
|
|
<el-input-number v-model="formDataCert.AboveProfNum" controls-position="right" :min="0"
|
|
|
- style="width: 100%"></el-input-number>
|
|
|
|
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="中级职称人员数量">
|
|
<el-form-item label="中级职称人员数量">
|
|
|
<el-input-number v-model="formDataCert.MiddleProfNum" controls-position="right" :min="0"
|
|
<el-input-number v-model="formDataCert.MiddleProfNum" controls-position="right" :min="0"
|
|
|
- style="width: 100%"></el-input-number>
|
|
|
|
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="具有国家注册执业资格人员数量">
|
|
<el-form-item label="具有国家注册执业资格人员数量">
|
|
|
<el-input-number v-model="formDataCert.NationalRegNum" controls-position="right" :min="0"
|
|
<el-input-number v-model="formDataCert.NationalRegNum" controls-position="right" :min="0"
|
|
|
- style="width: 100%"></el-input-number>
|
|
|
|
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="具有国家注册执业资格证书总数">
|
|
<el-form-item label="具有国家注册执业资格证书总数">
|
|
|
<el-input-number v-model="formDataCert.NationalCertTotal" controls-position="right" :min="0"
|
|
<el-input-number v-model="formDataCert.NationalCertTotal" controls-position="right" :min="0"
|
|
|
- style="width: 100%"></el-input-number>
|
|
|
|
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="设计人员总数">
|
|
<el-form-item label="设计人员总数">
|
|
|
<el-input-number v-model="formDataCert.DesignerTotal" controls-position="right" :min="0"
|
|
<el-input-number v-model="formDataCert.DesignerTotal" controls-position="right" :min="0"
|
|
|
- style="width: 100%"></el-input-number>
|
|
|
|
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
<el-form-item label="技术工人总数">
|
|
<el-form-item label="技术工人总数">
|
|
|
<el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0"
|
|
<el-input-number v-model="formDataCert.SkillerTotal" controls-position="right" :min="0"
|
|
|
- style="width: 100%"></el-input-number>
|
|
|
|
|
|
|
+ style="width: 100%"></el-input-number>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
@@ -128,19 +133,21 @@
|
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
|
<span>企业主要装备情况</span>
|
|
<span>企业主要装备情况</span>
|
|
|
- <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog">添加</el-button>
|
|
|
|
|
|
|
+ <el-button style="float: right; padding: 3px 0" type="text" @click="equipmentdialog"
|
|
|
|
|
+ v-if="formDataCert.Status == 0">添加</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
- <equipment-list ref="equipmentList" :data="equipmentList" :SupplierCertId="certId" height="360px"
|
|
|
|
|
- style="margin-top: 20px"></equipment-list>
|
|
|
|
|
|
|
+ <equipment-list ref="equipmentList" :data.sync="equipmentList" :SupplierCertId="certId"
|
|
|
|
|
+ :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></equipment-list>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
|
<span>近三年主要工程业绩</span>
|
|
<span>近三年主要工程业绩</span>
|
|
|
- <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog">添加</el-button>
|
|
|
|
|
|
|
+ <el-button style="float: right; padding: 3px 0" type="text" @click="performancedialog"
|
|
|
|
|
+ v-if="formDataCert.Status == 0">添加</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
- <performance-list ref="performanceList" :data="performanceList" :SupplierCertId="certId" height="360px"
|
|
|
|
|
- style="margin-top: 20px"></performance-list>
|
|
|
|
|
|
|
+ <performance-list ref="performanceList" :data.sync="performanceList" :SupplierCertId="certId"
|
|
|
|
|
+ :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px"></performance-list>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
@@ -148,42 +155,44 @@
|
|
|
<span>拥有专利、专有技术及工法</span>
|
|
<span>拥有专利、专有技术及工法</span>
|
|
|
<el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog">添加</el-button>
|
|
<el-button style="float: right; padding: 3px 0" type="text" @click="patentdialog">添加</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
- <patent-list ref="patentList" :data="patentList" :SupplierCertId="certId" height="360px"
|
|
|
|
|
- style="margin-top: 20px">
|
|
|
|
|
|
|
+ <patent-list ref="patentList" :data.sync="patentList" :SupplierCertId="certId" :SupplierTypeCode="classId"
|
|
|
|
|
+ :canadd="add_flat" height="360px" style="margin-top: 20px">
|
|
|
</patent-list>
|
|
</patent-list>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
<el-card class="box-card" style="margin-top: 10px;">
|
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
|
<span>近三年获得省部级及以上主要技术、管理成果、获奖项目</span>
|
|
<span>近三年获得省部级及以上主要技术、管理成果、获奖项目</span>
|
|
|
- <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog">添加</el-button>
|
|
|
|
|
|
|
+ <el-button style="float: right; padding: 3px 0" type="text" @click="winningdialog"
|
|
|
|
|
+ v-if="formDataCert.Status == 0">添加</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
- <winning-list ref="winningList" :data="winningList" :SupplierCertId="certId" height="360px"
|
|
|
|
|
- style="margin-top: 20px">
|
|
|
|
|
|
|
+ <winning-list ref="winningList" :data.sync="winningList" :SupplierCertId="certId"
|
|
|
|
|
+ :SupplierTypeCode="classId" :canadd="add_flat" height="360px" style="margin-top: 20px">
|
|
|
</winning-list>
|
|
</winning-list>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
<el-tab-pane label="企业资质" :disabled="!certId">
|
|
<el-tab-pane label="企业资质" :disabled="!certId">
|
|
|
- <business-list ref="businessList" :data="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
|
|
|
|
|
- :SupplierTypeCode="classId" @close="nexStepCB" height="360px" style="margin-top: 20px"></business-list>
|
|
|
|
|
|
|
+ <business-list ref="businessList" :data.sync="businessList" :SupplierCertId="certId" :SupplierId="serviceId"
|
|
|
|
|
+ :SupplierTypeCode="classId" :canadd="add_flat" @close="AuditEntity" height="360px" style="margin-top: 20px">
|
|
|
|
|
+ </business-list>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
- <el-tab-pane label="审批流程">
|
|
|
|
|
|
|
+ <el-tab-pane label="审批流程" v-if="formDataCert.Status > 0">
|
|
|
<el-card class="box-card" style="height: 800px">
|
|
<el-card class="box-card" style="height: 800px">
|
|
|
<div slot="header" class="clearfix">
|
|
<div slot="header" class="clearfix">
|
|
|
<span>审批流程</span>
|
|
<span>审批流程</span>
|
|
|
- <span style="float: right;">
|
|
|
|
|
|
|
+ <!-- <span style="float: right;">
|
|
|
<el-button type="primary" size="mini" :disabled="formDataCert.Status > 0" :loading="applyLoading"
|
|
<el-button type="primary" size="mini" :disabled="formDataCert.Status > 0" :loading="applyLoading"
|
|
|
- @click="AuditEntity">提交审批
|
|
|
|
|
|
|
+ @click="AuditEntity">提交审批
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- </span>
|
|
|
|
|
|
|
+ </span> -->
|
|
|
</div>
|
|
</div>
|
|
|
<wf-history ref="WfHistory" :entryinfo="entrydetail"></wf-history>
|
|
<wf-history ref="WfHistory" :entryinfo="entrydetail"></wf-history>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
- <el-tab-pane label="供方缴费">
|
|
|
|
|
|
|
+ <el-tab-pane label="供方缴费" v-if="formDataCert.Status == 5">
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
</el-tabs>
|
|
|
</el-card>
|
|
</el-card>
|
|
@@ -228,7 +237,7 @@
|
|
|
},
|
|
},
|
|
|
name: 'oilsupplierEdit',
|
|
name: 'oilsupplierEdit',
|
|
|
|
|
|
|
|
- data () {
|
|
|
|
|
|
|
+ data() {
|
|
|
return {
|
|
return {
|
|
|
canUpdateSupplier: true,
|
|
canUpdateSupplier: true,
|
|
|
dictData: null,
|
|
dictData: null,
|
|
@@ -276,6 +285,7 @@
|
|
|
TechServiceLic: '',
|
|
TechServiceLic: '',
|
|
|
TJInNotify: '',
|
|
TJInNotify: '',
|
|
|
SpecIndustryCert: '',
|
|
SpecIndustryCert: '',
|
|
|
|
|
+ BusinessScope: '',
|
|
|
LegalPerson: '',
|
|
LegalPerson: '',
|
|
|
CategoryCode: '',
|
|
CategoryCode: '',
|
|
|
CategoryName: '',
|
|
CategoryName: '',
|
|
@@ -336,6 +346,7 @@
|
|
|
Status: 0,
|
|
Status: 0,
|
|
|
WorkflowId: ''
|
|
WorkflowId: ''
|
|
|
},
|
|
},
|
|
|
|
|
+ add_flat: true,
|
|
|
entrydetail: {
|
|
entrydetail: {
|
|
|
process: 'oil_supplier_apply',
|
|
process: 'oil_supplier_apply',
|
|
|
business: '',
|
|
business: '',
|
|
@@ -343,7 +354,7 @@
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- created () {
|
|
|
|
|
|
|
+ created() {
|
|
|
this.serviceId = this.$route.params.opera + ''
|
|
this.serviceId = this.$route.params.opera + ''
|
|
|
if (this.$route.query.certid) {
|
|
if (this.$route.query.certid) {
|
|
|
this.certId = this.$route.query.certid + ''
|
|
this.certId = this.$route.query.certid + ''
|
|
@@ -357,8 +368,8 @@
|
|
|
this.initDatas()
|
|
this.initDatas()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- inputCompany (val) {
|
|
|
|
|
- if (!this.certId) {//已经关联到子表了,就不能再切换主表ID了
|
|
|
|
|
|
|
+ inputCompany(val) {
|
|
|
|
|
+ if (!this.certId) { //已经关联到子表了,就不能再切换主表ID了
|
|
|
api.getEntityByName(val, this.$axios).then(res => {
|
|
api.getEntityByName(val, this.$axios).then(res => {
|
|
|
if (res.data && res.data.Id) {
|
|
if (res.data && res.data.Id) {
|
|
|
this.SetFormData(res.data)
|
|
this.SetFormData(res.data)
|
|
@@ -368,12 +379,12 @@
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- changeFormData (fdata) {
|
|
|
|
|
|
|
+ changeFormData(fdata) {
|
|
|
if (!this.certId) { //已经关联到子表了,就不能再切换主表ID了
|
|
if (!this.certId) { //已经关联到子表了,就不能再切换主表ID了
|
|
|
this.SetFormData(fdata)
|
|
this.SetFormData(fdata)
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- SetFormData (fdata) {
|
|
|
|
|
|
|
+ SetFormData(fdata) {
|
|
|
this.isCanUpdateSupplier(fdata.Id)
|
|
this.isCanUpdateSupplier(fdata.Id)
|
|
|
this.formData.Id = fdata.Id
|
|
this.formData.Id = fdata.Id
|
|
|
this.formData.SupplierName = fdata.SupplierName
|
|
this.formData.SupplierName = fdata.SupplierName
|
|
@@ -435,7 +446,7 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- isCanUpdateSupplier (supplierId) {
|
|
|
|
|
|
|
+ isCanUpdateSupplier(supplierId) {
|
|
|
api.isCanUpdateSupplier(supplierId, this.$axios).then(res => {
|
|
api.isCanUpdateSupplier(supplierId, this.$axios).then(res => {
|
|
|
this.canUpdateSupplier = (res.data.code === 0)
|
|
this.canUpdateSupplier = (res.data.code === 0)
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
@@ -455,7 +466,7 @@
|
|
|
this.$refs["winningList"].showDialog()
|
|
this.$refs["winningList"].showDialog()
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- initDatas () {
|
|
|
|
|
|
|
+ initDatas() {
|
|
|
this.isCanUpdateSupplier(this.formData.Id)
|
|
this.isCanUpdateSupplier(this.formData.Id)
|
|
|
if (this.formData.Id) {
|
|
if (this.formData.Id) {
|
|
|
api.getEntityAndCert(this.certId, this.$axios).then(res => {
|
|
api.getEntityAndCert(this.certId, this.$axios).then(res => {
|
|
@@ -490,14 +501,18 @@
|
|
|
if (this.certId && this.formDataCert.WorkflowId) {
|
|
if (this.certId && this.formDataCert.WorkflowId) {
|
|
|
this.$refs['WfHistory'].getHistoryTask() /*刷新工作流*/
|
|
this.$refs['WfHistory'].getHistoryTask() /*刷新工作流*/
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ this.$refs["equipmentList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
|
|
|
+ this.$refs["performanceList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
|
|
|
+ this.$refs["patentList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
|
|
|
+ this.$refs["winningList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
|
|
|
+ this.$refs["businessList"].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
console.error(err)
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- getDictOptions () {
|
|
|
|
|
|
|
+ getDictOptions() {
|
|
|
api.getDictList(this.$axios).then(res => {
|
|
api.getDictList(this.$axios).then(res => {
|
|
|
this.dictData = res.data.items
|
|
this.dictData = res.data.items
|
|
|
/*this.UnitRelationOptions = res.data.items['UnitRelation']
|
|
/*this.UnitRelationOptions = res.data.items['UnitRelation']
|
|
@@ -515,7 +530,7 @@
|
|
|
},*/
|
|
},*/
|
|
|
|
|
|
|
|
//保存信息
|
|
//保存信息
|
|
|
- saveEntity () {
|
|
|
|
|
|
|
+ saveEntity() {
|
|
|
this.$refs['BasisInfo'].$refs['EntityForm'].validate((valid) => {
|
|
this.$refs['BasisInfo'].$refs['EntityForm'].validate((valid) => {
|
|
|
if (valid) {
|
|
if (valid) {
|
|
|
if (!this.formData.SetupTime) {
|
|
if (!this.formData.SetupTime) {
|