소스 검색

no message

linwenxin 4 달 전
부모
커밋
723c46bc9b
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/packageMaterial/pages/newSale/pay.vue
  2. 1 1
      src/packageMaterial/pages/sale/pay.vue
  3. 1 1
      src/packageWorkorder/pages/orderDetail.vue

+ 1 - 1
src/packageMaterial/pages/newSale/pay.vue

@@ -178,7 +178,7 @@ export default {
         .catch(res => {
           // 等待支付
           var [USERPAYING, orderId] = res.message.split('|')
-          if (USERPAYING === 'USERPAYING' && !!orderId) {
+          if (~USERPAYING.indexOf('USERPAYING') && !!orderId) {
             this.orderId = orderId
             if (this.state == 0) {
               this.state = 1

+ 1 - 1
src/packageMaterial/pages/sale/pay.vue

@@ -179,7 +179,7 @@ export default {
         .catch(res => {
           // 等待支付
           var [USERPAYING, orderId] = res.message.split('|')
-          if (USERPAYING === 'USERPAYING' && !!orderId) {
+          if (~USERPAYING.indexOf('USERPAYING') && !!orderId) {
             this.orderId = orderId
             if (this.state == 0) {
               this.state = 1

+ 1 - 1
src/packageWorkorder/pages/orderDetail.vue

@@ -871,7 +871,7 @@ export default {
         .catch(res => {
           // 等待支付
           var [USERPAYING, orderId] = res.message.split('|')
-          if (USERPAYING === 'USERPAYING' && !!orderId) {
+          if (~USERPAYING.indexOf('USERPAYING') && !!orderId) {
             this.orderId_zf = orderId
             if (this.state == 0) {
               this.state = 1