liuhj 3 月之前
父節點
當前提交
b054e69246
共有 2 個文件被更改,包括 6 次插入6 次删除
  1. 1 1
      src/components/OP/EntryDetails.vue
  2. 5 5
      src/components/OP/EntryDetailsdraft.vue

+ 1 - 1
src/components/OP/EntryDetails.vue

@@ -68,7 +68,7 @@
                                 v-model="DomesticFees.visafeesDescription"></el-input>
                             <span class="redzhu">{{ visabeizhu }}</span>
                         </div>
-                        <el-button v-if="getvisafeebtn" @click="Getnewvisafee" type="primary"
+                        <el-button @click="Getnewvisafee" type="primary"
                             size="mini">获取最新签证费用</el-button>
                     </div>
                     <div class="Entry-li-inif">

+ 5 - 5
src/components/OP/EntryDetailsdraft.vue

@@ -889,14 +889,14 @@ export default {
                 },
                 data: {
                     portType: 1,
-                    draftId:37
+                    draftId:that.value
                 }
             }).then(function (res) {
                 if (res.data.code == 200) {
                     that.visainfo = res.data.data;
-                    if (that.DomesticFees.visafees != res.data.data.totalAmt && res.data.data.totalAmt != 0) {
-                        that.getvisafeebtn = true;
-                    }
+                    that.getvisafeebtn = true;
+                    // if (that.DomesticFees.visafees != res.data.data.totalAmt && res.data.data.totalAmt != 0) {
+                    // }
                 } else {
                     that.$message.error(res.data.msg);
                 }
@@ -3058,7 +3058,7 @@ export default {
         },
         Getnewvisafee() {
             this.DomesticFees.visafees = this.visainfo.totalAmt;
-            this.DomesticFees.visafeesDescription = this.visainfo.remark;
+            this.DomesticFees.visafeesDescription = this.visainfo.remark==''?'此国家未录签证数据不是没有或者看看下面有没有选国家没国家哪里来的签证,天才!':this.visainfo.remark;
             // this.getvisafeebtn = false;
         },
         //导出到收款账单