diff --git a/dist.zip b/dist.zip
deleted file mode 100644
index bc06008..0000000
--- a/dist.zip
+++ /dev/null
diff --git a/src/main.js b/src/main.js
index ebb25e9..3ccf79e 100644
--- a/src/main.js
+++ b/src/main.js
@@ -20,6 +20,12 @@ import { MessageBox } from 'mint-ui'
// Vue.use(MessageBox)
Vue.prototype.$msgbox = MessageBox
+
+
+import { Field } from 'mint-ui';
+
+Vue.component(Field.name, Field);
+
//全局设置的基本样式
import './assets/css/base.scss'
diff --git a/src/views/parkPay/navigation.vue b/src/views/parkPay/navigation.vue
index 4881a65..5a82849 100644
--- a/src/views/parkPay/navigation.vue
+++ b/src/views/parkPay/navigation.vue
@@ -68,7 +68,7 @@ export default {
sign_type: 'md5',
sign: '1',
orgId:this.$utils.myOrgId,
- jumpType: '8'
+ jumpType: '7'
};
// jsondata = JSON.stringify(jsondata);
swiperQuery(jsondata).then( res => {
diff --git a/src/views/parkPay/orderPay.vue b/src/views/parkPay/orderPay.vue
index d113889..b3c552a 100644
--- a/src/views/parkPay/orderPay.vue
+++ b/src/views/parkPay/orderPay.vue
@@ -21,6 +21,11 @@
{{(arrearageActFee/100).toFixed(2)}}
+
+
停车引导员工号(非必填)
+
+
+
@@ -61,6 +66,7 @@ export default {
orderId: '', //支付的订单
webAppCode: '', // 微信code
appOrderTimeout: '', // 超时描述
+ tollNumber:'', // 收费员员工号
}
},
created() {
@@ -154,6 +160,7 @@ export default {
wxParams.paySrcType = this.paySrcType;//101停车支付
wxParams.recordArreaInfos = JSON.stringify(orderIdData);
wxParams.openId = openIdData;
+ wxParams.backDeveloperCode = this.tollNumber,
wxParams.appId = this.$utils.myVxAppId;
vxPayQuery(wxParams).then(res => {
if (res.code == 0) { //
@@ -174,9 +181,25 @@ export default {
} else {
alert("没有找到返回值");
}
- } else {
+ } else if(res.code == 1002){//其他情况如【该卡号场内已存在】
console.log(res.message);
- alert(res.message);
+ MessageBox.confirm('', {
+ message: res.message,
+ title: '温馨提示',
+ showCancelButton:false,
+ confirmButtonText: '确定',
+ }).then(action => {
+ if (action == 'confirm') { //确认的回调
+ console.log('确定');
+ this.$router.go(-1)
+ }
+ }).catch(err => {
+ if (err == 'cancel') { //取消的回调
+ console.log('取消');
+ }
+ });
+ }else{
+ alert(res.message)
}
})
},
diff --git a/src/views/parkPay/plateNumber.vue b/src/views/parkPay/plateNumber.vue
index fb08aad..b8374ab 100644
--- a/src/views/parkPay/plateNumber.vue
+++ b/src/views/parkPay/plateNumber.vue
@@ -80,7 +80,7 @@
查询记录
@@ -410,6 +410,16 @@ export default {
openImgUrl(i) { // 点击图片跳转
window.open(i.jumpUrl)
},
+ boundHandle(i) { // 记录点击事件
+ console.log(i)
+ this.$router.push({
+ path:'parkRecord',
+ query:{
+ carNumber:i,
+ carNumberColor: this.currentColor
+ }
+ })
+ },
chooseColor (index){ // 颜色选择
this.currentColor = index
switch (this.currentColor) {