Selaa lähdekoodia

诚泰二维码

yaoyao 2 vuotta sitten
vanhempi
commit
6b739174ff

+ 2 - 2
src/views/Task/daikeComponents/KtLetter1.vue

@@ -2508,7 +2508,7 @@
               <img v-else :src="paycodeimg" alt style="width: 100%" />
               <img v-else :src="paycodeimg" alt style="width: 100%" />
             </div>
             </div>
             <div v-else>
             <div v-else>
-              <img v-if="['太平财险'].includes(inscompany)" :src="paycodeimg" alt style="width: 100%" />
+              <img v-if="['太平财险', '诚泰财险'].includes(inscompany)" :src="paycodeimg" alt style="width: 100%" />
               <div v-else id="qrcode" ref="qrcode"></div>
               <div v-else id="qrcode" ref="qrcode"></div>
             </div>
             </div>
           </div>
           </div>
@@ -2598,7 +2598,7 @@
           <img v-else :src="paycodeimg" alt style="width: 100%" />
           <img v-else :src="paycodeimg" alt style="width: 100%" />
         </div>
         </div>
         <div v-else>
         <div v-else>
-          <img v-if="['太平财险'].includes(inscompany)" :src="paycodeimg" alt style="width: 200px; height: 200px" />
+          <img v-if="['太平财险', '诚泰财险'].includes(inscompany)" :src="paycodeimg" alt style="width: 200px; height: 200px" />
           <div v-else id="qrcode" ref="qrcode"></div>
           <div v-else id="qrcode" ref="qrcode"></div>
         </div>
         </div>
         <div class="scan-code">
         <div class="scan-code">

+ 3 - 3
src/views/Task/daikeComponents/KtOrder.vue

@@ -295,7 +295,7 @@
               <img v-else :src="paycodeimg" alt style="width: 100%" />
               <img v-else :src="paycodeimg" alt style="width: 100%" />
             </div>
             </div>
             <div v-else>
             <div v-else>
-              <img v-if="['太平财险'].includes(inscompany)" :src="paycodeimg" alt style="width: 100%" />
+              <img v-if="['太平财险', '诚泰财险'].includes(inscompany)" :src="paycodeimg" alt style="width: 100%" />
               <div v-else id="qrcode" ref="qrcode"></div>
               <div v-else id="qrcode" ref="qrcode"></div>
             </div>
             </div>
           </div>
           </div>
@@ -378,7 +378,7 @@
           <img v-else :src="paycodeimg" alt style="width: 100%" />
           <img v-else :src="paycodeimg" alt style="width: 100%" />
         </div>
         </div>
         <div v-else>
         <div v-else>
-          <img v-if="['太平财险'].includes(inscompany)" :src="paycodeimg" alt style="width: 200px; height: 200px" />
+          <img v-if="['太平财险', '诚泰财险'].includes(inscompany)" :src="paycodeimg" alt style="width: 200px; height: 200px" />
           <div v-else id="qrcode" ref="qrcode"></div>
           <div v-else id="qrcode" ref="qrcode"></div>
         </div>
         </div>
         <div class="scan-code">
         <div class="scan-code">
@@ -1728,7 +1728,7 @@ export default {
                 this.codedialogVisible = true;
                 this.codedialogVisible = true;
               }
               }
               this.$nextTick(function () {
               this.$nextTick(function () {
-                if (item.inscompany == "太平财险") {
+                if (item.inscompany == "太平财险" || item.inscompany == "诚泰财险") {
                   let anresult = qrCodeUrl.replace(/[\r\n]/g, "");
                   let anresult = qrCodeUrl.replace(/[\r\n]/g, "");
                   let animgBase64 = `data:image/png;base64,${anresult}`;
                   let animgBase64 = `data:image/png;base64,${anresult}`;
                   base64ToPath(animgBase64).then((path) => {
                   base64ToPath(animgBase64).then((path) => {