|
@@ -1,14 +1,14 @@
|
|
<template>
|
|
<template>
|
|
<div class="app-container">
|
|
<div class="app-container">
|
|
<div v-if="showSurrender">
|
|
<div v-if="showSurrender">
|
|
- <el-radio-group @change="changeRadioFn" v-model="examine" size="mini">
|
|
|
|
|
|
+ <el-radio-group v-model="examine" size="mini" @change="changeRadioFn">
|
|
<el-radio-button label="">全部</el-radio-button>
|
|
<el-radio-button label="">全部</el-radio-button>
|
|
<el-radio-button label="SAVE">保存</el-radio-button>
|
|
<el-radio-button label="SAVE">保存</el-radio-button>
|
|
<el-radio-button label="WAIT">待审核</el-radio-button>
|
|
<el-radio-button label="WAIT">待审核</el-radio-button>
|
|
<!-- <el-radio-button label="FAIL">审核驳回</el-radio-button> -->
|
|
<!-- <el-radio-button label="FAIL">审核驳回</el-radio-button> -->
|
|
<el-radio-button label="OK">审核通过</el-radio-button>
|
|
<el-radio-button label="OK">审核通过</el-radio-button>
|
|
</el-radio-group>
|
|
</el-radio-group>
|
|
- <br /><br />
|
|
|
|
|
|
+ <br><br>
|
|
<!-- 筛选条件 -->
|
|
<!-- 筛选条件 -->
|
|
<div>
|
|
<div>
|
|
<el-form
|
|
<el-form
|
|
@@ -48,7 +48,7 @@
|
|
<el-input
|
|
<el-input
|
|
v-model="screenForm.refTradeCategory"
|
|
v-model="screenForm.refTradeCategory"
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
- ></el-input>
|
|
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
@@ -85,38 +85,36 @@
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-form-item label="是否退押 " prop="isRefundDeposit">
|
|
<el-form-item label="是否退押 " prop="isRefundDeposit">
|
|
<el-select
|
|
<el-select
|
|
- style="width: 100%"
|
|
|
|
v-model="screenForm.isRefundDeposit"
|
|
v-model="screenForm.isRefundDeposit"
|
|
|
|
+ style="width: 100%"
|
|
placeholder="请选择是否退押 "
|
|
placeholder="请选择是否退押 "
|
|
>
|
|
>
|
|
- <el-option label="默认" :value="null"></el-option>
|
|
|
|
|
|
+ <el-option label="默认" :value="null" />
|
|
|
|
|
|
<el-option
|
|
<el-option
|
|
v-for="item in refundDepositArr"
|
|
v-for="item in refundDepositArr"
|
|
:key="item.value"
|
|
:key="item.value"
|
|
:label="item.label"
|
|
:label="item.label"
|
|
:value="item.value"
|
|
:value="item.value"
|
|
- >
|
|
|
|
- </el-option>
|
|
|
|
|
|
+ />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-form-item label="状态 " prop="examineStatus">
|
|
<el-form-item label="状态 " prop="examineStatus">
|
|
<el-select
|
|
<el-select
|
|
- style="width: 100%"
|
|
|
|
v-model="screenForm.examineStatus"
|
|
v-model="screenForm.examineStatus"
|
|
|
|
+ style="width: 100%"
|
|
placeholder="请选择状态 "
|
|
placeholder="请选择状态 "
|
|
>
|
|
>
|
|
- <el-option label="默认" :value="null"></el-option>
|
|
|
|
|
|
+ <el-option label="默认" :value="null" />
|
|
|
|
|
|
<el-option
|
|
<el-option
|
|
v-for="item in examineStatusArr"
|
|
v-for="item in examineStatusArr"
|
|
:key="item.value"
|
|
:key="item.value"
|
|
:label="item.label"
|
|
:label="item.label"
|
|
:value="item.value"
|
|
:value="item.value"
|
|
- >
|
|
|
|
- </el-option>
|
|
|
|
|
|
+ />
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -199,7 +197,7 @@
|
|
<el-input
|
|
<el-input
|
|
v-model="screenForm.specification"
|
|
v-model="screenForm.specification"
|
|
placeholder="规格型号"
|
|
placeholder="规格型号"
|
|
- ></el-input>
|
|
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
@@ -207,7 +205,7 @@
|
|
<el-input
|
|
<el-input
|
|
v-model="screenForm.specialNo"
|
|
v-model="screenForm.specialNo"
|
|
placeholder="特价编号"
|
|
placeholder="特价编号"
|
|
- ></el-input>
|
|
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
@@ -215,7 +213,7 @@
|
|
<el-input
|
|
<el-input
|
|
v-model="screenForm.refFactoryNo"
|
|
v-model="screenForm.refFactoryNo"
|
|
placeholder="跨区厂编号"
|
|
placeholder="跨区厂编号"
|
|
- ></el-input>
|
|
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
@@ -223,7 +221,7 @@
|
|
<el-input
|
|
<el-input
|
|
v-model="screenForm.geLiInerNote"
|
|
v-model="screenForm.geLiInerNote"
|
|
placeholder="格力内部备注"
|
|
placeholder="格力内部备注"
|
|
- ></el-input>
|
|
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
@@ -233,14 +231,14 @@
|
|
<el-input
|
|
<el-input
|
|
v-model="screenForm.startFactoryNo"
|
|
v-model="screenForm.startFactoryNo"
|
|
placeholder="厂编号开始"
|
|
placeholder="厂编号开始"
|
|
- ></el-input>
|
|
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<span>-</span>
|
|
<span>-</span>
|
|
<el-form-item prop="endFactoryNo">
|
|
<el-form-item prop="endFactoryNo">
|
|
<el-input
|
|
<el-input
|
|
v-model="screenForm.endFactoryNo"
|
|
v-model="screenForm.endFactoryNo"
|
|
placeholder="厂编号结束"
|
|
placeholder="厂编号结束"
|
|
- ></el-input>
|
|
|
|
|
|
+ />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</div>
|
|
</div>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -282,7 +280,6 @@
|
|
|
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
-
|
|
|
|
</el-col> -->
|
|
</el-col> -->
|
|
</template>
|
|
</template>
|
|
<el-col :xs="24" :sm="24" :lg="24">
|
|
<el-col :xs="24" :sm="24" :lg="24">
|
|
@@ -295,9 +292,11 @@
|
|
</div>
|
|
</div>
|
|
<el-form-item label="" class="fr">
|
|
<el-form-item label="" class="fr">
|
|
<el-button size="mini" @click="resetFn">清空</el-button>
|
|
<el-button size="mini" @click="resetFn">清空</el-button>
|
|
- <el-button size="mini" type="primary" @click="searchFn"
|
|
|
|
- >搜索</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ size="mini"
|
|
|
|
+ type="primary"
|
|
|
|
+ @click="searchFn"
|
|
|
|
+ >搜索</el-button>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -312,23 +311,24 @@
|
|
</el-radio-group> -->
|
|
</el-radio-group> -->
|
|
<!-- <el-button type="primary" size="mini" @click="syncDateFn">同步资料日期</el-button> -->
|
|
<!-- <el-button type="primary" size="mini" @click="syncDateFn">同步资料日期</el-button> -->
|
|
<el-popconfirm
|
|
<el-popconfirm
|
|
|
|
+ v-if="$checkBtnRole('examine', $route.meta.roles)"
|
|
title="批量审核吗?"
|
|
title="批量审核吗?"
|
|
@onConfirm="batchExamine"
|
|
@onConfirm="batchExamine"
|
|
- v-if="$checkBtnRole('examine', $route.meta.roles)"
|
|
|
|
>
|
|
>
|
|
<el-button
|
|
<el-button
|
|
slot="reference"
|
|
slot="reference"
|
|
size="mini"
|
|
size="mini"
|
|
type="warning"
|
|
type="warning"
|
|
icon="el-icon-finished"
|
|
icon="el-icon-finished"
|
|
- >批量审核工程机已审单据</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ >批量审核工程机已审单据</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
</div>
|
|
</div>
|
|
<div class="fr">
|
|
<div class="fr">
|
|
- <el-button type="primary" size="mini" @click="exportFn"
|
|
|
|
- >导出</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ <el-button
|
|
|
|
+ type="primary"
|
|
|
|
+ size="mini"
|
|
|
|
+ @click="exportFn"
|
|
|
|
+ >导出</el-button>
|
|
<el-upload
|
|
<el-upload
|
|
class="import-btn"
|
|
class="import-btn"
|
|
action=""
|
|
action=""
|
|
@@ -351,13 +351,12 @@
|
|
fit
|
|
fit
|
|
highlight-current-row
|
|
highlight-current-row
|
|
stripe
|
|
stripe
|
|
- @selection-change="handleSelectionChange"
|
|
|
|
show-summary
|
|
show-summary
|
|
:summary-method="$getSummaries"
|
|
:summary-method="$getSummaries"
|
|
|
|
+ @selection-change="handleSelectionChange"
|
|
>
|
|
>
|
|
>
|
|
>
|
|
- <el-table-column type="selection" align="center" width="55">
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+ <el-table-column type="selection" align="center" width="55" />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="left"
|
|
align="left"
|
|
label="状态"
|
|
label="状态"
|
|
@@ -366,27 +365,25 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template v-slot="{ row }">
|
|
<template v-slot="{ row }">
|
|
- <el-tag size="mini" v-show="row.examineStatus == 'SAVE'"
|
|
|
|
- >保存</el-tag
|
|
|
|
- >
|
|
|
|
<el-tag
|
|
<el-tag
|
|
|
|
+ v-show="row.examineStatus == 'SAVE'"
|
|
size="mini"
|
|
size="mini"
|
|
|
|
+ >保存</el-tag>
|
|
|
|
+ <el-tag
|
|
v-show="row.examineStatus == 'WAIT'"
|
|
v-show="row.examineStatus == 'WAIT'"
|
|
|
|
+ size="mini"
|
|
type="warning"
|
|
type="warning"
|
|
- >待审核</el-tag
|
|
|
|
- >
|
|
|
|
|
|
+ >待审核</el-tag>
|
|
<el-tag
|
|
<el-tag
|
|
- size="mini"
|
|
|
|
v-show="row.examineStatus == 'OK'"
|
|
v-show="row.examineStatus == 'OK'"
|
|
|
|
+ size="mini"
|
|
type="success"
|
|
type="success"
|
|
- >通过</el-tag
|
|
|
|
- >
|
|
|
|
|
|
+ >通过</el-tag>
|
|
<el-tag
|
|
<el-tag
|
|
- size="mini"
|
|
|
|
v-show="row.examineStatus == 'FAIL'"
|
|
v-show="row.examineStatus == 'FAIL'"
|
|
|
|
+ size="mini"
|
|
type="danger"
|
|
type="danger"
|
|
- >不通过</el-tag
|
|
|
|
- >
|
|
|
|
|
|
+ >不通过</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -397,7 +394,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.refEnginRecordNo" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.refEnginRecordNo" />
|
|
<span>{{ scope.row.refEnginRecordNo }}</span>
|
|
<span>{{ scope.row.refEnginRecordNo }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -431,7 +428,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.customerNumber" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.customerNumber" />
|
|
<span>{{ scope.row.customerNumber }}</span>
|
|
<span>{{ scope.row.customerNumber }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -443,7 +440,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.customerName" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.customerName" />
|
|
<span>{{ scope.row.customerName }}</span>
|
|
<span>{{ scope.row.customerName }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -455,7 +452,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.refFactoryNo" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.refFactoryNo" />
|
|
<span>{{ scope.row.refFactoryNo }}</span>
|
|
<span>{{ scope.row.refFactoryNo }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -465,16 +462,14 @@
|
|
prop="factoryNo"
|
|
prop="factoryNo"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- >
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+ />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="right"
|
|
align="right"
|
|
label="特价编号"
|
|
label="特价编号"
|
|
prop="specialNo"
|
|
prop="specialNo"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- >
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+ />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="left"
|
|
align="left"
|
|
label="行业类别"
|
|
label="行业类别"
|
|
@@ -483,7 +478,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.refTradeCategory" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.refTradeCategory" />
|
|
<span>{{ scope.row.refTradeCategory }}</span>
|
|
<span>{{ scope.row.refTradeCategory }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -495,7 +490,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.refUseUnit" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.refUseUnit" />
|
|
<span>{{ scope.row.refUseUnit }}</span>
|
|
<span>{{ scope.row.refUseUnit }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -507,7 +502,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.refRegionWork" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.refRegionWork" />
|
|
<span>{{ scope.row.refRegionWork }}</span>
|
|
<span>{{ scope.row.refRegionWork }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -531,7 +526,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.materialNumber" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.materialNumber" />
|
|
<span>{{ scope.row.materialNumber }}</span>
|
|
<span>{{ scope.row.materialNumber }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -543,7 +538,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.materialOldNumber" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.materialOldNumber" />
|
|
<span>{{ scope.row.materialOldNumber }}</span>
|
|
<span>{{ scope.row.materialOldNumber }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -556,7 +551,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.materialName" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.materialName" />
|
|
<span>{{ scope.row.materialName }}</span>
|
|
<span>{{ scope.row.materialName }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -564,17 +559,35 @@
|
|
align="left"
|
|
align="left"
|
|
label="规格型号"
|
|
label="规格型号"
|
|
prop="specification"
|
|
prop="specification"
|
|
- min-width="260"
|
|
|
|
|
|
+ min-width="300"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.specification" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.specification" />
|
|
<span>{{ scope.row.specification }}</span>
|
|
<span>{{ scope.row.specification }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="left" label="实装物料编号" prop="realMaterialNumber" min-width="150" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="left" label="实装厂产品编码" prop="realMaterialOldNumber" min-width="200" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="left" label="实装规格型号" prop="realSpecification" min-width="300" show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div :style="scope.row.realSpecification != scope.row.specification?{color:'blue'}:''">
|
|
|
|
+ {{ scope.row.realSpecification }}
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column align="left" label="实装物料编号" prop="realMaterialNumber" min-width="150" show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div :style="scope.row.realMaterialNumber != scope.row.materialNumber?{color:'blue'}:''">
|
|
|
|
+ {{ scope.row.realMaterialNumber }}
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column align="left" label="实装厂产品编码" prop="realMaterialOldNumber" min-width="200" show-overflow-tooltip>
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <div :style="scope.row.realMaterialOldNumber != scope.row.materialOldNumber?{color:'blue'}:''">
|
|
|
|
+ {{ scope.row.realMaterialOldNumber }}
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
align="left"
|
|
align="left"
|
|
label="是否退押"
|
|
label="是否退押"
|
|
@@ -587,8 +600,7 @@
|
|
v-if="scope.row.isRefundDeposit"
|
|
v-if="scope.row.isRefundDeposit"
|
|
type="success"
|
|
type="success"
|
|
size="small"
|
|
size="small"
|
|
- >是</el-tag
|
|
|
|
- >
|
|
|
|
|
|
+ >是</el-tag>
|
|
<el-tag v-else type="warning" size="small">否</el-tag>
|
|
<el-tag v-else type="warning" size="small">否</el-tag>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -612,8 +624,7 @@
|
|
prop="installDate"
|
|
prop="installDate"
|
|
min-width="160"
|
|
min-width="160"
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
- >
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
+ />
|
|
<el-table-column
|
|
<el-table-column
|
|
align="left"
|
|
align="left"
|
|
label="审核人"
|
|
label="审核人"
|
|
@@ -622,7 +633,7 @@
|
|
show-overflow-tooltip
|
|
show-overflow-tooltip
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <CopyButton :copyText="scope.row.confirmName" />
|
|
|
|
|
|
+ <CopyButton :copy-text="scope.row.confirmName" />
|
|
<span>{{ scope.row.confirmName }}</span>
|
|
<span>{{ scope.row.confirmName }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -696,27 +707,25 @@
|
|
|
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button
|
|
<el-button
|
|
- type="text"
|
|
|
|
- class="textColor"
|
|
|
|
v-if="
|
|
v-if="
|
|
scope.row.examineStatus == 'WAIT' &&
|
|
scope.row.examineStatus == 'WAIT' &&
|
|
- $checkBtnRole('examine', $route.meta.roles)
|
|
|
|
|
|
+ $checkBtnRole('examine', $route.meta.roles)
|
|
"
|
|
"
|
|
|
|
+ type="text"
|
|
|
|
+ class="textColor"
|
|
@click="examineFn(scope.row.depositManageId)"
|
|
@click="examineFn(scope.row.depositManageId)"
|
|
- >审批</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ >审批</el-button>
|
|
|
|
|
|
<el-button
|
|
<el-button
|
|
- type="text"
|
|
|
|
- class="textColor"
|
|
|
|
v-if="
|
|
v-if="
|
|
scope.row.examineStatus == 'SAVE' ||
|
|
scope.row.examineStatus == 'SAVE' ||
|
|
- scope.row.examineStatus == 'OK' ||
|
|
|
|
- scope.row.examineStatus == 'FAIL'
|
|
|
|
|
|
+ scope.row.examineStatus == 'OK' ||
|
|
|
|
+ scope.row.examineStatus == 'FAIL'
|
|
"
|
|
"
|
|
|
|
+ type="text"
|
|
|
|
+ class="textColor"
|
|
@click="infoFn(scope.row.depositManageId)"
|
|
@click="infoFn(scope.row.depositManageId)"
|
|
- >详情</el-button
|
|
|
|
- >
|
|
|
|
|
|
+ >详情</el-button>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
@@ -724,22 +733,21 @@
|
|
<!-- 分页 -->
|
|
<!-- 分页 -->
|
|
<div class="fr">
|
|
<div class="fr">
|
|
<el-pagination
|
|
<el-pagination
|
|
- @size-change="handleSizeChange"
|
|
|
|
- @current-change="handleCurrentChange"
|
|
|
|
:current-page="currentPage"
|
|
:current-page="currentPage"
|
|
:page-sizes="[10, 20, 30, 50]"
|
|
:page-sizes="[10, 20, 30, 50]"
|
|
:page-size="pageSize"
|
|
:page-size="pageSize"
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
:total="listTotal"
|
|
:total="listTotal"
|
|
- >
|
|
|
|
- </el-pagination>
|
|
|
|
|
|
+ @size-change="handleSizeChange"
|
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
|
+ />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <RefundListDetail @updateList="updateList" :detailId="detailId" v-else />
|
|
|
|
|
|
+ <RefundListDetail v-else :detail-id="detailId" @updateList="updateList" />
|
|
<ExamineDialog
|
|
<ExamineDialog
|
|
- :isShow.sync="isShowExamineDialog"
|
|
|
|
- :examineForm.sync="examineForm"
|
|
|
|
|
|
+ :is-show.sync="isShowExamineDialog"
|
|
|
|
+ :examine-form.sync="examineForm"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -749,160 +757,160 @@ import {
|
|
examineData,
|
|
examineData,
|
|
getDepositManageList,
|
|
getDepositManageList,
|
|
getDepositManageDate,
|
|
getDepositManageDate,
|
|
- getDepositManagExport,
|
|
|
|
-} from "@/api/engin_deposit/refund_list";
|
|
|
|
-import { downloadFiles, handleImport } from "@/utils/util";
|
|
|
|
-import ExamineDialog from "@/components/Common/examine-dialog";
|
|
|
|
|
|
+ getDepositManagExport
|
|
|
|
+} from '@/api/engin_deposit/refund_list'
|
|
|
|
+import { downloadFiles, handleImport } from '@/utils/util'
|
|
|
|
+import ExamineDialog from '@/components/Common/examine-dialog'
|
|
|
|
|
|
-import RefundListDetail from "./components/refund_list-detail.vue";
|
|
|
|
|
|
+import RefundListDetail from './components/refund_list-detail.vue'
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
RefundListDetail,
|
|
RefundListDetail,
|
|
- ExamineDialog,
|
|
|
|
|
|
+ ExamineDialog
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
importFileList: [],
|
|
importFileList: [],
|
|
- enginOrderType: "HOME", //列表类型
|
|
|
|
|
|
+ enginOrderType: 'HOME', // 列表类型
|
|
currentPage: 1, // 当前页码
|
|
currentPage: 1, // 当前页码
|
|
pageSize: 10, // 每页数量
|
|
pageSize: 10, // 每页数量
|
|
listTotal: 0, // 列表总数
|
|
listTotal: 0, // 列表总数
|
|
dataList: [], // 列表数据
|
|
dataList: [], // 列表数据
|
|
screenForm: {
|
|
screenForm: {
|
|
- confirmName: "", // 审核人
|
|
|
|
- createName: "", // 创建人
|
|
|
|
- customerKeyword: "", // 客户编码/客户名称
|
|
|
|
- endDeliverTime: "", // 发货申请日期-结束
|
|
|
|
- enginOrderNo: "", // 工程订单编号
|
|
|
|
- enginOrderType: "HOME", // 工程订单类型
|
|
|
|
- examineStatus: "", // 状态
|
|
|
|
- refEnginRecordNo: "", // 登录单号
|
|
|
|
- refProjectName: "", // 项目名称
|
|
|
|
- refUseUnit: "", // 使用单位
|
|
|
|
- startDeliverTime: "", // 发货申请日期-开始
|
|
|
|
- startSubmitTime: "",
|
|
|
|
- startConfirmTime: "",
|
|
|
|
|
|
+ confirmName: '', // 审核人
|
|
|
|
+ createName: '', // 创建人
|
|
|
|
+ customerKeyword: '', // 客户编码/客户名称
|
|
|
|
+ endDeliverTime: '', // 发货申请日期-结束
|
|
|
|
+ enginOrderNo: '', // 工程订单编号
|
|
|
|
+ enginOrderType: 'HOME', // 工程订单类型
|
|
|
|
+ examineStatus: '', // 状态
|
|
|
|
+ refEnginRecordNo: '', // 登录单号
|
|
|
|
+ refProjectName: '', // 项目名称
|
|
|
|
+ refUseUnit: '', // 使用单位
|
|
|
|
+ startDeliverTime: '', // 发货申请日期-开始
|
|
|
|
+ startSubmitTime: '',
|
|
|
|
+ startConfirmTime: '',
|
|
isRefundDeposit: null,
|
|
isRefundDeposit: null,
|
|
- startInstallTime: "",
|
|
|
|
- endConfirmTime: "",
|
|
|
|
- endInstallTime: "",
|
|
|
|
- specification: "",
|
|
|
|
- refFactoryNo: "",
|
|
|
|
- factoryNo: "",
|
|
|
|
- specialNo: "",
|
|
|
|
- refRegionWork: "",
|
|
|
|
- endSubmitTime: "",
|
|
|
|
- refTradeCategory: "",
|
|
|
|
- startAcceptTime: "",
|
|
|
|
- endAcceptTime: "",
|
|
|
|
- geLiInerNote: "",
|
|
|
|
- startFactoryNo: "",
|
|
|
|
- endFactoryNo: "",
|
|
|
|
|
|
+ startInstallTime: '',
|
|
|
|
+ endConfirmTime: '',
|
|
|
|
+ endInstallTime: '',
|
|
|
|
+ specification: '',
|
|
|
|
+ refFactoryNo: '',
|
|
|
|
+ factoryNo: '',
|
|
|
|
+ specialNo: '',
|
|
|
|
+ refRegionWork: '',
|
|
|
|
+ endSubmitTime: '',
|
|
|
|
+ refTradeCategory: '',
|
|
|
|
+ startAcceptTime: '',
|
|
|
|
+ endAcceptTime: '',
|
|
|
|
+ geLiInerNote: '',
|
|
|
|
+ startFactoryNo: '',
|
|
|
|
+ endFactoryNo: ''
|
|
}, // 搜索表单
|
|
}, // 搜索表单
|
|
refundDepositArr: [
|
|
refundDepositArr: [
|
|
{
|
|
{
|
|
- label: "是",
|
|
|
|
- value: true,
|
|
|
|
|
|
+ label: '是',
|
|
|
|
+ value: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: "否",
|
|
|
|
- value: false,
|
|
|
|
- },
|
|
|
|
|
|
+ label: '否',
|
|
|
|
+ value: false
|
|
|
|
+ }
|
|
],
|
|
],
|
|
|
|
|
|
examineStatusArr: [
|
|
examineStatusArr: [
|
|
{
|
|
{
|
|
- label: "保存",
|
|
|
|
- value: "SAVE",
|
|
|
|
|
|
+ label: '保存',
|
|
|
|
+ value: 'SAVE'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: "待审核",
|
|
|
|
- value: "WAIT",
|
|
|
|
|
|
+ label: '待审核',
|
|
|
|
+ value: 'WAIT'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: "通过",
|
|
|
|
- value: "OK",
|
|
|
|
|
|
+ label: '通过',
|
|
|
|
+ value: 'OK'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: "不通过",
|
|
|
|
- value: "FAIL",
|
|
|
|
|
|
+ label: '不通过',
|
|
|
|
+ value: 'FAIL'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: "关闭",
|
|
|
|
- value: "CLOSE",
|
|
|
|
- },
|
|
|
|
|
|
+ label: '关闭',
|
|
|
|
+ value: 'CLOSE'
|
|
|
|
+ }
|
|
],
|
|
],
|
|
listLoading: false, // 列表加载loading
|
|
listLoading: false, // 列表加载loading
|
|
- examine: "",
|
|
|
|
|
|
+ examine: '',
|
|
showSurrender: true,
|
|
showSurrender: true,
|
|
- detailId: "",
|
|
|
|
|
|
+ detailId: '',
|
|
selectData: [],
|
|
selectData: [],
|
|
isShowExamineDialog: false,
|
|
isShowExamineDialog: false,
|
|
examineForm: {
|
|
examineForm: {
|
|
- status: "OK",
|
|
|
|
- remark: "",
|
|
|
|
- },
|
|
|
|
- };
|
|
|
|
|
|
+ status: 'OK',
|
|
|
|
+ remark: ''
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ computed: {
|
|
|
|
+ isCustomer() {
|
|
|
|
+ return (
|
|
|
|
+ this.$store.getters.customerId && this.$store.getters.customerNumber
|
|
|
|
+ )
|
|
|
|
+ }
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
this.getDataList({
|
|
this.getDataList({
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
enginOrderType: this.enginOrderType,
|
|
enginOrderType: this.enginOrderType,
|
|
- ...this.screenForm,
|
|
|
|
|
|
+ ...this.screenForm
|
|
// startDeliverTime: "",
|
|
// startDeliverTime: "",
|
|
- });
|
|
|
|
- },
|
|
|
|
- computed: {
|
|
|
|
- isCustomer() {
|
|
|
|
- return (
|
|
|
|
- this.$store.getters.customerId && this.$store.getters.customerNumber
|
|
|
|
- );
|
|
|
|
- },
|
|
|
|
|
|
+ })
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- //同步资料日期
|
|
|
|
|
|
+ // 同步资料日期
|
|
async syncDateFn() {
|
|
async syncDateFn() {
|
|
- await getDepositManageDate();
|
|
|
|
- this.$message.success("同步资料日期成功");
|
|
|
|
|
|
+ await getDepositManageDate()
|
|
|
|
+ this.$message.success('同步资料日期成功')
|
|
},
|
|
},
|
|
// 导入
|
|
// 导入
|
|
async handleImport(param) {
|
|
async handleImport(param) {
|
|
- const file = param.file;
|
|
|
|
|
|
+ const file = param.file
|
|
|
|
|
|
- const formData = new FormData();
|
|
|
|
- formData.append("file", file);
|
|
|
|
|
|
+ const formData = new FormData()
|
|
|
|
+ formData.append('file', file)
|
|
|
|
|
|
- let result = await handleImport("deposit-manage/import", formData);
|
|
|
|
|
|
+ const result = await handleImport('deposit-manage/import', formData)
|
|
|
|
|
|
- console.log(result);
|
|
|
|
- this.importFileList = [];
|
|
|
|
|
|
+ console.log(result)
|
|
|
|
+ this.importFileList = []
|
|
if (result.code == 200) {
|
|
if (result.code == 200) {
|
|
- this.$message.success("导入成功");
|
|
|
|
|
|
+ this.$message.success('导入成功')
|
|
this.getDataList({
|
|
this.getDataList({
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
- confirmName: "",
|
|
|
|
- createName: "",
|
|
|
|
- customerKeyword: "",
|
|
|
|
|
|
+ confirmName: '',
|
|
|
|
+ createName: '',
|
|
|
|
+ customerKeyword: '',
|
|
// endDeliverTime: "",
|
|
// endDeliverTime: "",
|
|
- enginOrderNo: "",
|
|
|
|
|
|
+ enginOrderNo: '',
|
|
enginOrderType: this.enginOrderType,
|
|
enginOrderType: this.enginOrderType,
|
|
- examineStatus: "",
|
|
|
|
- refEnginRecordNo: "",
|
|
|
|
- refProjectName: "",
|
|
|
|
- refUseUnit: "",
|
|
|
|
- ...this.screenForm,
|
|
|
|
|
|
+ examineStatus: '',
|
|
|
|
+ refEnginRecordNo: '',
|
|
|
|
+ refProjectName: '',
|
|
|
|
+ refUseUnit: '',
|
|
|
|
+ ...this.screenForm
|
|
// startDeliverTime: "",
|
|
// startDeliverTime: "",
|
|
- });
|
|
|
|
|
|
+ })
|
|
} else {
|
|
} else {
|
|
- this.$message.error(result.message);
|
|
|
|
|
|
+ this.$message.error(result.message)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 打开 批量审批
|
|
// 打开 批量审批
|
|
batchExamine() {
|
|
batchExamine() {
|
|
// if (this.selectData.length) {
|
|
// if (this.selectData.length) {
|
|
- this.submitExamineForm();
|
|
|
|
|
|
+ this.submitExamineForm()
|
|
// this.isShowExamineDialog = true;
|
|
// this.isShowExamineDialog = true;
|
|
// return
|
|
// return
|
|
// }
|
|
// }
|
|
@@ -911,198 +919,198 @@ export default {
|
|
// 提交 批量审批
|
|
// 提交 批量审批
|
|
submitExamineForm() {
|
|
submitExamineForm() {
|
|
let ids = this.selectData.map((item) => {
|
|
let ids = this.selectData.map((item) => {
|
|
- return item.id;
|
|
|
|
- });
|
|
|
|
- ids = [...new Set(ids)];
|
|
|
|
|
|
+ return item.id
|
|
|
|
+ })
|
|
|
|
+ ids = [...new Set(ids)]
|
|
examineData({
|
|
examineData({
|
|
- id: ids.join(","),
|
|
|
|
|
|
+ id: ids.join(','),
|
|
examineStatus: this.examineForm.status,
|
|
examineStatus: this.examineForm.status,
|
|
examineRemark: this.examineForm.remark,
|
|
examineRemark: this.examineForm.remark,
|
|
- serviceId: "",
|
|
|
|
|
|
+ serviceId: ''
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
- this.isShowExamineDialog = false;
|
|
|
|
- this.$successMsg("修改成功");
|
|
|
|
|
|
+ this.isShowExamineDialog = false
|
|
|
|
+ this.$successMsg('修改成功')
|
|
this.getDataList({
|
|
this.getDataList({
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
- confirmName: "",
|
|
|
|
- createName: "",
|
|
|
|
- customerKeyword: "",
|
|
|
|
|
|
+ confirmName: '',
|
|
|
|
+ createName: '',
|
|
|
|
+ customerKeyword: '',
|
|
// endDeliverTime: "",
|
|
// endDeliverTime: "",
|
|
- enginOrderNo: "",
|
|
|
|
|
|
+ enginOrderNo: '',
|
|
enginOrderType: this.enginOrderType,
|
|
enginOrderType: this.enginOrderType,
|
|
- examineStatus: "",
|
|
|
|
- refEnginRecordNo: "",
|
|
|
|
- refProjectName: "",
|
|
|
|
- refUseUnit: "",
|
|
|
|
- ...this.screenForm,
|
|
|
|
|
|
+ examineStatus: '',
|
|
|
|
+ refEnginRecordNo: '',
|
|
|
|
+ refProjectName: '',
|
|
|
|
+ refUseUnit: '',
|
|
|
|
+ ...this.screenForm
|
|
// startDeliverTime: "",
|
|
// startDeliverTime: "",
|
|
- });
|
|
|
|
- });
|
|
|
|
|
|
+ })
|
|
|
|
+ })
|
|
},
|
|
},
|
|
- //审批后更新列表数据
|
|
|
|
|
|
+ // 审批后更新列表数据
|
|
updateList() {
|
|
updateList() {
|
|
this.getDataList({
|
|
this.getDataList({
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
- confirmName: "",
|
|
|
|
- createName: "",
|
|
|
|
- customerKeyword: "",
|
|
|
|
|
|
+ confirmName: '',
|
|
|
|
+ createName: '',
|
|
|
|
+ customerKeyword: '',
|
|
// endDeliverTime: "",
|
|
// endDeliverTime: "",
|
|
- enginOrderNo: "",
|
|
|
|
|
|
+ enginOrderNo: '',
|
|
enginOrderType: this.enginOrderType,
|
|
enginOrderType: this.enginOrderType,
|
|
- examineStatus: "",
|
|
|
|
- refEnginRecordNo: "",
|
|
|
|
- refProjectName: "",
|
|
|
|
- refUseUnit: "",
|
|
|
|
- ...this.screenForm,
|
|
|
|
|
|
+ examineStatus: '',
|
|
|
|
+ refEnginRecordNo: '',
|
|
|
|
+ refProjectName: '',
|
|
|
|
+ refUseUnit: '',
|
|
|
|
+ ...this.screenForm
|
|
// startDeliverTime: "",
|
|
// startDeliverTime: "",
|
|
- });
|
|
|
|
|
|
+ })
|
|
},
|
|
},
|
|
- //切换列表
|
|
|
|
|
|
+ // 切换列表
|
|
changeEnginOrderTypeFn(v) {
|
|
changeEnginOrderTypeFn(v) {
|
|
// console.log(v);
|
|
// console.log(v);
|
|
- this.pageSize = 10;
|
|
|
|
- this.currentPage = 1;
|
|
|
|
|
|
+ this.pageSize = 10
|
|
|
|
+ this.currentPage = 1
|
|
|
|
|
|
this.getDataList({
|
|
this.getDataList({
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
- confirmName: "",
|
|
|
|
- createName: "",
|
|
|
|
- customerKeyword: "",
|
|
|
|
|
|
+ confirmName: '',
|
|
|
|
+ createName: '',
|
|
|
|
+ customerKeyword: '',
|
|
// endDeliverTime: "",
|
|
// endDeliverTime: "",
|
|
- enginOrderNo: "",
|
|
|
|
|
|
+ enginOrderNo: '',
|
|
enginOrderType: v,
|
|
enginOrderType: v,
|
|
examineStatus: this.examine,
|
|
examineStatus: this.examine,
|
|
- refEnginRecordNo: "",
|
|
|
|
- refProjectName: "",
|
|
|
|
- refUseUnit: "",
|
|
|
|
- ...this.screenForm,
|
|
|
|
|
|
+ refEnginRecordNo: '',
|
|
|
|
+ refProjectName: '',
|
|
|
|
+ refUseUnit: '',
|
|
|
|
+ ...this.screenForm
|
|
// startDeliverTime: "",
|
|
// startDeliverTime: "",
|
|
- });
|
|
|
|
|
|
+ })
|
|
},
|
|
},
|
|
// 更改每页数量
|
|
// 更改每页数量
|
|
handleSizeChange(val) {
|
|
handleSizeChange(val) {
|
|
- this.pageSize = val;
|
|
|
|
- this.currentPage = 1;
|
|
|
|
|
|
+ this.pageSize = val
|
|
|
|
+ this.currentPage = 1
|
|
this.getDataList({
|
|
this.getDataList({
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
- confirmName: "",
|
|
|
|
- createName: "",
|
|
|
|
- customerKeyword: "",
|
|
|
|
|
|
+ confirmName: '',
|
|
|
|
+ createName: '',
|
|
|
|
+ customerKeyword: '',
|
|
// endDeliverTime: "",
|
|
// endDeliverTime: "",
|
|
- enginOrderNo: "",
|
|
|
|
|
|
+ enginOrderNo: '',
|
|
enginOrderType: this.enginOrderType,
|
|
enginOrderType: this.enginOrderType,
|
|
examineStatus: this.examine,
|
|
examineStatus: this.examine,
|
|
- refEnginRecordNo: "",
|
|
|
|
- refProjectName: "",
|
|
|
|
- refUseUnit: "",
|
|
|
|
- ...this.screenForm,
|
|
|
|
|
|
+ refEnginRecordNo: '',
|
|
|
|
+ refProjectName: '',
|
|
|
|
+ refUseUnit: '',
|
|
|
|
+ ...this.screenForm
|
|
// startDeliverTime: "",
|
|
// startDeliverTime: "",
|
|
- });
|
|
|
|
|
|
+ })
|
|
},
|
|
},
|
|
// 更改当前页
|
|
// 更改当前页
|
|
handleCurrentChange(val) {
|
|
handleCurrentChange(val) {
|
|
- this.currentPage = val;
|
|
|
|
|
|
+ this.currentPage = val
|
|
this.getDataList({
|
|
this.getDataList({
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
- confirmName: "",
|
|
|
|
- createName: "",
|
|
|
|
- customerKeyword: "",
|
|
|
|
|
|
+ confirmName: '',
|
|
|
|
+ createName: '',
|
|
|
|
+ customerKeyword: '',
|
|
// endDeliverTime: "",
|
|
// endDeliverTime: "",
|
|
- enginOrderNo: "",
|
|
|
|
|
|
+ enginOrderNo: '',
|
|
enginOrderType: this.enginOrderType,
|
|
enginOrderType: this.enginOrderType,
|
|
examineStatus: this.examine,
|
|
examineStatus: this.examine,
|
|
- refEnginRecordNo: "",
|
|
|
|
- refProjectName: "",
|
|
|
|
- refUseUnit: "",
|
|
|
|
- ...this.screenForm,
|
|
|
|
|
|
+ refEnginRecordNo: '',
|
|
|
|
+ refProjectName: '',
|
|
|
|
+ refUseUnit: '',
|
|
|
|
+ ...this.screenForm
|
|
// startDeliverTime: "",
|
|
// startDeliverTime: "",
|
|
- });
|
|
|
|
|
|
+ })
|
|
},
|
|
},
|
|
- //切换radio
|
|
|
|
|
|
+ // 切换radio
|
|
changeRadioFn(v) {
|
|
changeRadioFn(v) {
|
|
- this.examine = v;
|
|
|
|
|
|
+ this.examine = v
|
|
this.getDataList({
|
|
this.getDataList({
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
enginOrderType: this.enginOrderType,
|
|
enginOrderType: this.enginOrderType,
|
|
...this.screenForm,
|
|
...this.screenForm,
|
|
- examineStatus: this.examine,
|
|
|
|
|
|
+ examineStatus: this.examine
|
|
// startDeliverTime: "",
|
|
// startDeliverTime: "",
|
|
- });
|
|
|
|
|
|
+ })
|
|
},
|
|
},
|
|
- //导出
|
|
|
|
|
|
+ // 导出
|
|
exportFn() {
|
|
exportFn() {
|
|
- let params = {
|
|
|
|
|
|
+ const params = {
|
|
...this.screenForm,
|
|
...this.screenForm,
|
|
- orderType: "HOME",
|
|
|
|
- examine: this.examine,
|
|
|
|
- };
|
|
|
|
- downloadFiles("deposit-manage/export", params);
|
|
|
|
|
|
+ orderType: 'HOME',
|
|
|
|
+ examine: this.examine
|
|
|
|
+ }
|
|
|
|
+ downloadFiles('deposit-manage/export', params)
|
|
},
|
|
},
|
|
- //多选列表数据
|
|
|
|
|
|
+ // 多选列表数据
|
|
handleSelectionChange(selectData) {
|
|
handleSelectionChange(selectData) {
|
|
- this.selectData = selectData;
|
|
|
|
|
|
+ this.selectData = selectData
|
|
},
|
|
},
|
|
- //重置
|
|
|
|
|
|
+ // 重置
|
|
resetFn() {
|
|
resetFn() {
|
|
- this.screenForm.startInstallTime = "";
|
|
|
|
- this.screenForm.endInstallTime = "";
|
|
|
|
- this.$refs.screenForm.resetFields();
|
|
|
|
|
|
+ this.screenForm.startInstallTime = ''
|
|
|
|
+ this.screenForm.endInstallTime = ''
|
|
|
|
+ this.$refs.screenForm.resetFields()
|
|
// this.screenForm.endSpecification = "";
|
|
// this.screenForm.endSpecification = "";
|
|
// this.screenForm.endSpecialNo = "";
|
|
// this.screenForm.endSpecialNo = "";
|
|
// this.screenForm.endRefFactoryNo = "";
|
|
// this.screenForm.endRefFactoryNo = "";
|
|
},
|
|
},
|
|
- //搜索
|
|
|
|
|
|
+ // 搜索
|
|
searchFn() {
|
|
searchFn() {
|
|
this.getDataList({
|
|
this.getDataList({
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
pageNum: this.currentPage,
|
|
pageNum: this.currentPage,
|
|
- confirmName: "",
|
|
|
|
- createName: "",
|
|
|
|
- enginOrderNo: "",
|
|
|
|
|
|
+ confirmName: '',
|
|
|
|
+ createName: '',
|
|
|
|
+ enginOrderNo: '',
|
|
enginOrderType: this.enginOrderType,
|
|
enginOrderType: this.enginOrderType,
|
|
examineStatus: this.examine,
|
|
examineStatus: this.examine,
|
|
- refUseUnit: "",
|
|
|
|
- ...this.screenForm,
|
|
|
|
- });
|
|
|
|
|
|
+ refUseUnit: '',
|
|
|
|
+ ...this.screenForm
|
|
|
|
+ })
|
|
},
|
|
},
|
|
- //详情
|
|
|
|
|
|
+ // 详情
|
|
infoFn(id) {
|
|
infoFn(id) {
|
|
- this.detailId = id;
|
|
|
|
- this.showSurrender = false;
|
|
|
|
|
|
+ this.detailId = id
|
|
|
|
+ this.showSurrender = false
|
|
},
|
|
},
|
|
async getDataList(data) {
|
|
async getDataList(data) {
|
|
- const res = await getDepositManageList(data);
|
|
|
|
|
|
+ const res = await getDepositManageList(data)
|
|
res.data.records.forEach((item) => {
|
|
res.data.records.forEach((item) => {
|
|
- item.totalPrice = item.itemPrice * item.itemQty;
|
|
|
|
- item.sums1 = ["orderHasSendQty", "itemDataQty", "itemQty","hasSendQty",
|
|
|
|
- "itemContractQty"];
|
|
|
|
|
|
+ item.totalPrice = item.itemPrice * item.itemQty
|
|
|
|
+ item.sums1 = ['orderHasSendQty', 'itemDataQty', 'itemQty', 'hasSendQty',
|
|
|
|
+ 'itemContractQty']
|
|
item.sums2 = [
|
|
item.sums2 = [
|
|
- "itemDepositAmount",
|
|
|
|
- "diffAmount",
|
|
|
|
- "price",
|
|
|
|
- "totalAmount",
|
|
|
|
- "depositAmount",
|
|
|
|
- "totalPrice",
|
|
|
|
- "itemContractPrice",
|
|
|
|
- "itemContractAmount",
|
|
|
|
|
|
+ 'itemDepositAmount',
|
|
|
|
+ 'diffAmount',
|
|
|
|
+ 'price',
|
|
|
|
+ 'totalAmount',
|
|
|
|
+ 'depositAmount',
|
|
|
|
+ 'totalPrice',
|
|
|
|
+ 'itemContractPrice',
|
|
|
|
+ 'itemContractAmount'
|
|
|
|
|
|
- ];
|
|
|
|
- });
|
|
|
|
- this.dataList = res.data.records;
|
|
|
|
- this.listTotal = res.data.total;
|
|
|
|
|
|
+ ]
|
|
|
|
+ })
|
|
|
|
+ this.dataList = res.data.records
|
|
|
|
+ this.listTotal = res.data.total
|
|
},
|
|
},
|
|
examineFn(id) {
|
|
examineFn(id) {
|
|
- this.detailId = id;
|
|
|
|
- this.showSurrender = false;
|
|
|
|
- },
|
|
|
|
- },
|
|
|
|
-};
|
|
|
|
|
|
+ this.detailId = id
|
|
|
|
+ this.showSurrender = false
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|