Commit ba5e48c3 authored by zhengyi's avatar zhengyi

供应商详情缺失字段补充

parent adffe0db
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
:autosize="{minRows: 4, maxRows: 4}" class="w-500" readonly></el-input> :autosize="{minRows: 4, maxRows: 4}" class="w-500" readonly></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div> <div>
<el-form-item v-if="formData.areaType==0" :label="$t('供应商类别')" prop="companyType"> <el-form-item v-if="formData.areaType==0" :label="$t('供应商类别')" prop="companyType">
<dict-selector v-model="formData.companyTypeArr" type="company_type" multiple disabled /> <dict-selector v-model="formData.companyTypeArr" type="company_type" multiple disabled />
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</div> </div>
<div v-if="formData.areaType==0"> <div v-if="formData.areaType==0">
<el-form-item :label="$t('营业执照')" prop="license"> <el-form-item :label="$t('营业执照')" prop="license">
<el-image v-show="formData.license" :src="formData.license" style="width: 146px;height: 146px"></el-image> <el-image v-show="formData.license" :src="formData.license" style="width: 146px;height: 146px"></el-image>
...@@ -136,6 +136,7 @@ ...@@ -136,6 +136,7 @@
<el-input v-model="formData.resourceVO.badCooperationRecord" :placeholder="$t('请输入合作不良记录登记')" show-word-limit clearable readonly></el-input> <el-input v-model="formData.resourceVO.badCooperationRecord" :placeholder="$t('请输入合作不良记录登记')" show-word-limit clearable readonly></el-input>
</el-form-item> </el-form-item>
</div> </div>
</el-card> </el-card>
<div v-if="formData.areaType==0"> <div v-if="formData.areaType==0">
<el-card class="mt-10"> <el-card class="mt-10">
...@@ -192,7 +193,7 @@ ...@@ -192,7 +193,7 @@
</el-table> </el-table>
</el-card> </el-card>
</div> </div>
<div v-if="formData.areaType==1"> <div v-if="formData.areaType==1">
...@@ -283,6 +284,11 @@ ...@@ -283,6 +284,11 @@
<el-input v-model="formData.externalVO.badCooperationRecord" :placeholder="$t('请输入合作不良记录登记')" show-word-limit clearable readonly></el-input> <el-input v-model="formData.externalVO.badCooperationRecord" :placeholder="$t('请输入合作不良记录登记')" show-word-limit clearable readonly></el-input>
</el-form-item> </el-form-item>
</div> </div>
<div>
<el-form-item :label="$t('TIN NO./RC NO.')" prop="tinNoRcNo" label-width="250">
<el-input v-model="formData.externalVO.tinNoRcNo" :placeholder="$t('请输入TIN NO./RC NO.')" type="textarea" style="width: 300px;" show-word-limit clearable></el-input>
</el-form-item>
</div>
</div> </div>
<el-form-item size="large" class="mt-20"> <el-form-item size="large" class="mt-20">
<el-button @click="$router.back()">{{$t('返回')}}</el-button> <el-button @click="$router.back()">{{$t('返回')}}</el-button>
...@@ -416,14 +422,14 @@ export default { ...@@ -416,14 +422,14 @@ export default {
getListTree({treeType: 1}).then(response => { getListTree({treeType: 1}).then(response => {
this.treeList = response.data this.treeList = response.data
}) })
this.getFile() this.getFile()
if(this.$route.query.id){ if(this.$route.query.id){
getSupplier(this.$route.query.id).then(response => { getSupplier(this.$route.query.id).then(response => {
/* response.data.companyType = response.data.companyType.split(",") || [] */ /* response.data.companyType = response.data.companyType.split(",") || [] */
this.formData = response.data this.formData = response.data
this.$set(this.formData, 'companyTypeArr', this.strToArray(response.data.companyType)) this.$set(this.formData, 'companyTypeArr', this.strToArray(response.data.companyType))
this.$set(this.formData, 'dockIds', this.strToArray(response.data.dockIds)) this.$set(this.formData, 'dockIds', this.strToArray(response.data.dockIds))
this.$set(this.formData, 'priceAdvantage', response.data.priceAdvantage==0?'':response.data.priceAdvantage) this.$set(this.formData, 'priceAdvantage', response.data.priceAdvantage==0?'':response.data.priceAdvantage)
...@@ -478,7 +484,7 @@ export default { ...@@ -478,7 +484,7 @@ export default {
} }
}); });
} }
}, },
mounted() {}, mounted() {},
methods: { methods: {
...@@ -605,6 +611,6 @@ export default { ...@@ -605,6 +611,6 @@ export default {
} }
.supplier-item{ .supplier-item{
margin-left: 30px; margin-left: 30px;
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment