Commit 808c9981 by weix

Merge remote-tracking branch 'origin/master'

parents c3b3202c 80e5dbba
...@@ -186,10 +186,7 @@ ...@@ -186,10 +186,7 @@
商户订单号: 商户订单号:
</div> </div>
<div> <div>
<el-input <el-input v-model="input"></el-input>
v-model="input"
></el-input>
</div> </div>
<el-link <el-link
type="primary" type="primary"
...@@ -382,9 +379,11 @@ ...@@ -382,9 +379,11 @@
>强制完单</el-button >强制完单</el-button
> >
<el-button type="warning" size="mini" @click="setpaystatus" <el-button
type="warning"
size="mini"
@click="setpaystatus"
v-if=" v-if="
dataSource.status * 1 >= 6 && dataSource.status * 1 >= 6 &&
(dataSource.orderSource * 1 == 6 || (dataSource.orderSource * 1 == 6 ||
dataSource.orderSource * 1 == 4 || dataSource.orderSource * 1 == 4 ||
...@@ -891,10 +890,11 @@ export default { ...@@ -891,10 +890,11 @@ export default {
this.driverStatus = true; this.driverStatus = true;
}, },
setpaystatusBtn() { setpaystatusBtn() {
if (this.value < 1 && !this.input) { var pattern = /([a-fA-F0-9]{32})/;
if (this.value < 1 && !pattern.test(this.input)) {
this.$message({ this.$message({
type: "info", type: "info",
message: "商户订单号不能为空!", message: "请输入32位商户订单号!",
}); });
return; return;
} }
...@@ -984,9 +984,9 @@ export default { ...@@ -984,9 +984,9 @@ export default {
this.paystatus = true; this.paystatus = true;
}, },
getpayInfoFun() { getpayInfoFun() {
// let json={ // let json={
// orderId:"20210301095247903_1H2wew42w7T2w" // orderId:"20210301095247903_1H2wew42w7T2w"
// } // }
getpayInfo(this.payData).then((res) => { getpayInfo(this.payData).then((res) => {
if (res.status == 200) { if (res.status == 200) {
this.input = res.data[0].businessSerial; this.input = res.data[0].businessSerial;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment