Browse Source

货代bug 2024-1-12

caojunjie 1 year ago
parent
commit
00bf7354c6

+ 9 - 0
src/page/index/tags.vue

@@ -403,6 +403,15 @@ export default {
         if(tag.label == "审批详情(F)"){
           this.$store.commit("HYCKLOS_OUT_DETAIL")
         }
+        if(tag.label == "付费申请(F)"){
+            this.$store.commit("FFQSF_OUT_DETAIL")
+        }
+        if(tag.label == "对账中心(F)"){
+            this.$store.commit("DZZXF_OUT_DETAIL")
+        }
+        if(tag.label == "结算中心(F)"){
+            this.$store.commit("JSZX_OUT_DETAIL")
+        }
         this.$store.commit("DEL_TAG", tag);
         if (tag.value === this.tag.value) {
           tag = this.tagList[key === 0 ? key : key - 1]; //如果关闭本标签让前推一个

+ 14 - 0
src/router/views/index.js

@@ -2751,6 +2751,20 @@ export default [{
     }]
   },
   {
+    path: '/billM/billingCenter/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/billM/billingCenter/index',
+      name: '账单中心',
+      meta: {
+        i18n: '/billM/billingCenter/index',
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/billM/billingCenter/index.vue')
+    }]
+  },
+  {
     path: '/iosBasicData/losbfeestemplate/index',
     component: Layout,
     hidden: true,

+ 3 - 0
src/store/getters.js

@@ -67,5 +67,8 @@ const getters = {
   collectionSettlement:state => state.ifdetail.collectionSettlement,
   cgStatus:state => state.ifdetail.cgStatus,
   approvalDetails: state => state.ifdetail.approvalDetails,
+  paidapplication: state => state.ifdetail.paidapplication, // 付费申请(F)
+  ReconciliationCenterF: state => state.ifdetail.ReconciliationCenterF, // 对账中心(F)
+  SettlementCenterF: state => state.ifdetail.SettlementCenterF, // 结算中心(F)
 }
 export default getters

+ 33 - 0
src/store/modules/ifdetail.js

@@ -44,6 +44,9 @@ const ifdetail = {
     approvalDetails:false, // 海运出口 审批详情
     Allocateandtransfer:false, // 调拨L
     CorrespondenceUnitslos:false, // 海运出口 往来单位
+    paidapplication:false, // 付费申请(F)
+    ReconciliationCenterF:false, // 对账中心(F)
+    SettlementCenterF:false, // 结算中心(F)
   },
   actions: {},
   mutations: {
@@ -371,6 +374,27 @@ const ifdetail = {
     HYCKLOS_OUT_DETAIL(state) {
       state.approvalDetails = false;
     },
+    // 付费申请(F) 审核详情
+    FFQSF_IN_DETAIL(state) {
+      state.paidapplication = true;
+    },
+    FFQSF_OUT_DETAIL(state) {
+      state.paidapplication = false;
+    },
+    // 对账中心(F)
+    DZZXF_IN_DETAIL(state) {
+      state.ReconciliationCenterF = true;
+    },
+    DZZXF_OUT_DETAIL(state) {
+      state.ReconciliationCenterF = false;
+    },
+    // 结算中心(F)
+    JSZX_IN_DETAIL(state) {
+      state.SettlementCenterF = true;
+    },
+    JSZX_OUT_DETAIL(state) {
+      state.SettlementCenterF = false;
+    },
     //关闭所有
     DEL_ALL_DETAIL(state) {
       for (let item in state) {
@@ -493,6 +517,15 @@ const ifdetail = {
       if (tag.label == '审批详情(F)') {
         state.approvalDetails = true
       }
+      if (tag.label == '付费申请(F)') {
+        state.paidapplication = true
+      }
+      if (tag.label == '对账中心(F)') {
+        state.ReconciliationCenterF = true
+      }
+      if (tag.label == '结算中心(F)') {
+        state.SettlementCenterF = true
+      }
       if (tag.label == '往来单位(F)') {
         state.CorrespondenceUnitslos = true
       }

+ 8 - 6
src/views/billM/billingCenter/index.vue

@@ -267,10 +267,11 @@
               props: {
                   label: 'cnName',
                   value: 'cnName',
+                  res:'data.records'
               },
-              dicFormatter: (res => {
-                  return res.data.records
-              }),
+              // dicFormatter: (res => {
+              //     return res.data.records
+              // }),
             },
             {
               label: "客户中文名称",
@@ -286,10 +287,11 @@
               props: {
                   label: 'cnName',
                   value: 'cnName',
+                  res:'data.records'
               },
-              dicFormatter: (res => {
-                  return res.data.records
-              }),
+              // dicFormatter: (res => {
+              //     return res.data.records
+              // }),
             },
             {
               label: "MB/L NO",

+ 4 - 0
src/views/exportTrade/salesContract/detailsPage.vue

@@ -1523,6 +1523,10 @@ export default {
                 this.$set(this.form,'banks',this.banksData[0].accountNo)
                 this.$set(this.form,'accountBank',this.banksData[0].accountBank)
                 this.$set(this.form,'banksAccountName',this.banksData[0].accountName)
+            }else {
+                this.$set(this.form,'banks','')
+                this.$set(this.form,'accountBank','')
+                this.$set(this.form,'banksAccountName','')
             }
         })
     },

+ 20 - 1
src/views/iosBasicData/ComputationCenter/index.vue

@@ -69,6 +69,7 @@ import {finstlbillsList, finstlbillsRemove} from "@/api/iosBasicData/finstlbills
 import finstlbillsDetails from "@/views/iosBasicData/CollectionSettlement/finstlbillsDetails.vue";
 import settlementDetails from "@/views/iosBasicData/ComputationCenter/settlementDetails.vue";
 import {getBcorpslistByType} from "@/api/iosBasicData/bcorps";
+import {bbusinesstypeList} from "@/api/iosBasicData/bbusinesstype";
 
     export default {
         components: {settlementDetails},
@@ -108,13 +109,19 @@ import {getBcorpslistByType} from "@/api/iosBasicData/bcorps";
                     viewBtn:false,
                     delBtn:false,
                     editBtn:false,
-                    menuWidth:'auto',
+                    menuWidth:'100',
                     column: [
                         {
                             label: "业务类型",
                             prop: "businessType",
                             hide:false,
                             overHidden:true,
+                            type: 'select',
+                            dicData:[],
+                            props: {
+                                label: "cnName",
+                                value: "code"
+                            },
                         },
                         {
                             label: "业务类型",
@@ -200,9 +207,21 @@ import {getBcorpslistByType} from "@/api/iosBasicData/bcorps";
         },
         async created() {
             this.option = await this.getColumnData(this.getColumnName(324), this.optionBack);
+            if (this.$route.query.billId) {
+                // 从审批里查看跳进来的
+                this.editFun({id:this.$route.query.billId})
+            }
+            this.$store.commit('JSZX_IN_DETAIL')
             this.getBcorpslistByTypefun()
+            this.bbusinesstypeListfun()
         },
         methods:{
+            // 获取业务类型
+            bbusinesstypeListfun(){
+                bbusinesstypeList(1,50).then(res=>{
+                    this.findObject(this.option.column, "businessType").dicData = res.data.data.records
+                })
+            },
             // 获取往来单位数据
             getBcorpslistByTypefun(){
                 getBcorpslistByType(1,10).then(res=>{

+ 3 - 0
src/views/iosBasicData/ComputationCenter/settlementDetails.vue

@@ -815,6 +815,9 @@ export default {
             }).then(()=>{
                 this.pageLoading = true
                 this.form.businessTypes = this.form.businessTypes?this.form.businessTypes.join(','):'' // 业务类型
+                this.form.url = '/iosBasicData/ComputationCenter/index',
+                this.form.pageStatus = "this.$store.getters.SettlementCenterF"
+                this.form.pageLabel = "结算中心(F)"
                 finstlbillsConfirmSettlement(this.form).then(res=>{
                     this.pageLoading = false
                     this.$message.success('操作成功');

+ 3 - 0
src/views/iosBasicData/PaymentApplication/finstlbillsDetails.vue

@@ -854,6 +854,9 @@
                 }).then(()=>{
                     this.pageLoading = true
                     this.form.businessTypes = this.form.businessTypes?this.form.businessTypes.join(','):'' // 业务类型
+                    this.form.url = '/iosBasicData/PaymentApplication/index',
+                    this.form.pageStatus = "this.$store.getters.paidapplication"
+                    this.form.pageLabel = "付费申请(F)"
                     settlementApprove(this.form).then(res=>{
                         this.pageLoading = false
                         this.$message.success('操作成功');

+ 5 - 0
src/views/iosBasicData/PaymentApplication/index.vue

@@ -339,6 +339,11 @@
     },
     async created() {
       this.option = await this.getColumnData(this.getColumnName(316.1), this.optionBack);
+      if (this.$route.query.billId) {
+          // 从审批里查看跳进来的
+          this.editFun({id:this.$route.query.billId})
+      }
+      this.$store.commit('FFQSF_IN_DETAIL')
       this.dictionaryfun() // 获取字典数据
         this.getRateListfun() // 币别数据
     },

+ 3 - 0
src/views/iosBasicData/SeafreightExportF/bills/assembly/DocumentCenter.vue

@@ -279,6 +279,9 @@ import reportContainer from "@/views/iosBasicData/report-container/report-contai
             },
             // 单证中心数据获取
             reportslogListfun(documentPage, params = {}){
+                if(!this.assemblyForm.id) {
+                    return
+                }
                 this.loading = true;
                 reportslogList(documentPage.currentPage, documentPage.pageSize, {
                     ...Object.assign(params, this.query),

+ 1 - 1
src/views/iosBasicData/SeafreightExportF/bills/assembly/SplitList.vue

@@ -15,7 +15,7 @@
                            @click="batchWithdrawfun">批量撤回
                 </el-button>
             </template>
-            <template slot-scope="scope" slot="menu" v-if="assemblyForm.billStatus != 3" >
+            <template slot-scope="scope" slot="menu" v-if="assemblyForm.billStatus != 3 || assemblyForm.status == 1" >
                 <el-button :type="scope.type" :size="scope.size" icon="el-icon-edit"
                            :disabled="detailData.seeDisabled"
                            @click.stop="withdrawfun(scope.row, scope.index)">撤回

+ 7 - 1
src/views/iosBasicData/SeafreightExportF/bills/assembly/feecenter.vue

@@ -71,7 +71,9 @@
                         <span>应收费用</span>
                     </div>
                     <el-button type="danger" plain size="small"
-                               :disabled="!selectionDList.length || detailData.seeDisabled || pleasereviewType" @click="batchDelete('D')">批量删除</el-button>
+                               :disabled="!selectionDList.length || detailData.seeDisabled || pleasereviewType"
+                               @click="batchDelete('D')">批量删除
+                    </el-button>
                     <el-button type="success" plain size="small"
                                :disabled="!selectionDList.length || detailData.seeDisabled || pleasereviewType" @click="GenerateBillsfun('D')">应收账单
                     </el-button>
@@ -1349,6 +1351,8 @@
                     obj.corpId = this.assemblyForm.corpId
                     obj.corpCnName = this.assemblyForm.corpCnName
                     obj.corpEnName = this.assemblyForm.corpEnName
+                    // 预付/到付
+                    obj.paymode = this.assemblyForm.mpaymode
                 }
                 this.assemblyForm.feeCenterListD.unshift(obj)
             },
@@ -1417,6 +1421,8 @@
                     obj.corpId = this.assemblyForm.corpId
                     obj.corpCnName = this.assemblyForm.corpCnName
                     obj.corpEnName = this.assemblyForm.corpEnName
+                    // 预付/到付
+                    obj.paymode = this.assemblyForm.mpaymode
                 }
                 this.assemblyForm.feeCenterListC.unshift(obj)
             },

+ 1 - 1
src/views/iosBasicData/SeafreightExportF/bills/assembly/reports.vue

@@ -1,6 +1,6 @@
 <template>
   <basic-container>
-    <el-checkbox v-model="isPrintTheBoxNumber">打印箱号</el-checkbox>
+    <!--<el-checkbox v-model="isPrintTheBoxNumber">打印箱号</el-checkbox>-->
     <avue-crud :option="option"
                :table-loading="loading"
                :data="data"

+ 83 - 10
src/views/iosBasicData/SeafreightExportF/bills/index.vue

@@ -37,9 +37,21 @@
                           </el-col>
                           <el-col :span="fold?6:8">
                               <el-form-item label="委托人">
-                                  <el-input placeholder="请输入委托人" clearable
-                                            size="small" style="width:100%" v-model="query.corpCnName">
-                                  </el-input>
+                                  <!--<el-input placeholder="请输入委托人" clearable-->
+                                  <!--          size="small" style="width:100%" v-model="query.corpCnName">-->
+                                  <!--</el-input>-->
+                                  <search-query :datalist="corpData"
+                                                :selectValue="query.corpCnName"
+                                                :filterable="true"
+                                                :clearable="true"
+                                                :remote="true"
+                                                :buttonIf="false"
+                                                :forParameter="{key:'id',label:'cnName',value:'cnName'}"
+                                                placeholder="请输入委托人"
+                                                @remoteMethod="corpBcorpslistByType"
+                                                @corpChange="corpChange($event,'corpCnName')"
+                                                @corpFocus="corpBcorpslistByType" >
+                                  </search-query>
                               </el-form-item>
                           </el-col>
                           <el-col :span="fold?6:8" >
@@ -227,9 +239,18 @@
                           </el-col>
                           <el-col :span="6" v-show="fold">
                               <el-form-item label="创建部门">
-                                  <el-input placeholder="请输入创建部门" clearable
-                                            size="small" style="width:100%" v-model="query.createDeptName">
-                                  </el-input>
+                                  <!--<el-input placeholder="请输入创建部门" clearable-->
+                                  <!--          size="small" style="width:100%" v-model="query.createDeptName">-->
+                                  <!--</el-input>-->
+                                  <tree-select v-model="query.createDeptName" filterable
+                                               :data="createDeptData"
+                                               :props="{}"
+                                               nodeKey="title"
+                                               size="small"
+                                               :multiple="false"
+                                               placeholder="请选择创建部门"
+                                               @input="corpChange($event,'createDeptName')">
+                                  </tree-select>
                               </el-form-item>
                           </el-col>
                           <el-col :span="6" v-show="fold">
@@ -267,9 +288,21 @@
                           </el-col>
                           <el-col :span="6" v-show="fold">
                               <el-form-item label="收货人">
-                                  <el-input placeholder="请输入收货人" clearable
-                                            size="small" style="width:100%" v-model="query.hConsigneeCnName">
-                                  </el-input>
+                                  <!--<el-input placeholder="请输入收货人" clearable-->
+                                  <!--          size="small" style="width:100%" v-model="query.hConsigneeCnName">-->
+                                  <!--</el-input>-->
+                                  <search-query :datalist="hConsigneeData"
+                                                :selectValue="query.hConsigneeCnName"
+                                                :filterable="true"
+                                                :clearable="true"
+                                                :remote="true"
+                                                :buttonIf="false"
+                                                :forParameter="{key:'id',label:'cnName',value:'cnName'}"
+                                                placeholder="请选择收货人"
+                                                @remoteMethod="hConsigneeBcorpslistByType"
+                                                @corpChange="corpChange($event,'hConsigneeCnName')"
+                                                @corpFocus="hConsigneeBcorpslistByType" >
+                                  </search-query>
                               </el-form-item>
                           </el-col>
                       </el-row>
@@ -432,15 +465,19 @@ import {getBvesselsList} from "@/api/iosBasicData/bvessels";
 import {getBcorpslistByType,getBcorpsDetail} from "@/api/iosBasicData/bcorps";
 import {bportsList} from "@/api/iosBasicData/bports";
 import {blinesList} from "@/api/iosBasicData/blines";
+import TreeSelect from "@/components/iosbasic-data/TreeSelect.vue";
+import { getDeptTree } from "@/api/system/dept";
 
   export default {
-    components:{SearchQuery, feesTemplateItems, billsDetails,SplitList},
+    components:{TreeSelect, SearchQuery, feesTemplateItems, billsDetails,SplitList},
     data() {
       return {
           ediData:[], // 获取的 edi 数据
           // 展开和收回
           fold:false,
           maxShow:3,
+          corpData:[], //委托人
+          hConsigneeData:[], // 收货人
           // 船名
           vesselData:[],
           // 船公司
@@ -453,6 +490,7 @@ import {blinesList} from "@/api/iosBasicData/blines";
           cyData:[],
           // 订舱代理
           bookingAgentData:[],
+          coluaccDeptData:[], // 部门数据
           // 单据类型
           billTypeData:[
               {
@@ -1130,6 +1168,18 @@ import {blinesList} from "@/api/iosBasicData/blines";
           handleClick(tab, event){
               this.onLoad(this.page, this.query);
           },
+          // 获取委托人数据
+          corpBcorpslistByType(cnName){
+              getBcorpslistByType(1,10,{cnName}).then(res=>{
+                  this.corpData = res.data.data.records
+              })
+          },
+          // 获取收货人数据
+          hConsigneeBcorpslistByType(cnName){
+              getBcorpslistByType(1,10,{cnName}).then(res=>{
+                  this.hConsigneeData = res.data.data.records
+              })
+          },
           // 获取船名
           vesselBvesselsListfun(enName){
               getBvesselsList(1,10,{enName}).then(res=>{
@@ -1169,6 +1219,12 @@ import {blinesList} from "@/api/iosBasicData/blines";
                   this.bookingAgentData = res.data.data.records
               })
           },
+          // 获取核算部分数据 // 机构管理接口
+          coluaccDeptLzylistfun(){
+              getDeptTree().then(res=>{
+                  this.coluaccDeptData = res.data.data
+              })
+          },
         // 获取业务状态字典数据
         billStatusWorkDictsfun(){
            getWorkDicts('bill_status').then(res=>{
@@ -1393,6 +1449,23 @@ import {blinesList} from "@/api/iosBasicData/blines";
           this.$message.warning("请选择至少一条数据");
           return;
         }
+        // 已经提交请核的提示不让删除
+        let sumArr = []
+        const h = this.$createElement
+        for (let item of this.selectionList) {
+            if (item.status == 1) {
+                sumArr.push(h('p', `序号${item.$index + 1}的数据已经提交请核请勿删除`))
+            }
+        }
+        if(sumArr.length != 0) {
+            this.$confirm('提示', {
+                message:h('div', sumArr),
+                confirmButtonText: "确定",
+                cancelButtonText: "取消",
+                type: "warning"
+            })
+            return;
+        }
         this.$confirm("确定将选择数据删除?", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",

+ 3 - 5
src/views/iosBasicData/bfeesdefine/index.vue

@@ -602,12 +602,10 @@ export default {
       this.form.curNo = value
     },
     nodeClick(data) {
-      console.log(data, 331)
-      // this.feesTypeId = data.id;
-      // this.page.currentPage = 1;
-      // this.onLoad(this.page);
+      this.query.feesTypeId = data.id;
+      this.page.currentPage = 1;
+      this.onLoad(this.page);
     },
-
     rowSave(row, done, loading) {
       row.accElementId = Number(row.accElementId)
       row.accId = Number(row.accId)

+ 18 - 0
src/views/iosBasicData/fininvoicesApplyfor/index.vue

@@ -44,6 +44,7 @@
                   </el-button>
                   <el-button type="text"
                              size="small"
+                             :disabled="row.status == 3"
                              @click="rowDel(row)">删除
                   </el-button>
               </template>
@@ -647,6 +648,23 @@ import fininvoicesDetails from "@/views/iosBasicData/fininvoicesApplyfor/fininvo
           this.$message.warning("请选择至少一条数据");
           return;
         }
+        // 已经提交请核的提示不让删除
+        let sumArr = []
+        const h = this.$createElement
+        for (let item of this.selectionList) {
+            if (item.status == 3) {
+                sumArr.push(h('p', `序号${item.$index + 1}的数据已经确认提交请勿删除`))
+            }
+        }
+        if(sumArr.length != 0) {
+            this.$confirm('提示', {
+                message:h('div', sumArr),
+                confirmButtonText: "确定",
+                cancelButtonText: "取消",
+                type: "warning"
+            })
+            return;
+        }
         this.$confirm("确定将选择数据删除?", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",

+ 18 - 0
src/views/iosBasicData/fininvoicesOutput/index.vue

@@ -77,6 +77,7 @@
                   </el-button>
                   <el-button type="text"
                              size="small"
+                             :disabled="row.status == 3"
                              @click="rowDel(row)">删除
                   </el-button>
               </template>
@@ -782,6 +783,23 @@ import {getRateList} from "@/api/iosBasicData/rateManagement";
           this.$message.warning("请选择至少一条数据");
           return;
         }
+        // 已经提交请核的提示不让删除
+        let sumArr = []
+        const h = this.$createElement
+        for (let item of this.selectionList) {
+            if (item.status == 3) {
+                sumArr.push(h('p', `序号${item.$index + 1}的数据已经确认提交请勿删除`))
+            }
+        }
+        if(sumArr.length != 0) {
+            this.$confirm('提示', {
+                message:h('div', sumArr),
+                confirmButtonText: "确定",
+                cancelButtonText: "取消",
+                type: "warning"
+            })
+            return;
+        }
         this.$confirm("确定将选择数据删除?", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",

+ 3 - 0
src/views/iosBasicData/finstlbills/finstlbillsDetails.vue

@@ -870,6 +870,9 @@
                 }).then(()=>{
                     this.pageLoading = true
                     this.form.businessTypes = this.form.businessTypes?this.form.businessTypes.join(','):'' // 业务类型
+                    this.form.url = '/iosBasicData/finstlbills/index',
+                    this.form.pageStatus = "this.$store.getters.paidapplication"
+                    this.form.pageLabel = "对账中心(F)"
                     finstlbillsConfirmReconciliation(this.form).then(res=>{
                         this.pageLoading = false
                         this.$message.success('操作成功');

+ 41 - 18
src/views/iosBasicData/finstlbills/index.vue

@@ -47,6 +47,7 @@
                   </el-button>
                   <el-button type="text"
                              size="small"
+                             :disabled="row.isChecked == 1"
                              @click="rowDel(row)">删除
                   </el-button>
               </template>
@@ -136,31 +137,31 @@
               width:"120",
               overHidden:true,
             },
-            {
-              label: "客户是否已签约",
-              prop: "corpIsSigned",
-              width:"120",
-              dicData:[],
-              props: {
-                  label: "dictValue",
-                  value: "dictKey"
-              },
-              overHidden:true,
-            },
+            // {
+            //   label: "客户是否已签约",
+            //   prop: "corpIsSigned",
+            //   width:"120",
+            //   dicData:[],
+            //   props: {
+            //       label: "dictValue",
+            //       value: "dictKey"
+            //   },
+            //   overHidden:true,
+            // },
             {
               label: "客户约号",
               prop: "corpArgreementNo",
               overHidden:true,
             },
-            {
-              label: "客户账期备注",
-              prop: "corpAccRemarks",
-              width:"120",
-              overHidden:true,
-            },
+            // {
+            //   label: "客户账期备注",
+            //   prop: "corpAccRemarks",
+            //   width:"120",
+            //   overHidden:true,
+            // },
             {
               label: "业务类型",
-              prop: "businessTypes",
+              prop: "businessType",
               width:"120",
               overHidden:true,
               type:'select',
@@ -467,6 +468,11 @@
     },
     async created() {
       this.option = await this.getColumnData(this.getColumnName(314), this.optionBack);
+      if (this.$route.query.billId) {
+          // 从审批里查看跳进来的
+          this.editFun({id:this.$route.query.billId})
+      }
+      this.$store.commit('DZZXF_IN_DETAIL')
       this.dictionaryfun() // 获取字典数据
     },
     methods: {
@@ -571,6 +577,23 @@
           this.$message.warning("请选择至少一条数据");
           return;
         }
+        // 已经提交请核的提示不让删除
+        let sumArr = []
+        const h = this.$createElement
+        for (let item of this.selectionList) {
+            if (item.isChecked == 1) {
+                sumArr.push(h('p', `序号${item.$index + 1}的数据已经确认对账请勿删除`))
+            }
+        }
+        if(sumArr.length != 0) {
+            this.$confirm('提示', {
+                message:h('div', sumArr),
+                confirmButtonText: "确定",
+                cancelButtonText: "取消",
+                type: "warning"
+            })
+            return;
+        }
         this.$confirm("确定将选择数据删除?", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",

+ 10 - 8
src/views/iosBasicData/rateManagement/detailsPage.vue

@@ -405,6 +405,7 @@ export default {
     cellStyle() {
       return "padding:0;height:40px;";
     },
+    // 详情
     getDetail(id) {
         this.allloading = true
       dataDetail(id)
@@ -503,14 +504,14 @@ export default {
         if (valid) {
           this.toggleForm();
           // 拿有id 的数据
-          let arrId = []
-          for (let item of  this.dataList) {
-              if (item.id) {
-                  arrId.push(item.id)
-              }
-          }
-          // 删除有ID的数据
-          bcurexrateDetails(arrId.join(',')).then(res=>{})
+          // let arrId = []
+          // for (let item of  this.dataList) {
+          //     if (item.id) {
+          //         arrId.push(item.id)
+          //     }
+          // }
+          // // 删除有ID的数据
+          // bcurexrateDetails(arrId.join(',')).then(res=>{})
           this.dataList = [];
           if (this.form.paritiesType == "年汇率") {
             this.form.exrateMonth = "";
@@ -621,6 +622,7 @@ export default {
     "form.paritiesType":{
         // 执行方法
         handler(row,newValue) {
+            console.log(row,624)
             if (row == "日汇率") {
                 this.findObject(this.option.column, "moon").display = true;
                 // this.findObject(this.option.column, "annual").display = false;