|
|
@@ -11,459 +11,19 @@
|
|
|
<i class="icon icon-table2"></i> 编辑
|
|
|
</span>
|
|
|
<span style="float: right;">
|
|
|
- <el-button type="primary" size="mini" @click="submitInfoChange" v-if="(InfoStatus == 0 || InfoStatus == '') && !butnab">提交申请</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="submitInfoChange"
|
|
|
+ v-if="(InfoStatus == 0 || InfoStatus == '') && butnab">提交申请</el-button>
|
|
|
<router-link :to="'/oilsupplier/infochange'">
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px">返回</el-button>
|
|
|
</router-link>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <!-- <el-form label-width="240px" ref="EntityForm" :model="formData">
|
|
|
- <div slot="header" class="clearfix">
|
|
|
- <span>供方基本信息表</span>
|
|
|
- <span style="float: right;">
|
|
|
- <el-button type="primary" size="mini" @click="saveEntity">保存</el-button>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- <el-form label-width="140px" ref="EntityForm" :model="formData">
|
|
|
- <el-row>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="曾用供方名称">
|
|
|
- <el-input v-model="formData.SupplierName" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.SupplierName" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="单位关系">
|
|
|
- <el-select ref="SpecType" multiple v-model="UnitRelationAry" filterable placeholder="请选择"
|
|
|
- style="width: 100%" :disabled = "true">
|
|
|
- <el-option v-for="item in UnitRelationOptions" :key="item.Id" :label="item.Key" :value="item.Value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-select ref="SpecType" multiple v-model="UnitRelationAry" filterable placeholder="请选择"
|
|
|
- style="width: 100%" >
|
|
|
- <el-option v-for="item in UnitRelationOptions" :key="item.Id" :label="item.Key" :value="item.Value">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="统一社会信用代码">
|
|
|
- <el-input v-model="formData.CommercialNo" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.CommercialNo" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="税务登记证编号">
|
|
|
- <el-input v-model="formData.CountryTaxNo" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.CountryTaxNo" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="组织机构代码">
|
|
|
- <el-input v-model="formData.OrganCode" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.OrganCode" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="注册地址" prop="Province">
|
|
|
- <el-row>
|
|
|
- <el-col :span="10">
|
|
|
- <el-cascader :options="countryoptions" :props="countryprops" maxlength="20" placeholder="省市区"
|
|
|
- v-model="CityAry" style="width: 100%" @change="handleAreaChange" :disabled = "true">
|
|
|
- </el-cascader>
|
|
|
- </el-col>
|
|
|
- <el-col :span="14">
|
|
|
- <el-input v-model="formData.Address" maxlength="500" :disabled = "true"
|
|
|
- placeholder="详细地址" style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:" prop="Province">
|
|
|
- <el-row>
|
|
|
- <el-col :span="10">
|
|
|
- <el-cascader :options="countryoptions" :props="countryprops" maxlength="20" placeholder="省市区"
|
|
|
- v-model="CityAry" style="width: 100%" @change="handleAreaChange">
|
|
|
- </el-cascader>
|
|
|
- </el-col>
|
|
|
- <el-col :span="14">
|
|
|
- <el-input v-model="formData.Address" maxlength="500"
|
|
|
- placeholder="详细地址" style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="邮编" prop="ZipCode">
|
|
|
- <el-input v-model="formData.ZipCode" maxlength="20" placeholder="请输入" :disabled = "true"
|
|
|
- style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:" prop="ZipCode">
|
|
|
- <el-input v-model="formData.ZipCode" maxlength="20" placeholder="请输入"
|
|
|
- style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="通信地址" prop="LinkProvince">
|
|
|
- <el-row>
|
|
|
- <el-col :span="10">
|
|
|
- <el-cascader :options="countryoptions" :props="countryprops" placeholder="省市区" v-model="LinkCityAry"
|
|
|
- maxlength="20" style="width: 100%" @change="handleLinkAreaChange" :disabled = "true">
|
|
|
- </el-cascader>
|
|
|
- </el-col>
|
|
|
- <el-col :span="14">
|
|
|
- <el-input v-model="formData.LinkAddress" maxlength="500" :disabled = "true"
|
|
|
- placeholder="详细地址" style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:" prop="LinkProvince">
|
|
|
- <el-row>
|
|
|
- <el-col :span="10">
|
|
|
- <el-cascader :options="countryoptions" :props="countryprops" placeholder="省市区" v-model="LinkCityAry"
|
|
|
- maxlength="20" style="width: 100%" @change="handleLinkAreaChange">
|
|
|
- </el-cascader>
|
|
|
- </el-col>
|
|
|
- <el-col :span="14">
|
|
|
- <el-input v-model="formData.LinkAddress" maxlength="500"
|
|
|
- placeholder="详细地址" style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="邮编" prop="LinkZipCode">
|
|
|
- <el-input v-model="formData.LinkZipCode" maxlength="20" placeholder="请输入" :disabled = "true"
|
|
|
- style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:" prop="LinkZipCode">
|
|
|
- <el-input v-model="formData.LinkZipCode" maxlength="20" placeholder="请输入"
|
|
|
- style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
-
|
|
|
- <el-form label-width="140px" ref="EntityFormLic" :model="formData">
|
|
|
- <el-row>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="法定代表人姓名">
|
|
|
- <el-input v-model="formData.LegalPerson" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.LegalPerson" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="行业类别">
|
|
|
- <el-input v-model="formData.CategoryCode" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.CategoryCode" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="注册资本">
|
|
|
- <el-input v-model="formData.RegCapital" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.RegCapital" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="联系人姓名">
|
|
|
- <el-input v-model="formData.ContactName" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.ContactName" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="币种">
|
|
|
- <el-input v-model="formData.Currency" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.Currency" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="公司类型">
|
|
|
- <el-input v-model="formData.CompanyType" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.CompanyType" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="成立时间">
|
|
|
- <el-input v-model="formData.SetupTime" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.SetupTime" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="开户银行">
|
|
|
- <el-input v-model="formData.DepositBank" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.DepositBank" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="银行账号">
|
|
|
- <el-input v-model="formData.BankAccount" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.BankAccount" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="移动电话">
|
|
|
- <el-input v-model="formData.Mobile" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.Mobile" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="固定电话">
|
|
|
- <el-input v-model="formData.Telphone" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.Telphone" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="传真">
|
|
|
- <el-input v-model="formData.Fax" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.Fax" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="公司电话">
|
|
|
- <el-input v-model="formData.CompanyTel" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.CompanyTel" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="电子邮箱">
|
|
|
- <el-input v-model="formData.EMail" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.EMail" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="QQ号码">
|
|
|
- <el-input v-model="formData.QQ" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.QQ" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="银行信用等级">
|
|
|
- <el-input v-model="formData.BankCreditRating" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.BankCreditRating" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="公司网址">
|
|
|
- <el-input v-model="formData.CompanyUrl" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.CompanyUrl" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="HSE审查培训">
|
|
|
- <el-input v-model="formData.CompanyUrl" placeholder="请输入" style="width: 100%" :disabled = "true"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.CompanyUrl" placeholder="请输入" style="width: 100%"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
-
|
|
|
- <el-form label-position="top" ref="EntityFormCert" :model="formData">
|
|
|
- <el-row :gutter="60">
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="质量管理体系认证情况">
|
|
|
- <el-input v-model="formData.QualitySystemCert" placeholder="请输入" type="textarea" style="width: 100%" :disabled = "true">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.QualitySystemCert" placeholder="请输入" type="textarea" style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="企业资质证书(编号 级别)">
|
|
|
- <el-input v-model="formData.QualifCert" placeholder="请输入" type="textarea" style="width: 100%" :disabled = "true">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.QualifCert" placeholder="请输入" type="textarea" style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="安全生产许可证">
|
|
|
- <el-input v-model="formData.SafetyLicense" placeholder="请输入" type="textarea" style="width: 100%" :disabled = "true">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.SafetyLicense" placeholder="请输入" type="textarea" style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="行业特殊要求的认证证书">
|
|
|
- <el-input v-model="formData.SpecIndustryCert" placeholder="请输入" type="textarea" style="width: 100%" :disabled = "true">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.SpecIndustryCert" placeholder="请输入" type="textarea" style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="营业范围">
|
|
|
- <el-input v-model="formData.QualitySystemCert" placeholder="请输入" type="textarea" style="width: 100%" :disabled = "true">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="现变更为:">
|
|
|
- <el-input v-model="formData.QualitySystemCert" placeholder="请输入" type="textarea" style="width: 100%">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
- </el-form> -->
|
|
|
<el-card>
|
|
|
<div slot="header" class="clearfix" style="height:10px">
|
|
|
<span style="font-weight:bold;">信息变更</span>
|
|
|
- <el-button style="float: right;" size="mini" type="primary" @click="addchange" :disabled="butnab">添加变更</el-button>
|
|
|
+ <el-button style="float: right;" size="mini" type="primary" @click="addchange" :disabled="butnab">添加变更
|
|
|
+ </el-button>
|
|
|
</div>
|
|
|
<el-table :data="InfoData" border style="width: 100%">
|
|
|
<el-table-column label="操作" min-width="90" align="center" fixed>
|
|
|
@@ -512,29 +72,26 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<el-dialog title="提交申请" :visible.sync="commitshow" width="360px">
|
|
|
- <el-form label-width="90px" :model="entityForm" :rules="rules" ref="EntityFormref">
|
|
|
+ <el-form label-width="90px" :model="entityForm" ref="EntityFormref">
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
- <el-form-item label="审批单位" prop="FirstAudit" required>
|
|
|
- <el-cascader :options="orgtreelist" :props="orgtreeprops" change-on-select :show-all-levels="false"
|
|
|
- filterable @change="auditOrgChang" style="width: 100%" v-model="entityForm.FirstAudit"
|
|
|
- placeholder="请选择组织"></el-cascader>
|
|
|
- <!-- <el-select ref="selectauditOrg" v-model="entityForm.FirstAudit" placeholder="请选择" style="width: 100%"
|
|
|
- @change="auditOrgChang" filterable allow-create default-first-option>
|
|
|
- <el-option v-for="item in organizeOption" :key="item.id" :label="item.name" :value="item.id">
|
|
|
- </el-option>
|
|
|
- </el-select> -->
|
|
|
+ <el-form-item label="审批人" prop="auditer">
|
|
|
+ <el-input ref="selectAuditer" readonly v-model="auditerName" placeholder="请选择审批人">
|
|
|
+ <el-button slot="append" icon="el-icon-search" @click="chooseAuditorShow"></el-button>
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="审批人" prop="auditer" required>
|
|
|
+ <!-- <el-form-item label="审批人" prop="auditer" required>
|
|
|
<el-select ref="selectAuditer" v-model="entityForm.auditer" placeholder="请选择" style="width: 100%"
|
|
|
filterable allow-create default-first-option>
|
|
|
<el-option v-for="item in auditerOption" :key="item.id" :label="item.realname" :value="item.id">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
+ </el-form-item> -->
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="说明">
|
|
|
+ <el-input v-model="entityForm.Remark" type="textarea" placeholder="请输入说明内容">
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -545,6 +102,8 @@
|
|
|
</span>
|
|
|
<br>
|
|
|
</el-dialog>
|
|
|
+ <choose-auditor ref="chooseAuditor" @close="setAuditer" @hideChooseAuditer="chooseAuditorVisible=false"
|
|
|
+ :visible="chooseAuditorVisible"></choose-auditor>
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
|
@@ -555,7 +114,11 @@
|
|
|
} from 'vuex'
|
|
|
import supplierapi from '@/api/oilsupplier/supplier';
|
|
|
import api from '@/api/oilsupplier/infochange';
|
|
|
+ import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
|
|
|
export default {
|
|
|
+ components: {
|
|
|
+ ChooseAuditor
|
|
|
+ },
|
|
|
computed: {
|
|
|
...mapGetters({
|
|
|
authUser: 'authUser'
|
|
|
@@ -587,7 +150,10 @@
|
|
|
label: 'Fullname',
|
|
|
children: 'children'
|
|
|
},
|
|
|
- supplierId:'',
|
|
|
+ chooseAuditorVisible: false,
|
|
|
+ auditer: '',
|
|
|
+ auditerName: '',
|
|
|
+ supplierId: '',
|
|
|
auditerOption: [],
|
|
|
commitshow: false,
|
|
|
InfoData: [],
|
|
|
@@ -619,29 +185,18 @@
|
|
|
SupplierTypeName: '',
|
|
|
FirstAudit: '',
|
|
|
auditer: '',
|
|
|
- },
|
|
|
- rules: {
|
|
|
- FirstAudit: [{
|
|
|
- required: true,
|
|
|
- message: '请选择初审单位',
|
|
|
- trigger: 'blur'
|
|
|
- }],
|
|
|
- auditer: [{
|
|
|
- required: true,
|
|
|
- message: '请选择审批人',
|
|
|
- trigger: 'blur'
|
|
|
- }]
|
|
|
+ Remark: ''
|
|
|
},
|
|
|
InfoStatus: '',
|
|
|
- butnab: false,
|
|
|
+ butnab: true,
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
this.serviceId = this.$route.params.opera
|
|
|
this.supplierId = this.serviceId
|
|
|
this.InfoStatus = this.$route.query.InfoStatus
|
|
|
- if (this.InfoStatus != 0){
|
|
|
- this.butnab = true
|
|
|
+ if (this.QualStatus > 0) {
|
|
|
+ this.butnab = false
|
|
|
}
|
|
|
this.initDatas()
|
|
|
},
|
|
|
@@ -712,6 +267,7 @@
|
|
|
//保存成功后,初始化数据,变成修改
|
|
|
this.infochangeForm.Id = res.data.item;
|
|
|
this.initDatas();
|
|
|
+ this.butnab = true
|
|
|
this.AddChangeShow = false
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
@@ -728,6 +284,15 @@
|
|
|
console.error(err)
|
|
|
});
|
|
|
},
|
|
|
+ setAuditer(val, name) {
|
|
|
+ this.auditer = val
|
|
|
+ this.auditerName = name
|
|
|
+ this.chooseAuditorVisible = false
|
|
|
+ },
|
|
|
+ chooseAuditorShow() {
|
|
|
+ this.$refs['chooseAuditor'].getorgtreelist()
|
|
|
+ this.chooseAuditorVisible = true
|
|
|
+ },
|
|
|
getorgtreelist() {
|
|
|
let _this = this
|
|
|
let params = {
|
|
|
@@ -743,38 +308,20 @@
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|
|
|
- auditOrgChang(val) {
|
|
|
- console.log("------val----", val)
|
|
|
- this.auditerOption = []
|
|
|
- this.entityForm.auditer = ''
|
|
|
- let auditstepcode = 'FIRST_TRIAL'
|
|
|
- supplierapi.getAuditerByDept(val[val.length - 1], auditstepcode, this.$axios).then(res => {
|
|
|
- // if (res.data.item.length === 0) {
|
|
|
- // this.$message({
|
|
|
- // type: 'warning',
|
|
|
- // message: '该单位未设置审批人员!'
|
|
|
- // })
|
|
|
- // return
|
|
|
- // }
|
|
|
- console.log("---res.data.item--", res.data.item)
|
|
|
- this.auditerOption = res.data.item
|
|
|
- }).catch(err => {
|
|
|
- console.error(err)
|
|
|
- })
|
|
|
- },
|
|
|
//提交信息变更审核
|
|
|
submitInfoChange() {
|
|
|
this.getorgtreelist()
|
|
|
this.commitshow = true
|
|
|
},
|
|
|
addInfoChangeAudit() {
|
|
|
- console.log("==this.supplierId====",this.supplierId)
|
|
|
- api.auditEntity(this.supplierId, this.entityForm.auditer, this.$axios).then(res => {
|
|
|
+ this.entityForm.auditer = this.auditer
|
|
|
+ console.log("==this.supplierId====", this.supplierId)
|
|
|
+ api.auditEntity(this.supplierId, this.entityForm, this.$axios).then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
// 保存成功后,初始化数据,变成修改
|
|
|
this.initDatas()
|
|
|
this.commitshow = false
|
|
|
- this.butnab = true
|
|
|
+ this.butnab = false
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: res.data.message
|
|
|
@@ -809,19 +356,6 @@
|
|
|
console.error(err)
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
- // handleAreaChange(value) {
|
|
|
- // this.formData.Province = value[0]
|
|
|
- // this.formData.City = value[1]
|
|
|
- // this.formData.Street = value[2]
|
|
|
- // //this.formData.ZipCode = value[2]
|
|
|
- // },
|
|
|
- // handleLinkAreaChange(value) {
|
|
|
- // this.formData.LinkProvince = value[0]
|
|
|
- // this.formData.LinkCity = value[1]
|
|
|
- // this.formData.LinkStreet = value[2]
|
|
|
- // //this.formData.LinkZipCode = value[2]
|
|
|
- // },
|
|
|
getCityList(val) {
|
|
|
let resultData = JSON.parse(val)
|
|
|
let countstr = JSON.stringify(resultData.districts[0].districts)
|