md
This commit is contained in:
parent
53949b2cf2
commit
0dab6c3bfa
@ -25,7 +25,13 @@ export function getEmisSettleBill(id) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function checkCanOnlinePay(query) {
|
||||||
|
return request({
|
||||||
|
url: '/oms2c/emisSettleBill/checkCanOnlinePay',
|
||||||
|
method: 'get',
|
||||||
|
params: query
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 查询结算总账单详细
|
// 查询结算总账单详细
|
||||||
export function getInfoBySettleBillNo(settleBillNo) {
|
export function getInfoBySettleBillNo(settleBillNo) {
|
||||||
|
|||||||
@ -181,7 +181,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { listSimple } from "@/api/oms/emisSettleBill";
|
import { listSimple ,checkCanOnlinePay} from "@/api/oms/emisSettleBill";
|
||||||
import elDateAdvPicker from '@/components/DatePickerAdv/elDateAdvPicker';
|
import elDateAdvPicker from '@/components/DatePickerAdv/elDateAdvPicker';
|
||||||
import PayQrCode from '@/views/oms/BillMgnt/PayQrCode.vue';
|
import PayQrCode from '@/views/oms/BillMgnt/PayQrCode.vue';
|
||||||
|
|
||||||
@ -350,11 +350,22 @@ export default {
|
|||||||
handleGenPayCode(row) {
|
handleGenPayCode(row) {
|
||||||
let selItem=this.selectList[0];
|
let selItem=this.selectList[0];
|
||||||
|
|
||||||
|
let selItem=this.selectList[0];
|
||||||
if(selItem.paymentStatus == 1){
|
if(selItem.paymentStatus == 1){
|
||||||
this.$modal.msgError("已支付,无需再支付");
|
this.$modal.msgError("已支付,无需再支付");
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try{
|
||||||
|
let res= await checkCanOnlinePay({settleBillNo:selItem.settleBillNo});
|
||||||
|
if(res.data=='0'){
|
||||||
|
this.$modal.msgError("不支持在线支付");
|
||||||
|
}
|
||||||
|
}catch(e){
|
||||||
|
// this.$modal.msgError(e.message);
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
this.resetRefreshId="pay-"+Math.random().toString(36).substring(3,10);
|
this.resetRefreshId="pay-"+Math.random().toString(36).substring(3,10);
|
||||||
this.titleForm="二维码支付";
|
this.titleForm="二维码支付";
|
||||||
this.openForm=true;
|
this.openForm=true;
|
||||||
|
|||||||
@ -181,7 +181,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { listSimple } from "@/api/oms/emisSettleBill";
|
import { listSimple ,checkCanOnlinePay} from "@/api/oms/emisSettleBill";
|
||||||
import elDateAdvPicker from '@/components/DatePickerAdv/elDateAdvPicker';
|
import elDateAdvPicker from '@/components/DatePickerAdv/elDateAdvPicker';
|
||||||
import PayQrCode from '@/views/oms/BillMgnt/PayQrCode.vue';
|
import PayQrCode from '@/views/oms/BillMgnt/PayQrCode.vue';
|
||||||
|
|
||||||
@ -347,14 +347,25 @@ export default {
|
|||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
},
|
},
|
||||||
|
|
||||||
handleGenPayCode(row) {
|
async handleGenPayCode(row) {
|
||||||
let selItem=this.selectList[0];
|
let selItem=this.selectList[0];
|
||||||
|
|
||||||
if(selItem.paymentStatus ==1){
|
let selItem=this.selectList[0];
|
||||||
|
if(selItem.paymentStatus == 1){
|
||||||
this.$modal.msgError("已支付,无需再支付");
|
this.$modal.msgError("已支付,无需再支付");
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try{
|
||||||
|
let res= await checkCanOnlinePay({settleBillNo:selItem.settleBillNo});
|
||||||
|
if(res.data=='0'){
|
||||||
|
this.$modal.msgError("不支持在线支付");
|
||||||
|
}
|
||||||
|
}catch(e){
|
||||||
|
// this.$modal.msgError(e.message);
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
this.resetRefreshId="pay-"+Math.random().toString(36).substring(3,10);
|
this.resetRefreshId="pay-"+Math.random().toString(36).substring(3,10);
|
||||||
this.titleForm="二维码支付";
|
this.titleForm="二维码支付";
|
||||||
this.openForm=true;
|
this.openForm=true;
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<el-form id="payPage" ref="form" v-if="settleBillItem!=null" :model="form" size="mini" label-width="80px">
|
<el-form id="payPage" ref="form" v-if="settleBillItem!=null" :model="form" size="mini" label-width="80px">
|
||||||
<el-row :gutter="0" style="display: flex;flex-wrap: wrap;">
|
<el-row :gutter="0" style="display: flex;flex-wrap: wrap;">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<div style="text-align:center">
|
<div v-if="settleBillItem.blLockOnlinePay!='T'" style="text-align:center">
|
||||||
<div style="display: inline-flex;" >
|
<div style="display: inline-flex;" >
|
||||||
<span><img :src="shortLogo" style="width: 30px;height: 30px;margin-top: 0px;" /></span>
|
<span><img :src="shortLogo" style="width: 30px;height: 30px;margin-top: 0px;" /></span>
|
||||||
<span style="font-size: 20px;font-weight: bold;color: black;">探路供应链(江苏)有限公司</span>
|
<span style="font-size: 20px;font-weight: bold;color: black;">探路供应链(江苏)有限公司</span>
|
||||||
@ -13,11 +13,16 @@
|
|||||||
<img :src="wxPayQrImageUrl" width="100%" draggable="false"/>
|
<img :src="wxPayQrImageUrl" width="100%" draggable="false"/>
|
||||||
</div>
|
</div>
|
||||||
<!-- -settleBillItem.recedMoney -->
|
<!-- -settleBillItem.recedMoney -->
|
||||||
<div class="pay-title"><span style="color: red;font-size: 20px;">¥{{ settleBillItem.thisPayMoney }} </span></div>
|
<div class="pay-title">
|
||||||
|
<span style="color: red;font-size: 20px;">¥{{ settleBillItem.thisPayMoney }} </span>
|
||||||
|
</div>
|
||||||
<div style="text-align: center;" >
|
<div style="text-align: center;" >
|
||||||
<div>请使用微信[<span style="color:blue;font-weight: bold;">24小时</span>]内完成支付</div>
|
<div>请使用微信[<span style="color:blue;font-weight: bold;">24小时</span>]内完成支付</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-if="settleBillItem.blLockOnlinePay=='T'">
|
||||||
|
<span style="color: red;font-size: 20px;">{{ settleBillItem.lockOnlinePayReason }} </span>
|
||||||
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-row :gutter="0" style="display: flex;flex-wrap: wrap;margin-top:10px">
|
<el-row :gutter="0" style="display: flex;flex-wrap: wrap;margin-top:10px">
|
||||||
|
|||||||
@ -35,18 +35,14 @@
|
|||||||
<el-form id="payPage" v-if="settleBillItem!=null" ref="form" :model="form" size="mini" label-width="80px">
|
<el-form id="payPage" v-if="settleBillItem!=null" ref="form" :model="form" size="mini" label-width="80px">
|
||||||
<el-row :gutter="0" style="display: flex;flex-wrap: wrap;">
|
<el-row :gutter="0" style="display: flex;flex-wrap: wrap;">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<div style="text-align:left">
|
<div v-if="settleBillItem.blLockOnlinePay!='T'" style="text-align:left">
|
||||||
<div style="display: inline-flex;" >
|
<div style="display: inline-flex;" >
|
||||||
<span><img :src="shortLogo" style="width: 28px;height: 28px;margin-top: 0px;" /></span>
|
<span><img :src="shortLogo" style="width: 28px;height: 28px;margin-top: 0px;" /></span>
|
||||||
<span style="font-size: 20px;font-weight: bold;color: black;">探路供应链(江苏)有限公司</span>
|
<span style="font-size: 20px;font-weight: bold;color: black;">探路供应链(江苏)有限公司</span>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div v-if="!isWx" style="width:150px;margin: 0 auto;">
|
|
||||||
<img :src="wxPayQrImageUrl" width="100%" draggable="false"/>
|
|
||||||
</div>
|
</div>
|
||||||
<div v-if="!isWx" class="pay-title"><span style="color: black;font-size: 20px;">¥{{ settleBillItem.thisPayMoney }} </span></div>
|
<div v-if="settleBillItem.blLockOnlinePay=='T'">
|
||||||
<div v-if="!isWx" style="text-align: center;" >
|
<span style="color: red;font-size: 20px;">{{ settleBillItem.lockOnlinePayReason }} </span>
|
||||||
<div>请使用微信[<span style="color:black;font-weight: bold;">24小时</span>]内完成支付</div>
|
|
||||||
</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
@ -101,7 +97,7 @@
|
|||||||
<!-- <el-col :span="12">
|
<!-- <el-col :span="12">
|
||||||
</el-col> -->
|
</el-col> -->
|
||||||
|
|
||||||
<el-col :span="24">
|
<el-col v-if="settleBillItem.blLockOnlinePay!='T'" :span="24">
|
||||||
<span class="item-label" >支付金额:</span><span class="item-value" style="color:red;font-size:25px">¥{{ settleBillItem.thisPayMoney }}</span>
|
<span class="item-label" >支付金额:</span><span class="item-value" style="color:red;font-size:25px">¥{{ settleBillItem.thisPayMoney }}</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user