|
|
@@ -1,193 +1,202 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <el-breadcrumb class="heading">
|
|
|
- <el-breadcrumb-item :to="{ path: '/' }">平台首页</el-breadcrumb-item>
|
|
|
- <el-breadcrumb-item :to="{ path: '/oilsupplier/annualaudit' }">年审申请表</el-breadcrumb-item>
|
|
|
- </el-breadcrumb>
|
|
|
- <el-card class="box-card" style="height: calc(100vh - 115px);">
|
|
|
- <div slot="header">
|
|
|
- <span>
|
|
|
- <i class="icon icon-table2"></i> 年审申请表
|
|
|
- </span>
|
|
|
- <!-- <span style="float: right;">
|
|
|
+ <div v-if="IsCompanyUser == 0 || (IsCompanyUser == 1 && suplen > 0)">
|
|
|
+ <el-breadcrumb class="heading">
|
|
|
+ <el-breadcrumb-item :to="{ path: '/' }">平台首页</el-breadcrumb-item>
|
|
|
+ <el-breadcrumb-item :to="{ path: '/oilsupplier/annualaudit' }">年审申请表</el-breadcrumb-item>
|
|
|
+ </el-breadcrumb>
|
|
|
+ <el-card class="box-card" style="height: calc(100vh - 115px);">
|
|
|
+ <div slot="header">
|
|
|
+ <span>
|
|
|
+ <i class="icon icon-table2"></i> 年审申请表
|
|
|
+ </span>
|
|
|
+ <!-- <span style="float: right;">
|
|
|
<el-button type="primary" size="mini" style="margin-left:10px; margin-top: -4px;" @click="addaudit">添加
|
|
|
</el-button>
|
|
|
</span> -->
|
|
|
- <el-form ref="form" :inline="true" style="float: right; margin-top: -10px">
|
|
|
- <el-form-item label="年审日期">
|
|
|
- <el-date-picker size="mini" style="width: 220px" v-model="CreateOn" type="daterange" range-separator="至"
|
|
|
- start-placeholder="生成日期" end-placeholder="结束日期"></el-date-picker>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item label="准入类别">
|
|
|
- <el-select size="mini" style="width:100px" v-model="searchForm.SupplierTypeName" placeholder="准入类别">
|
|
|
- <el-option label="物资类" value="01"></el-option>
|
|
|
- <el-option label="技术服务类" value="03"></el-option>
|
|
|
- <el-option label="基建类" value="02"></el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- <el-form-item>
|
|
|
- <el-dropdown split-button type="primary" size="mini" @click="handleSearch" @command="searchCommand">
|
|
|
- 查询
|
|
|
- <el-dropdown-menu slot="dropdown">
|
|
|
- <el-dropdown-item command="search">高级查询</el-dropdown-item>
|
|
|
- <el-dropdown-item command="clear">查询重置</el-dropdown-item>
|
|
|
- </el-dropdown-menu>
|
|
|
- </el-dropdown>
|
|
|
- </el-form-item>
|
|
|
- </el-form>
|
|
|
- </div>
|
|
|
- <el-table :data="entityList" size="mini" border height="calc(100vh - 243px)" style="width: 100%" @sort-change="orderby">
|
|
|
- <el-table-column label="操作" min-width="180" align="center" fixed="right">
|
|
|
- <template slot-scope="scope">
|
|
|
- <router-link
|
|
|
- :to="'/oilsupplier/annualaudit/' + scope.row.SupplierId + '/' + (scope.row.SupplierTypeName === '01' ? 'goodsoperation' : (scope.row.SupplierTypeName === '02' ? 'bassicoperation' : 'operation'))+'?certid=' + scope.row.CerId +'&WorkflowId='+scope.row.WorkflowId+'&Status='+scope.row.Status+'&Step='+scope.row.Step+'&annualId='+scope.row.Id">
|
|
|
- <el-button type="primary" plain title="查看详情" size="mini">打开</el-button>
|
|
|
- </router-link>
|
|
|
- <el-dropdown @command="MoreCmdClick">
|
|
|
- <el-button size="mini" type="primary" plain style="margin-left:5px;">
|
|
|
- 更多<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
- </el-button>
|
|
|
- <el-dropdown-menu slot="dropdown">
|
|
|
- <el-dropdown-item :command="GetCommand('History', scope.row)">审批流程</el-dropdown-item>
|
|
|
- <el-dropdown-item :command="GetCommand('Delete', scope.row)" :disabled="scope.row.Status != 0" divided>
|
|
|
- 删除数据</el-dropdown-item>
|
|
|
- </el-dropdown-menu>
|
|
|
- </el-dropdown>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
-
|
|
|
- <el-table-column prop="RecUnitId" label="推荐单位编码" sortable min-width="130" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="AccessCardNo" label="准入证号" sortable min-width="110" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="SupplierTypeName" label="准入类别" sortable min-width="110" align="center"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ checkSupplierTypeName(scope.row.SupplierTypeName) }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="SupplierName" label="企业名称" sortable min-width="130" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <!-- <el-table-column prop="OrganCode" label="组织机构代码" sortable min-width="130" align="center" show-overflow-tooltip>
|
|
|
- </el-table-column> -->
|
|
|
- <el-table-column sortable min-width="110" align="center" prop="Status" label="审核状态">
|
|
|
- <template slot-scope="scope">
|
|
|
- <span v-if="scope.row.Status=='0'" style="color:#E6A23C">待提交</span>
|
|
|
- <span v-if="scope.row.Status=='1'" style="color:#E6A23C">待初审</span>
|
|
|
- <span v-if="scope.row.Status=='-1'" style="color:#F56C6C">初审未通过</span>
|
|
|
- <span v-if="scope.row.Status=='2'" style="color:#E6A23C">待复审</span>
|
|
|
- <span v-if="scope.row.Status=='-2'" style="color:#F56C6C">复审未通过</span>
|
|
|
- <span v-if="scope.row.Status=='3'" style="color:#E6A23C">待专业处室分办</span>
|
|
|
- <span v-if="scope.row.Status=='4'" style="color:#E6A23C">待专业处室审批</span>
|
|
|
- <span v-if="scope.row.Status=='-5'" style="color:#F56C6C">专业处室审批未通过</span>
|
|
|
- <span v-if="scope.row.Status=='5'" style="color:#67C23A">审核通过</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="ApplyTime" sortable min-width="130" label="年审到期日期" align="center" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ jstimehandle(scope.row.ApplyTime+'') }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="CreateOn" sortable min-width="130" label="申请日期" align="center" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ jstimehandle(scope.row.CreateOn+'') }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"
|
|
|
- :page-sizes="[10, 15, 20, 25]" :page-size="size" layout="total, sizes, prev, pager, next, jumper"
|
|
|
- :total="currentItemCount">
|
|
|
- </el-pagination>
|
|
|
- </el-card>
|
|
|
-
|
|
|
- <el-dialog title="高级查询" :visible.sync="dialogVisible" width="720px">
|
|
|
- <el-form ref="searchForm" label-width="110px">
|
|
|
- <el-row>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="推荐单位编码">
|
|
|
- <el-input size="mini" v-model="searchForm.RecUnitId" style="width:100%" placeholder="请输入"></el-input>
|
|
|
+ <el-form ref="form" :inline="true" style="float: right; margin-top: -10px">
|
|
|
+ <el-form-item label="年审日期">
|
|
|
+ <el-date-picker size="mini" style="width: 220px" v-model="CreateOn" type="daterange" range-separator="至"
|
|
|
+ start-placeholder="生成日期" end-placeholder="结束日期"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="准入证号">
|
|
|
- <el-input size="mini" v-model="searchForm.AccessCardNo" style="width:100%" placeholder="请输入">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
<el-form-item label="准入类别">
|
|
|
- <el-input size="mini" v-model="searchForm.SupplierTypeName" style="width:100%" placeholder="请输入">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
-
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="企业名称">
|
|
|
- <el-input size="mini" v-model="searchForm.SupplierName" style="width:100%" placeholder="请输入"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
- <span slot="footer" class="dialog-footer">
|
|
|
- <el-button size="mini" @click="dialogVisible = false">取 消</el-button>
|
|
|
- <el-button size="mini" type="primary" @click="handleSearch">查 询</el-button>
|
|
|
- </span>
|
|
|
- </el-dialog>
|
|
|
- <el-dialog title="年审申请添加" :visible.sync="addshow" width="360px">
|
|
|
- <el-form label-width="90px" :model="entityForm" :rules="rules" ref="EntityFormref">
|
|
|
- <el-row>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="企业名称" prop="SupplierId" required>
|
|
|
- <el-select filterable default-first-option ref="supselect" v-model="entityForm.SupplierId" required
|
|
|
- placeholder="请选择" @change="supplierchange" style="width: 100%">
|
|
|
- <el-option v-for="item in selectsupplierlist" :key="item.Id" :label="item.Realname" :value="item.Id">
|
|
|
- </el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-col :span="24">
|
|
|
- <el-form-item label="准入类别" prop="SupplierTypeName" required>
|
|
|
- <el-select filterable default-first-option v-model="entityForm.SupplierTypeName" placeholder="请选择"
|
|
|
- style="width: 100%">
|
|
|
+ <el-select size="mini" style="width:100px" v-model="searchForm.SupplierTypeName" placeholder="准入类别">
|
|
|
<el-option label="物资类" value="01"></el-option>
|
|
|
<el-option label="技术服务类" value="03"></el-option>
|
|
|
<el-option label="基建类" value="02"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <!-- <el-col :span="24">
|
|
|
+ <el-form-item>
|
|
|
+ <el-dropdown split-button type="primary" size="mini" @click="handleSearch" @command="searchCommand">
|
|
|
+ 查询
|
|
|
+ <el-dropdown-menu slot="dropdown">
|
|
|
+ <el-dropdown-item command="search">高级查询</el-dropdown-item>
|
|
|
+ <el-dropdown-item command="clear">查询重置</el-dropdown-item>
|
|
|
+ </el-dropdown-menu>
|
|
|
+ </el-dropdown>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ <el-table :data="entityList" size="mini" border height="calc(100vh - 243px)" style="width: 100%"
|
|
|
+ @sort-change="orderby">
|
|
|
+ <el-table-column label="操作" min-width="180" align="center" fixed="right">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <router-link
|
|
|
+ :to="'/oilsupplier/annualaudit/' + scope.row.SupplierId + '/' + (scope.row.SupplierTypeName === '01' ? 'goodsoperation' : (scope.row.SupplierTypeName === '02' ? 'bassicoperation' : 'operation'))+'?certid=' + scope.row.CerId +'&WorkflowId='+scope.row.WorkflowId+'&Status='+scope.row.Status+'&Step='+scope.row.Step+'&annualId='+scope.row.Id">
|
|
|
+ <el-button type="primary" plain title="查看详情" size="mini">打开</el-button>
|
|
|
+ </router-link>
|
|
|
+ <el-dropdown @command="MoreCmdClick">
|
|
|
+ <el-button size="mini" type="primary" plain style="margin-left:5px;">
|
|
|
+ 更多<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
+ </el-button>
|
|
|
+ <el-dropdown-menu slot="dropdown">
|
|
|
+ <el-dropdown-item :command="GetCommand('History', scope.row)">审批流程</el-dropdown-item>
|
|
|
+ <el-dropdown-item :command="GetCommand('Delete', scope.row)" :disabled="scope.row.Status != 0"
|
|
|
+ divided>
|
|
|
+ 删除数据</el-dropdown-item>
|
|
|
+ </el-dropdown-menu>
|
|
|
+ </el-dropdown>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column prop="RecUnitId" label="推荐单位编码" sortable min-width="130" align="center"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="AccessCardNo" label="准入证号" sortable min-width="110" align="center"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="SupplierTypeName" label="准入类别" sortable min-width="110" align="center"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ checkSupplierTypeName(scope.row.SupplierTypeName) }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="SupplierName" label="企业名称" sortable min-width="130" align="center"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ <!-- <el-table-column prop="OrganCode" label="组织机构代码" sortable min-width="130" align="center" show-overflow-tooltip>
|
|
|
+ </el-table-column> -->
|
|
|
+ <el-table-column sortable min-width="110" align="center" prop="Status" label="审核状态">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.Status=='0'" style="color:#E6A23C">待提交</span>
|
|
|
+ <span v-if="scope.row.Status=='1'" style="color:#E6A23C">待初审</span>
|
|
|
+ <span v-if="scope.row.Status=='-1'" style="color:#F56C6C">初审未通过</span>
|
|
|
+ <span v-if="scope.row.Status=='2'" style="color:#E6A23C">待复审</span>
|
|
|
+ <span v-if="scope.row.Status=='-2'" style="color:#F56C6C">复审未通过</span>
|
|
|
+ <span v-if="scope.row.Status=='3'" style="color:#E6A23C">待专业处室分办</span>
|
|
|
+ <span v-if="scope.row.Status=='4'" style="color:#E6A23C">待专业处室审批</span>
|
|
|
+ <span v-if="scope.row.Status=='-5'" style="color:#F56C6C">专业处室审批未通过</span>
|
|
|
+ <span v-if="scope.row.Status=='5'" style="color:#67C23A">审核通过</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="ApplyTime" sortable min-width="130" label="年审到期日期" align="center"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ jstimehandle(scope.row.ApplyTime+'') }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="CreateOn" sortable min-width="130" label="申请日期" align="center" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ jstimehandle(scope.row.CreateOn+'') }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"
|
|
|
+ :page-sizes="[10, 15, 20, 25]" :page-size="size" layout="total, sizes, prev, pager, next, jumper"
|
|
|
+ :total="currentItemCount">
|
|
|
+ </el-pagination>
|
|
|
+ </el-card>
|
|
|
+
|
|
|
+ <el-dialog title="高级查询" :visible.sync="dialogVisible" width="720px">
|
|
|
+ <el-form ref="searchForm" label-width="110px">
|
|
|
+ <el-row>
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="推荐单位编码">
|
|
|
+ <el-input size="mini" v-model="searchForm.RecUnitId" style="width:100%" placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="准入证号">
|
|
|
+ <el-input size="mini" v-model="searchForm.AccessCardNo" style="width:100%" placeholder="请输入">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="准入类别">
|
|
|
+ <el-input size="mini" v-model="searchForm.SupplierTypeName" style="width:100%" placeholder="请输入">
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="企业名称">
|
|
|
+ <el-input size="mini" v-model="searchForm.SupplierName" style="width:100%" placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-form>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button size="mini" @click="dialogVisible = false">取 消</el-button>
|
|
|
+ <el-button size="mini" type="primary" @click="handleSearch">查 询</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog title="年审申请添加" :visible.sync="addshow" width="360px">
|
|
|
+ <el-form label-width="90px" :model="entityForm" :rules="rules" ref="EntityFormref">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="企业名称" prop="SupplierId" required>
|
|
|
+ <el-select filterable default-first-option ref="supselect" v-model="entityForm.SupplierId" required
|
|
|
+ placeholder="请选择" @change="supplierchange" style="width: 100%">
|
|
|
+ <el-option v-for="item in selectsupplierlist" :key="item.Id" :label="item.Realname" :value="item.Id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="24">
|
|
|
+ <el-form-item label="准入类别" prop="SupplierTypeName" required>
|
|
|
+ <el-select filterable default-first-option v-model="entityForm.SupplierTypeName" placeholder="请选择"
|
|
|
+ style="width: 100%">
|
|
|
+ <el-option label="物资类" value="01"></el-option>
|
|
|
+ <el-option label="技术服务类" value="03"></el-option>
|
|
|
+ <el-option label="基建类" value="02"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <!-- <el-col :span="24">
|
|
|
<el-form-item label="审批人">
|
|
|
<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-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>
|
|
|
- </el-form>
|
|
|
- <span style="float: right;margin-top:-10px;">
|
|
|
- <el-button size="small" @click="addshow = false">取 消</el-button>
|
|
|
- <el-button type="primary" size="small" @click="addAnnualAudit()">确 定</el-button>
|
|
|
- </span>
|
|
|
- <br>
|
|
|
- </el-dialog>
|
|
|
- <el-dialog title="审核历史查看" :visible.sync="historyVisible" width="900px">
|
|
|
- <wf-history ref="WfHistory" :entryinfo="entrydetail"></wf-history>
|
|
|
- </el-dialog>
|
|
|
- <choose-auditor ref="chooseAuditor" @close="setAuditer" @hideChooseAuditer="chooseAuditorVisible=false"
|
|
|
- :visible="chooseAuditorVisible"></choose-auditor>
|
|
|
+ <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>
|
|
|
+ </el-form>
|
|
|
+ <span style="float: right;margin-top:-10px;">
|
|
|
+ <el-button size="small" @click="addshow = false">取 消</el-button>
|
|
|
+ <el-button type="primary" size="small" @click="addAnnualAudit()">确 定</el-button>
|
|
|
+ </span>
|
|
|
+ <br>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog title="审核历史查看" :visible.sync="historyVisible" width="900px">
|
|
|
+ <wf-history ref="WfHistory" :entryinfo="entrydetail"></wf-history>
|
|
|
+ </el-dialog>
|
|
|
+ <choose-auditor ref="chooseAuditor" @close="setAuditer" @hideChooseAuditer="chooseAuditorVisible=false"
|
|
|
+ :visible="chooseAuditorVisible"></choose-auditor>
|
|
|
+ </div>
|
|
|
+ <page401 v-if="IsCompanyUser == 1 && suplen == 0"></page401>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -198,11 +207,13 @@
|
|
|
import supplierapi from '@/api/oilsupplier/supplier'
|
|
|
import api from '@/api/oilsupplier/annualaudit'
|
|
|
import ChooseAuditor from '@/components/oilsupplier/chooseauditor'
|
|
|
+ import page401 from '@/components/error/401.vue'
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
|
WfHistory,
|
|
|
- ChooseAuditor
|
|
|
+ ChooseAuditor,
|
|
|
+ page401
|
|
|
},
|
|
|
computed: {
|
|
|
...mapGetters({
|
|
|
@@ -313,10 +324,14 @@
|
|
|
message: '请选择审批人',
|
|
|
trigger: 'blur'
|
|
|
}]
|
|
|
- }
|
|
|
+ },
|
|
|
+ IsCompanyUser: 0,
|
|
|
+ supplierList: [],
|
|
|
+ suplen: 0,
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ this.IsCompanyUser = this.authUser.Profile.IsCompanyUser
|
|
|
//查询条件初始值备份
|
|
|
Object.assign(this.searchFormReset, this.searchForm)
|
|
|
//查询列表
|
|
|
@@ -324,6 +339,7 @@
|
|
|
this.getselectsupplier()
|
|
|
this.getorgtreelist()
|
|
|
this.getDictOptions()
|
|
|
+ this.getSupplierList()
|
|
|
},
|
|
|
methods: {
|
|
|
initDatas() {
|
|
|
@@ -354,6 +370,20 @@
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|
|
|
+ getSupplierList() {
|
|
|
+ let _this = this
|
|
|
+ _this.supplierList = []
|
|
|
+ _this.$axios.get('/suppliercertappend/getsupplier/' + '02', {})
|
|
|
+ .then(res => {
|
|
|
+ _this.supplierList = res.data
|
|
|
+ if (_this.supplierList) {
|
|
|
+ _this.suplen = _this.supplierList.length
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch(err => {
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
getorgtreelist() {
|
|
|
let _this = this
|
|
|
let params = {
|