linwenxin 1 gadu atpakaļ
vecāks
revīzija
053d47acfd

+ 1 - 0
src/views/valueAddedService/orderSettleManag/mixins/basicInfo.js

@@ -164,6 +164,7 @@ export default {
                 onSelectPosi={data => {
                   // 赋值GPS详细地址
                   this.addFormData.userAddress = data.name
+                  this.$refs?.addFormRef?.$refs?.inlineForm?.clearValidate(["userAddress"])
                   // // 获取经纬度
                   // this.addFormData.lng = data.center[0]
                   // this.addFormData.lat = data.center[1]

+ 1 - 1
src/views/valueAddedService/orderSettleManag/mixins/examineInfo.js

@@ -17,7 +17,7 @@ export default {
             prop: 'flag',
             rules: [...required],
           },
-          options: [{ label: "通过", value: "OK" }, { label: "失败", value: "FAIL" }],
+          options: [{ label: "通过", value: "OK" }, { label: "驳回", value: "FAIL" }],
           attributes: { disabled: false, placeholder: '请选择' },
         },
         {

+ 1 - 1
src/views/valueAddedService/orderSettleManag/mixins/serviceInfo.js

@@ -219,7 +219,7 @@ export default {
             prop: 'payType',
             rules: [...required],
           },
-          options: [{ label: "扫码支付", value: 1 }, { label: "现金支付", value: 3 }],
+          options: [{ label: "微信支付", value: 1 }, { label: "现金支付", value: 3 }],
           attributes: { disabled: false, placeholder: '请选择' },
         },
       ]

+ 2 - 0
src/views/valueAddedService/orderSettleManag/pages/offline.vue

@@ -215,6 +215,7 @@ export default {
     wxPay(id) {
       increOrderSettleGeneratePayCode({ id }).then(res => {
         this.codeUrl = res.data.codeUrl
+        this.$refs.payQRCode.innerHTML = '';
         this.$nextTick(() => {
           new QRCode(this.$refs.payQRCode, {
             text: res.data.codeUrl,
@@ -365,6 +366,7 @@ export default {
             "machineImg": this.addFormData.machineImg.map(item => item.url).join(","),
           }).then(res => {
             this.$message({ type: 'success', message: `新增成功!` })
+            this.$refs?.pageRef?.refreshList()
             this.addFormCancel()
             // if (res.data.payStatus == "WAIT" && res.data.payType == 1) {
             //   this.wxPay(res.data.id)