|
@@ -21,7 +21,7 @@
|
|
|
<el-form ref="screenForm" :model="screenForm" label-width="140px" size="mini" label-position="left">
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :xs="24" :sm="12" :lg="6">
|
|
|
- <el-form-item label="工程登录编号" prop="refEnginRecordNo">
|
|
|
+ <el-form-item label="工程信息单号" prop="refEnginRecordNo">
|
|
|
<el-input v-model="screenForm.refEnginRecordNo" placeholder="请输入" />
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -222,6 +222,22 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6">
|
|
|
+ <el-form-item label="结算日期 " prop="settlementStatus">
|
|
|
+ <el-select style="width: 100%" v-model="screenForm.settlementStatus" clearable placeholder="请选择">
|
|
|
+ <el-option label="为空" :value="1"></el-option>
|
|
|
+ <el-option label="不为空" :value="0"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="24" :sm="12" :lg="6">
|
|
|
+ <el-form-item label="寄厂日期 " prop="mailFactoryStatus">
|
|
|
+ <el-select style="width: 100%" v-model="screenForm.mailFactoryStatus" clearable placeholder="请选择">
|
|
|
+ <el-option label="为空" :value="1"></el-option>
|
|
|
+ <el-option label="不为空" :value="0"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<!-- <el-col :xs="24" :sm="12" :lg="6">
|
|
|
<el-form-item label="产品编码" >
|
|
|
<div class="fanwei">
|
|
@@ -254,6 +270,10 @@
|
|
|
</template>
|
|
|
</Collapse>
|
|
|
</div>
|
|
|
+ <ul class="ulStyle">
|
|
|
+ <li class="title">金额:<span class="num">{{numSum.amountC || 0}}</span></li>
|
|
|
+ <li class="title">数量:<span class="num">{{numSum.totalC || 0}}</span></li>
|
|
|
+ </ul>
|
|
|
<!-- 按钮 -->
|
|
|
<div class="btn-group clearfix">
|
|
|
<div class="fl">
|
|
@@ -300,31 +320,31 @@
|
|
|
fit
|
|
|
highlight-current-row
|
|
|
stripe
|
|
|
+ @selection-change="handleSelectionChange"
|
|
|
show-summary
|
|
|
:summary-method="$getSummaries"
|
|
|
- @selection-change="handleSelectionChange"
|
|
|
>
|
|
|
>
|
|
|
- <el-table-column type="selection" align="center" width="55" />
|
|
|
- <el-table-column align="left" label="状态" prop="" min-width="160" show-overflow-tooltip>
|
|
|
+ <el-table-column type="selection" align="center" width="55"> </el-table-column>
|
|
|
+ <el-table-column align="left" label="状态" prop="" min-width="60" show-overflow-tooltip>
|
|
|
<template v-slot="{ row }">
|
|
|
- <el-tag v-show="row.examineStatus == 'SAVE'" size="mini">保存</el-tag>
|
|
|
- <el-tag v-show="row.examineStatus == 'WAIT'" size="mini" type="warning">待审核</el-tag>
|
|
|
- <el-tag v-show="row.examineStatus == 'OK'" size="mini" type="success">通过</el-tag>
|
|
|
- <el-tag v-show="row.examineStatus == 'FAIL'" size="mini" type="danger">不通过</el-tag>
|
|
|
+ <el-tag size="mini" v-show="row.examineStatus == 'SAVE'">保存</el-tag>
|
|
|
+ <el-tag size="mini" v-show="row.examineStatus == 'WAIT'" type="warning">待审核</el-tag>
|
|
|
+ <el-tag size="mini" v-show="row.examineStatus == 'OK'" type="success">通过</el-tag>
|
|
|
+ <el-tag size="mini" v-show="row.examineStatus == 'FAIL'" type="danger">不通过</el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column align="right" label="数量" prop="hasSendQty" min-width="160" show-overflow-tooltip />-->
|
|
|
- <!-- <el-table-column align="right" label="金额" prop="hasSendQty" min-width="160" show-overflow-tooltip />-->
|
|
|
+ <el-table-column align="right" label="数量" prop="hasSendQty" min-width="60" show-overflow-tooltip />
|
|
|
+ <el-table-column align="right" label="金额" prop="hasSendQty" min-width="100" show-overflow-tooltip />
|
|
|
<el-table-column
|
|
|
align="left"
|
|
|
- label="工程登录编号"
|
|
|
+ label="工程信息单号"
|
|
|
prop="refEnginRecordNo"
|
|
|
min-width="160"
|
|
|
show-overflow-tooltip
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.refEnginRecordNo" />
|
|
|
+ <CopyButton :copyText="scope.row.refEnginRecordNo" />
|
|
|
<span>{{ scope.row.refEnginRecordNo }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -342,28 +362,30 @@
|
|
|
align="left"
|
|
|
label="经销商编码"
|
|
|
prop="customerNumber"
|
|
|
- min-width="160"
|
|
|
+ min-width="100"
|
|
|
show-overflow-tooltip
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.customerNumber" />
|
|
|
+ <CopyButton :copyText="scope.row.customerNumber" />
|
|
|
<span>{{ scope.row.customerNumber }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="left" label="经销商名称" prop="customerName" min-width="260" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.customerName" />
|
|
|
+ <CopyButton :copyText="scope.row.customerName" />
|
|
|
<span>{{ scope.row.customerName }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="left" label="跨厂区编号" prop="refFactoryNo" min-width="260" show-overflow-tooltip>
|
|
|
+ <el-table-column align="left" label="跨厂区标号" prop="refFactoryNo" min-width="100" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.refFactoryNo" />
|
|
|
+ <CopyButton :copyText="scope.row.refFactoryNo" />
|
|
|
<span>{{ scope.row.refFactoryNo }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="right" label="厂编号" prop="factoryNo" min-width="160" show-overflow-tooltip />
|
|
|
- <el-table-column align="right" label="特价编号" prop="specialNo" min-width="160" show-overflow-tooltip />
|
|
|
+ <el-table-column align="right" label="厂编号" prop="factoryNo" min-width="120" show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="right" label="特价编号" prop="specialNo" min-width="120" show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
align="left"
|
|
|
label="行业类别"
|
|
@@ -372,23 +394,31 @@
|
|
|
show-overflow-tooltip
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.refTradeCategory" />
|
|
|
+ <CopyButton :copyText="scope.row.refTradeCategory" />
|
|
|
<span>{{ scope.row.refTradeCategory }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="left" label="使用单位" prop="refUseUnit" min-width="160" show-overflow-tooltip>
|
|
|
+ <el-table-column
|
|
|
+ align="left"
|
|
|
+ label="使用单位
|
|
|
+"
|
|
|
+ prop="refUseUnit"
|
|
|
+ min-width="250"
|
|
|
+ show-overflow-tooltip
|
|
|
+ >
|
|
|
<template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.refUseUnit" />
|
|
|
+ <CopyButton :copyText="scope.row.refUseUnit" />
|
|
|
<span>{{ scope.row.refUseUnit }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="left" label="区域" prop="refRegionWork" min-width="160" show-overflow-tooltip>
|
|
|
+
|
|
|
+ <el-table-column align="left" label="区域" prop="refRegionWork" min-width="250" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.refRegionWork" />
|
|
|
+ <CopyButton :copyText="scope.row.refRegionWork" />
|
|
|
<span>{{ scope.row.refRegionWork }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column
|
|
|
+ <el-table-column
|
|
|
v-if="!isCustomer"
|
|
|
align="left"
|
|
|
label="格力内部备注"
|
|
@@ -399,10 +429,10 @@
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.geLiInerNote }}</span>
|
|
|
</template>
|
|
|
- </el-table-column> -->
|
|
|
- <el-table-column align="left" label="物料编码" prop="materialNumber" min-width="260" show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column align="left" label="物料编码" prop="materialNumber" min-width="120" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.materialNumber" />
|
|
|
+ <CopyButton :copyText="scope.row.materialNumber" />
|
|
|
<span>{{ scope.row.materialNumber }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -410,77 +440,32 @@
|
|
|
align="left"
|
|
|
label="产品编码"
|
|
|
prop="materialOldNumber"
|
|
|
- min-width="260"
|
|
|
+ min-width="150"
|
|
|
show-overflow-tooltip
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.materialOldNumber" />
|
|
|
+ <CopyButton :copyText="scope.row.materialOldNumber" />
|
|
|
<span>{{ scope.row.materialOldNumber }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column align="left" label="产品名称" prop="materialName" min-width="260" show-overflow-tooltip>
|
|
|
+ <el-table-column align="left" label="产品名称" prop="materialName" min-width="180" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.materialName" />
|
|
|
+ <CopyButton :copyText="scope.row.materialName" />
|
|
|
<span>{{ scope.row.materialName }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="left" label="规格型号" prop="specification" min-width="300" show-overflow-tooltip>
|
|
|
+ <el-table-column align="left" label="规格型号" prop="specification" min-width="350" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.specification" />
|
|
|
+ <CopyButton :copyText="scope.row.specification" />
|
|
|
<span>{{ scope.row.specification }}</span>
|
|
|
</template>
|
|
|
</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 align="left" label="是否退押" prop="isRefundDeposit" min-width="160" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-tag v-if="scope.row.isRefundDeposit" type="success" size="small">是</el-tag>
|
|
|
- <el-tag v-else type="warning" size="small">否</el-tag>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
align="right"
|
|
|
label="押金金额"
|
|
|
prop="itemDepositAmount"
|
|
|
- min-width="160"
|
|
|
+ min-width="100"
|
|
|
show-overflow-tooltip
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
@@ -489,102 +474,61 @@
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column align="right" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip>
|
|
|
</el-table-column> -->
|
|
|
-
|
|
|
- <el-table-column align="right" label="安装日期" prop="installDate" min-width="160" show-overflow-tooltip />
|
|
|
- <el-table-column align="left" label="审核人" prop="confirmName" min-width="160" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <CopyButton :copy-text="scope.row.confirmName" />
|
|
|
- <span>{{ scope.row.confirmName }}</span>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column align="right" label="金额" prop="totalPrice" min-width="160" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.totalPrice | numToFixed }}
|
|
|
- </template>
|
|
|
+ <el-table-column align="right" label="安装日期" prop="installDate" min-width="160" show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
- <el-table-column align="right" label="订单数量" prop="itemQty" min-width="160" show-overflow-tooltip />
|
|
|
-
|
|
|
- <!-- <el-table-column
|
|
|
- align="right"
|
|
|
- label="合同数量"
|
|
|
- prop="itemContractQty"
|
|
|
- min-width="160"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ <el-table-column align="left" label="审核人" prop="confirmName" min-width="100" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- {{ scope.row.itemContractQty || 0}}
|
|
|
+ <CopyButton :copyText="scope.row.confirmName" />
|
|
|
+ <span>{{ scope.row.confirmName }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- align="right"
|
|
|
- label="合同单价"
|
|
|
- prop="itemContractPrice"
|
|
|
+ align="left"
|
|
|
+ label="资料审核日期"
|
|
|
+ prop="refDatumAcceptDate"
|
|
|
min-width="160"
|
|
|
show-overflow-tooltip
|
|
|
- >
|
|
|
+ />
|
|
|
+ <el-table-column align="right" label="金额" prop="totalPrice" min-width="100" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
- {{ scope.row.itemContractPrice | numToFixed }}
|
|
|
+ {{ scope.row.totalPrice | numToFixed }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- align="right"
|
|
|
- label="合同金额"
|
|
|
- prop="itemContractAmount"
|
|
|
- min-width="160"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
- <template slot-scope="scope">
|
|
|
- {{ scope.row.itemContractAmount | numToFixed }}
|
|
|
- </template>
|
|
|
- </el-table-column> -->
|
|
|
- <el-table-column
|
|
|
- align="right"
|
|
|
- label="发货数量"
|
|
|
- prop="orderHasSendQty"
|
|
|
- min-width="160"
|
|
|
- show-overflow-tooltip
|
|
|
- />
|
|
|
+ <el-table-column align="right" label="订单数量" prop="itemQty" min-width="80" show-overflow-tooltip />
|
|
|
+ <!-- <el-table-column align="right" label="合同单价" prop="contractPrice" min-width="160" show-overflow-tooltip >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ scope.row.contractPrice | numToFixed}}
|
|
|
+ </template>
|
|
|
+ </el-table-column> -->
|
|
|
+
|
|
|
+ <el-table-column align="right" label="发货数量" prop="hasSendQty" min-width="80" show-overflow-tooltip />
|
|
|
<!-- <el-table-column align="right" label="押金金额" prop="depositAmount" min-width="160" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.depositAmount | numToFixed}}
|
|
|
</template>
|
|
|
</el-table-column> -->
|
|
|
-
|
|
|
- <el-table-column align="right" label="上交资料" prop="itemDataQty" min-width="160" show-overflow-tooltip />
|
|
|
+ <!-- <el-table-column align="right" label="上交资料" prop="itemDataQty" min-width="160" show-overflow-tooltip />-->
|
|
|
<el-table-column fixed="right" align="center" label="操作" min-width="160" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
- v-if="scope.row.examineStatus == 'WAIT' && $checkBtnRole('examine', $route.meta.roles)"
|
|
|
type="text"
|
|
|
class="textColor"
|
|
|
+ v-if="scope.row.examineStatus == 'WAIT' && $checkBtnRole('examine', $route.meta.roles)"
|
|
|
@click="examineFn(scope.row.depositManageId)"
|
|
|
- >审批
|
|
|
- </el-button>
|
|
|
+ >审批</el-button
|
|
|
+ >
|
|
|
|
|
|
<el-button
|
|
|
+ type="text"
|
|
|
+ class="textColor"
|
|
|
v-if="
|
|
|
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)"
|
|
|
- >详情
|
|
|
- </el-button>
|
|
|
- <el-popconfirm
|
|
|
- v-if="scope.row.examineStatus == 'OK' && !scope.row.isRefundDeposit && scope.row.takeDeposit!==true"
|
|
|
- style="margin-left: 10px"
|
|
|
- title="二次退押吗?"
|
|
|
- @onConfirm="secondRefund(scope.row)"
|
|
|
+ >详情</el-button
|
|
|
>
|
|
|
- <el-button
|
|
|
- slot="reference"
|
|
|
- type="text"
|
|
|
- size="mini"
|
|
|
- >二次退押
|
|
|
- </el-button>
|
|
|
- </el-popconfirm>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -614,7 +558,8 @@ import {
|
|
|
getDepositManageList,
|
|
|
getDepositManageDate,
|
|
|
getDepositManagExport,
|
|
|
- secondRefund
|
|
|
+ secondRefund,
|
|
|
+ getDepositCountList
|
|
|
} from '@/api/engin_deposit/refund_list'
|
|
|
import { downloadFiles, handleImport } from '@/utils/util'
|
|
|
import ExamineDialog from '@/components/Common/examine-dialog'
|
|
@@ -703,11 +648,14 @@ export default {
|
|
|
showSurrender: true,
|
|
|
detailId: '',
|
|
|
selectData: [],
|
|
|
+ mailFactoryStatus:'' ,
|
|
|
+ settlementStatus:'',
|
|
|
isShowExamineDialog: false,
|
|
|
examineForm: {
|
|
|
status: 'OK',
|
|
|
remark: ''
|
|
|
- }
|
|
|
+ },
|
|
|
+ numSum:{}
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -716,6 +664,11 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ getDepositCountList({
|
|
|
+ enginOrderType: this.enginOrderType
|
|
|
+ }).then(res=>{
|
|
|
+ this.numSum = res.data
|
|
|
+ })
|
|
|
this.getDataList({
|
|
|
pageSize: this.pageSize,
|
|
|
pageNum: this.currentPage,
|
|
@@ -1000,4 +953,20 @@ export default {
|
|
|
margin: 0 20px;
|
|
|
}
|
|
|
}
|
|
|
+.ulStyle{
|
|
|
+ list-style: none;
|
|
|
+ margin: 0;
|
|
|
+ padding: 10px 0;
|
|
|
+ background-color: #ffffff;
|
|
|
+ z-index: 1;
|
|
|
+}
|
|
|
+.title{
|
|
|
+ display: inline-block;
|
|
|
+ font-weight: 700;
|
|
|
+ margin-right: 20px;
|
|
|
+}
|
|
|
+.num{
|
|
|
+ padding-left: 6px;
|
|
|
+ font-weight: 400;
|
|
|
+}
|
|
|
</style>
|