|
|
@@ -40,12 +40,12 @@
|
|
|
<div slot="header" class="clearfix">
|
|
|
<span>供方基本信息表</span>
|
|
|
<span style="float: right;">
|
|
|
- <el-button type="primary" size="mini" @click="saveEntity" v-if="formDataCert.Status == 0">保存基本信息
|
|
|
+ <el-button type="primary" size="mini" @click="saveEntity">保存基本信息
|
|
|
</el-button>
|
|
|
</span>
|
|
|
</div>
|
|
|
<goods-info ref="GoodsInfo" :formData.sync="formData" :dictData.sync="dictData" :authUser="authUser"
|
|
|
- :canUpdateSupplier="canUpdateSupplier" @selectcompany="changeFormData" @inputcompany="inputCompany">
|
|
|
+ :canUpdateSupplier="canUpdateSupplier" :appendStatus="appendStatus" @selectcompany="changeFormData" @inputcompany="inputCompany">
|
|
|
</goods-info>
|
|
|
</el-card>
|
|
|
</el-tab-pane>
|
|
|
@@ -338,6 +338,7 @@
|
|
|
IsCompanyUser: 0,
|
|
|
dialogVisible: false,
|
|
|
canUpdateSupplier: true,
|
|
|
+ appendStatus: true,
|
|
|
dictData: null,
|
|
|
applyLoading: false,
|
|
|
equipmentList: [], // 企业主要设备
|
|
|
@@ -726,7 +727,7 @@
|
|
|
|
|
|
isCanUpdateSupplier (supplierId) {
|
|
|
api.isCanUpdateSupplier(supplierId, this.$axios).then(res => {
|
|
|
- this.canUpdateSupplier = (res.data.code === 0)
|
|
|
+ this.canUpdateSupplier = true
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
})
|