|
@@ -8,7 +8,7 @@
|
|
|
<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">
|
|
@@ -154,16 +154,14 @@
|
|
|
</ws-form>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <!-- 付款截图 -->
|
|
|
<el-dialog width="50%" :visible.sync="showPayImgs" :append-to-body="true" title="付款截图">
|
|
|
- <div style="display: flex;">
|
|
|
- <div v-for="(item,index) in payImg" :key="index" style="width:50%;display: flex;">
|
|
|
- <img :src="item" alt="" style="height:300px">
|
|
|
-
|
|
|
+ <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
|
|
@@ -261,8 +259,16 @@ export default {
|
|
|
},
|
|
|
//查看付款截图
|
|
|
showPayImg(row){
|
|
|
- this.showPayImgs = true
|
|
|
- this.payImg = row.paymentScreenshot.split("$")
|
|
|
+ if(!row.paymentScreenshot){
|
|
|
+ this.$message({
|
|
|
+ message: '暂无付款截图!',
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }else{
|
|
|
+ this.showPayImgs = true
|
|
|
+ this.payImg = row.paymentScreenshot.split("$")
|
|
|
+ }
|
|
|
},
|
|
|
getWarehouse() {
|
|
|
selectWarehouseSelf({
|
|
@@ -705,4 +711,13 @@ table {
|
|
|
border-radius: 5px;
|
|
|
display: block;
|
|
|
}
|
|
|
+.pay_img{
|
|
|
+width:50%;
|
|
|
+// display: flex;
|
|
|
+display: inline-block;
|
|
|
+.img{
|
|
|
+ height: 350px;
|
|
|
+ width: 100%;
|
|
|
+}
|
|
|
+}
|
|
|
</style>
|