|
@@ -4,11 +4,11 @@
|
|
|
<BaseHeaderLayout :leftSpan="16">
|
|
|
<template slot="left">
|
|
|
<ws-button type="primary" @click="screen(2)">待结算</ws-button>
|
|
|
- <ws-button type="primary" @click="screen()">待审核</ws-button>
|
|
|
+ <ws-button type="primary" @click="screen(0)">待审核</ws-button>
|
|
|
<ws-button type="primary" @click="screen()">全部</ws-button>
|
|
|
<ws-button type="primary" @click="reject" v-if="isShowAdopt">驳回</ws-button>
|
|
|
<ws-button type="primary" @click="adopt" v-if="isShowAdopt">通过</ws-button>
|
|
|
- <ws-button type="primary" @click="handlepass" v-if="isShowAdopt">审核</ws-button>
|
|
|
+ <!-- <ws-button type="primary" @click="handlepass" v-if="isShowAdopt">审核</ws-button> -->
|
|
|
<ws-button type="primary" @click="payment" v-hasPermission="`acquisitionManagement.acquisitionPay.pay`">付款</ws-button>
|
|
|
</template>
|
|
|
<template slot="right">
|
|
@@ -74,7 +74,11 @@
|
|
|
<el-table-column class="table_td" prop="netWeight" width="120" label="净重(公斤)"></el-table-column>
|
|
|
<el-table-column class="table_td" prop="pureWeight" width="120" label="纯重(公斤)"></el-table-column>
|
|
|
<el-table-column class="table_td" prop="amountIngPayable" label="应付款(元)"></el-table-column>
|
|
|
- <el-table-column class="table_td" prop="amountEdPayable" label="已付款(元)"></el-table-column>
|
|
|
+ <el-table-column class="table_td" prop="amountEdPayable" label="已付款(元)">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div @click="showPayImg(scope.row)">{{scope.row.amountEdPayable}}</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column class="table_td" prop="updateDate" label="更新时间" width="140" ></el-table-column>
|
|
|
<el-table-column class="table_td" prop="status" label="状态">
|
|
|
<template scope="scope">
|
|
@@ -150,6 +154,15 @@
|
|
|
</ws-form>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <!-- 付款截图 -->
|
|
|
+ <el-dialog width="50%" :visible.sync="showPayImgs" :append-to-body="true" title="付款截图">
|
|
|
+ <div v-for="(item,index) in payImg" :key="index" class="pay_img">
|
|
|
+ <img :src="item" alt="" class="img">
|
|
|
+ </div>
|
|
|
+ <div style="text-align:center;margin:10px auto;">
|
|
|
+ <el-button @click="showPayImgs = false" type="primary">关闭</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
<div style="text-align: center">
|
|
|
<el-pagination
|
|
|
@size-change="handleSizeChange"
|
|
@@ -216,9 +229,11 @@ export default {
|
|
|
amountNotPayable: 0,
|
|
|
paymentDate: ''
|
|
|
},
|
|
|
+ showPayImgs:false,
|
|
|
isShowAdopt:false,
|
|
|
//上传截图路径
|
|
|
- imageUrl: ''
|
|
|
+ imageUrl: '',
|
|
|
+ payImg:[],
|
|
|
}
|
|
|
},
|
|
|
activated() {
|
|
@@ -242,6 +257,19 @@ export default {
|
|
|
}
|
|
|
|
|
|
},
|
|
|
+ //查看付款截图
|
|
|
+ showPayImg(row){
|
|
|
+ if(!row.paymentScreenshot){
|
|
|
+ this.$message({
|
|
|
+ message: '暂无付款截图!',
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }else{
|
|
|
+ this.showPayImgs = true
|
|
|
+ this.payImg = row.paymentScreenshot.split("$")
|
|
|
+ }
|
|
|
+ },
|
|
|
getWarehouse() {
|
|
|
selectWarehouseSelf({
|
|
|
compId: sessionStorage.getItem('ws-pf_compId')
|
|
@@ -683,4 +711,13 @@ table {
|
|
|
border-radius: 5px;
|
|
|
display: block;
|
|
|
}
|
|
|
+.pay_img{
|
|
|
+width:50%;
|
|
|
+// display: flex;
|
|
|
+display: inline-block;
|
|
|
+.img{
|
|
|
+ height: 350px;
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+}
|
|
|
</style>
|