|
@@ -1,50 +1,44 @@
|
|
|
<template>
|
|
|
<div class="acceptance-management">
|
|
|
<template>
|
|
|
- <div class="tempalte-content">
|
|
|
- <div class="search">
|
|
|
- <div class="left" />
|
|
|
- <div class="right">
|
|
|
- <template>
|
|
|
- <div>
|
|
|
- <el-input v-model="search.businessNumber" style="width: 250px" placeholder="请输入验收单编号/业务编号" clearable />
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <el-select v-model="search.status" placeholder="请选择状态">
|
|
|
- <el-option
|
|
|
- v-for="item in constant.projectInitiationStatus"
|
|
|
- :key="item.code"
|
|
|
- :label="item.name"
|
|
|
- :value="item.code"
|
|
|
- />
|
|
|
- </el-select>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <el-input v-model="search.fastSearch" style="width: 300px" placeholder="请输入项目名称/主企业名称/核心企业名称" clearable />
|
|
|
- </div>
|
|
|
- <div class="leftBtn">
|
|
|
- <el-button type="primary" @click="fetchData">查询</el-button>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <el-button type="primary" icon="el-icon-plus" @click="modifyClick('create')">创建验收单</el-button>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
+ <div class="search">
|
|
|
+ <div class="left" />
|
|
|
+ <div class="right">
|
|
|
+ <div>
|
|
|
+ <el-input v-model="search.businessNumber" placeholder="请输入验收单编号/业务编号" clearable />
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <el-select v-model="search.status" placeholder="请选择状态">
|
|
|
+ <el-option
|
|
|
+ v-for="item in constant.projectInitiationStatus"
|
|
|
+ :key="item.code"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.code"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <el-input v-model="search.fastSearch" placeholder="请输入项目名称/主企业名称/核心企业名称" clearable />
|
|
|
+ </div>
|
|
|
+ <div class="right-btn">
|
|
|
+ <el-button type="primary" @click="fetchData">查询</el-button>
|
|
|
+ <el-button type="primary" icon="el-icon-plus" @click="modifyClick('create')">创建验收单</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <cy-comm-table
|
|
|
- ref="commTable"
|
|
|
- v-loading="loading"
|
|
|
- :columns="columns"
|
|
|
- :table-options="tableOptions"
|
|
|
- :data="tableData"
|
|
|
- :count="total"
|
|
|
- parent-component="AcceptanceManagement"
|
|
|
- />
|
|
|
</div>
|
|
|
+ <cy-comm-table
|
|
|
+ ref="commTable"
|
|
|
+ v-loading="loading"
|
|
|
+ :columns="columns"
|
|
|
+ :table-options="tableOptions"
|
|
|
+ :data="tableData"
|
|
|
+ :count="total"
|
|
|
+ parent-component="AcceptanceManagement"
|
|
|
+ />
|
|
|
</template>
|
|
|
|
|
|
- <!-- 申请审核 -->
|
|
|
- <cy-dialog ref="receiveDialog" title="申请审核">
|
|
|
+ <!-- 申请融资 -->
|
|
|
+ <cy-dialog ref="receiveDialog" title="申请融资">
|
|
|
<p style="text-align: center;">确认申请验收单审核,完成后续融资流程么?</p>
|
|
|
<div class="submit-btn">
|
|
|
<el-button @click="$refs.receiveDialog.show = false">关闭</el-button>
|
|
@@ -124,9 +118,9 @@ export default {
|
|
|
taskId: row.taskId
|
|
|
}
|
|
|
})
|
|
|
- } else {
|
|
|
- this.apply(row)
|
|
|
}
|
|
|
+ } else if (type === 'apply') {
|
|
|
+ this.apply(row)
|
|
|
}
|
|
|
|
|
|
if (type === 'change') {
|