ソースを参照

调取保单增加判断

@dongkboy 2 年 前
親
コミット
1a5f369a01
1 ファイル変更、9 行追加、9 行削除
  1. 9 9
      src/views/Letter/Orderlist.vue

+ 9 - 9
src/views/Letter/Orderlist.vue

@@ -110,7 +110,7 @@
                 <el-button size="mini" type="text"
                 v-if="item.orderstatus == '1' && item.inscompany=='国任财险'"
                 @click="refreshStatusGuoren(item)" style="color:#f56c6c">更新订单</el-button>
-                
+
               <el-button size="mini" type="text" v-if="item.orderstatus == '2' && ['紫金财险'].includes(item.inscompany)"
                 @click="cancelorder(item)" style="color:#f56c6c">撤单</el-button>
               <el-button size="mini" type="text" v-if="item.orderstatus == '2'" @click="carcode(scope.row, item)"
@@ -1527,7 +1527,7 @@
         <el-button size="small" style="width:100px;" @click="bjddialogVisible = false">关闭</el-button>
       </div>
     </el-dialog>
-    
+
   </div>
 </template>
 <script>
@@ -1671,9 +1671,9 @@ export default {
      // 截图粘贴
      copybjd(){
       let that=this
-      html2Canvas(document.getElementById('pdfContentsDiv') , {  
-              allowTaint: true,  
-              taintTest: false,  
+      html2Canvas(document.getElementById('pdfContentsDiv') , {
+              allowTaint: true,
+              taintTest: false,
           }).then(function (canvas) {
         let base64Data = ''
         // let blob = null
@@ -1697,7 +1697,7 @@ export default {
 
 
 
-     
+
         // var format = 'image/png'
         // var base64 = base64Data
         // var code = window.atob(base64.split(',')[1])
@@ -1728,7 +1728,7 @@ export default {
         // navigator.clipboard.write([clipboardItemInput])
         // that.$message({
         //   message: '已截图并复制到粘贴板!',
-        //   type: 'success' 
+        //   type: 'success'
         // });
       })
     },
@@ -2438,7 +2438,7 @@ export default {
             case "安盛天平":
             case "中国人寿":
             case "众安财险":
-              if (this.orderInfo.jqpolicyno) {
+              if (this.orderInfo.jqpolicyno || this.orderInfo.sypolicyno) {
                 this.$api.letter.pythongetPolicyPrint({
                   subOrderNo: item.id,
                 }).then(res => {
@@ -3074,7 +3074,7 @@ export default {
   align-items: center;
   color: #000;
 
- 
+
 }
 .bjdCarMessage1 > .f-c >span:nth-child(1){
         font-size: 18px;