|
|
|
@ -135,7 +135,7 @@
|
|
|
|
|
<el-select v-model="inputQuery.roleId" placeholder="请选择角色" style="width: 90%" clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in roleList"
|
|
|
|
|
:key="item.roleName"
|
|
|
|
|
:key="item.roleId"
|
|
|
|
|
:label="item.roleName"
|
|
|
|
|
:value="item.roleId">
|
|
|
|
|
<span style="float: left">{{ item.roleName }}</span>
|
|
|
|
@ -245,7 +245,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import {modifyCompany, auditCompany,printSupCert, verifyTemplateFile} from "../../../api/purchase/supCompany";
|
|
|
|
|
import {modifyCompany, auditCompany,printSupCert, verifyTemplateFile,getRoId} from "../../../api/purchase/supCompany";
|
|
|
|
|
import {
|
|
|
|
|
provinceAndCityData,
|
|
|
|
|
regionData,
|
|
|
|
@ -407,6 +407,8 @@ export default {
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
debugger
|
|
|
|
|
this.getRoIds();
|
|
|
|
|
this.getCompanyCertList();
|
|
|
|
|
this.customerlist();
|
|
|
|
|
this.selectedOptions = this.inputQuery.areaCode.split(",");
|
|
|
|
@ -438,7 +440,6 @@ export default {
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
onRejectSubmit() {
|
|
|
|
|
this.$prompt('请输入驳回意见', '提示', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
@ -541,6 +542,13 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
,
|
|
|
|
|
|
|
|
|
|
getRoIds(){
|
|
|
|
|
let params={companyId:this.inputQuery.customerId}
|
|
|
|
|
getRoId(params).then((res) =>{
|
|
|
|
|
debugger
|
|
|
|
|
this.inputQuery.roleId=parseInt(res.data.roleId);
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getCompanyCertList() {
|
|
|
|
|
this.certLoading = true;
|
|
|
|
|
this.certQuery.customerId = this.inputQuery.customerId;
|
|
|
|
|