Selaa lähdekoodia

费用明细新加登陆人判断
首页 用租户号判断是否显示OW拿 OW放
营业费用 跳转查看详情

Qukatie 2 kuukautta sitten
vanhempi
commit
0013aef438

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 972 - 668
src/views/iosBasicData/OceanFreightImport/bills/assembly/feecenter.vue


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 967 - 615
src/views/iosBasicData/SeafreightExportF/bills/assembly/feecenter.vue


+ 26 - 24
src/views/iosBasicData/businessCenter/customerBooking/detailsPage.vue

@@ -2462,6 +2462,7 @@ export default {
         if (!this.form.preContainersList.length) {
           return this.$message.error("集装箱明细不能为空");
         }
+        let htmlText = [];
         for (let item of this.form.preContainersList) {
           if (!item.id) {
             return this.$message.error("请保存数据");
@@ -2470,37 +2471,38 @@ export default {
             this.$refs.crud.rowCell(item, item.$index);
             return this.$message.error("请完善明细信息");
           }
+          htmlText.push(item.cntrTypeCode + "*" + item.quantity);
         }
         for (let item of this.form.containersList) {
           if (!item.id) {
             return this.$message.error("请保存数据");
           }
         }
-        submit(this.form);
-      
-        this.$confirm(`预定集装箱:${this.form.quantityCntrDescr}<br/>是否提交订舱?`, {
-          confirmButtonText: "确定",
-          cancelButtonText: "取消",
-          dangerouslyUseHTMLString: true,
-          type: "warning"
-        }).then(() => {
-          this.form.businessType = "KHTS";
-          this.form.billNoFormat = "KHTS";
-          this.form.businessTypeCode = "KHTS";
-          const loading = this.$loading({
-            lock: true,
-            text: "加载中",
-            spinner: "el-icon-loading",
-            background: "rgba(255,255,255,0.7)"
-          });
-          submitCustomerBooking(this.form)
-            .then(res => {
-              this.$message.success("操作成功");
-              this.getDetails(this.form.id);
-            })
-            .finally(() => {
-              loading.close();
+        submit(this.form).then(res => {
+          this.$confirm(`预定集装箱:${htmlText.join(",")}<br/>是否提交订舱?`, {
+            confirmButtonText: "确定",
+            cancelButtonText: "取消",
+            dangerouslyUseHTMLString: true,
+            type: "warning"
+          }).then(() => {
+            this.form.businessType = "KHTS";
+            this.form.billNoFormat = "KHTS";
+            this.form.businessTypeCode = "KHTS";
+            const loading = this.$loading({
+              lock: true,
+              text: "加载中",
+              spinner: "el-icon-loading",
+              background: "rgba(255,255,255,0.7)"
             });
+            submitCustomerBooking(this.form)
+              .then(res => {
+                this.$message.success("操作成功");
+                this.getDetails(this.form.id);
+              })
+              .finally(() => {
+                loading.close();
+              });
+          });
         });
       }
       if (name == "撤销订舱") {

+ 2 - 2
src/views/iosBasicData/financialManagement/reimbursement/detailsPage.vue

@@ -460,8 +460,8 @@ export default {
       this.optionForm.disabled = true
       this.getDetail(this.detailData.id)
     }
-    if (this.$route.query.params) {
-      this.getDetail(this.$route.query.params)
+    if (this.$route.query.billId) {
+      this.getDetail(this.$route.query.billId)
     }
     if (this.detailData && this.detailData.copyId) {
       this.getCopydate(this.detailData.copyId)

+ 117 - 101
src/views/iosBasicData/financialManagement/reimbursement/index.vue

@@ -1,19 +1,31 @@
 <template>
   <div>
     <basic-container v-show="isShow">
-      <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" :search.sync="query"
-        v-model="form" id="out-table" :header-cell-class-name="headerClassName" ref="crud" @row-del="rowDel"
-        @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange"
-        @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange"
+      <avue-crud
+        :option="option"
+        :table-loading="loading"
+        :data="data"
+        :page.sync="page"
+        :search.sync="query"
+        v-model="form"
+        id="out-table"
+        :header-cell-class-name="headerClassName"
+        ref="crud"
+        @row-del="rowDel"
+        @search-change="searchChange"
+        @search-reset="searchReset"
+        @selection-change="selectionChange"
+        @current-change="currentChange"
+        @size-change="sizeChange"
+        @refresh-change="refreshChange"
         @resetColumn="resetColumn('crud', 'option', 'optionBack', 530)"
-        @saveColumn="saveColumn('crud', 'option', 'optionBack', 530)" @on-load="onLoad">
+        @saveColumn="saveColumn('crud', 'option', 'optionBack', 530)"
+        @on-load="onLoad"
+      >
         <template slot="menuLeft">
-          <el-button type="primary" size="small" icon="el-icon-plus" @click="addButton">创建单据
-          </el-button>
-          <el-button type="success" size="small" :disabled="selectionList.length != 1" @click="copyButton">复制单据
-          </el-button>
-          <el-button type="warning" size="small" disabled @click="outExport">导 出
-          </el-button>
+          <el-button type="primary" size="small" icon="el-icon-plus" @click="addButton">创建单据 </el-button>
+          <el-button type="success" size="small" :disabled="selectionList.length != 1" @click="copyButton">复制单据 </el-button>
+          <el-button type="warning" size="small" disabled @click="outExport">导 出 </el-button>
           <el-tabs v-model="query.status" type="card" @tab-click="handleClick">
             <el-tab-pane label="录入" name="0"></el-tab-pane>
             <el-tab-pane label="提交" name="1"></el-tab-pane>
@@ -24,8 +36,9 @@
         </template>
         <template slot="menu" slot-scope="{ row, index }">
           <el-button size="small" icon="el-icon-edit" type="text" @click="rowEdit(row)">编辑</el-button>
-          <el-button size="small" icon="el-icon-delete" type="text" @click="rowDel(row, index)"
-            :disabled="!(row.status == 0||row.status == 4)">删 除</el-button>
+          <el-button size="small" icon="el-icon-delete" type="text" @click="rowDel(row, index)" :disabled="!(row.status == 0 || row.status == 4)"
+            >删 除</el-button
+          >
         </template>
         <template slot="sysNo" slot-scope="{ row }">
           <span style="color: #1e9fff;cursor: pointer;" @click="rowEdit(row)">{{ row.sysNo }}</span>
@@ -55,7 +68,7 @@ export default {
       form: {},
       query: {
         type: "XGFY",
-        status:'0',
+        status: "0"
       },
       loading: false,
       page: {
@@ -66,7 +79,7 @@ export default {
       selectionList: [],
       option: {},
       optionBack: {
-        height: 'auto',
+        height: "auto",
         calcHeight: 30,
         menuWidth: 140,
         tip: false,
@@ -80,42 +93,42 @@ export default {
         delBtn: false,
         selection: true,
         searchIcon: true,
-        align: 'center',
+        align: "center",
         searchIndex: 3,
         column: [
           {
             label: "所属公司 ",
-            prop: 'branchName',
+            prop: "branchName",
             search: true,
             type: "select",
             filterable: true,
             dicUrl: "/api/blade-system/dept/lazy-list",
             props: {
               label: "deptName",
-              value: "deptName",
+              value: "deptName"
             },
-            overHidden: true,
+            overHidden: true
           },
           {
-            label: '申请人',
-            prop: 'applicantName',
+            label: "申请人",
+            prop: "applicantName",
             search: true,
-            type: 'select',
+            type: "select",
             filterable: true,
             remote: true,
             dicUrl: "/api/blade-user/page?current=1&size=5&realName={{key}}",
             props: {
-              label: 'realName',
-              value: 'realName',
-              res: 'data.records'
+              label: "realName",
+              value: "realName",
+              res: "data.records"
             },
-            overHidden: true,
+            overHidden: true
           },
           {
-            label: '申请日期',
-            prop: 'applicantDate',
+            label: "申请日期",
+            prop: "applicantDate",
             search: true,
-            searchProp: 'applicantDateList',
+            searchProp: "applicantDateList",
             overHidden: true,
             type: "date",
             searchRange: true,
@@ -124,41 +137,42 @@ export default {
             valueFormat: "yyyy-MM-dd HH:mm:ss"
           },
           {
-            label: '金额',
-            prop: 'amount',
-            overHidden: true,
+            label: "金额",
+            prop: "amount",
+            overHidden: true
           },
           {
-            label: '打印时间',
-            prop: 'printDate',
-            overHidden: true,
+            label: "打印时间",
+            prop: "printDate",
+            overHidden: true
           },
           {
-            label: '打印次数',
-            prop: 'printFrequency',
-            overHidden: true,
+            label: "打印次数",
+            prop: "printFrequency",
+            overHidden: true
           },
           {
-            label: '开户行',
-            prop: 'bankOfDeposit',
-            overHidden: true,
+            label: "开户行",
+            prop: "bankOfDeposit",
+            overHidden: true
           },
           {
-            label: '银行户头',
-            prop: 'bankAccount',
-            overHidden: true,
+            label: "银行户头",
+            prop: "bankAccount",
+            overHidden: true
           },
           {
-            label: '账号',
-            prop: 'account',
-            overHidden: true,
+            label: "账号",
+            prop: "account",
+            overHidden: true
           },
           {
             label: "制单人",
             prop: "createUserName",
             overHidden: true,
-            width: 80,
-          }, {
+            width: 80
+          },
+          {
             label: "制单日期",
             prop: "createTime",
             type: "date",
@@ -166,12 +180,14 @@ export default {
             width: 100,
             format: "yyyy-MM-dd",
             valueFormat: "yyyy-MM-dd HH:mm:ss"
-          }, {
+          },
+          {
             label: "修改人",
             prop: "updateUserName",
             overHidden: true,
-            width: 80,
-          }, {
+            width: 80
+          },
+          {
             label: "修改日期",
             prop: "updateTime",
             type: "date",
@@ -181,14 +197,14 @@ export default {
             valueFormat: "yyyy-MM-dd HH:mm:ss"
           },
           {
-            label: '备注',
-            prop: 'remarks',
+            label: "备注",
+            prop: "remarks",
             overHidden: true,
-            search:true,
+            search: true
           }
         ]
       },
-      data: [],
+      data: []
     };
   },
   components: {
@@ -199,20 +215,21 @@ export default {
   },
   activated() {
     setTimeout(() => {
-      if (this.$route.query.home) {
-        this.addButton();
+      console.log(this.$route.query.billId)
+      if (this.$route.query.billId) {
+        this.isShow = false;
       }
     }, 100);
   },
   methods: {
     addButton() {
-      this.isShow = false
+      this.isShow = false;
       this.detailData = {
-        type: 'new'
+        type: "new"
       };
     },
     copyButton() {
-      this.isShow = false
+      this.isShow = false;
       this.detailData = {
         copyId: this.selectionList[0].id
       };
@@ -221,7 +238,7 @@ export default {
       this.detailData = {
         id: row.id
       };
-      this.isShow = false
+      this.isShow = false;
     },
     // 删除
     rowDel(row, index) {
@@ -236,9 +253,8 @@ export default {
         remove({ ids: row.id }).then(res => {
           this.onLoad(this.page, this.query);
           this.$message.success("成功删除");
-        })
-      })
-
+        });
+      });
     },
     searchReset() {
       this.query = this.$options.data().query;
@@ -262,25 +278,27 @@ export default {
     refreshChange() {
       this.onLoad(this.page, this.query);
     },
-    handleClick(){
-      this.refreshChange()
+    handleClick() {
+      this.refreshChange();
     },
     onLoad(page, params = {}) {
-      let obj = {}
+      let obj = {};
       obj = {
-        ...Object.assign(params, this.query),
-      }
+        ...Object.assign(params, this.query)
+      };
       this.loading = true;
-      getList(page.currentPage, page.pageSize, obj).then(res => {
-        this.data = res.data.data.records;
-        this.page.total = res.data.data.total;
-        this.$nextTick(() => {
-          this.$refs.crud.doLayout();
-          this.$refs.crud.dicInit();
+      getList(page.currentPage, page.pageSize, obj)
+        .then(res => {
+          this.data = res.data.data.records;
+          this.page.total = res.data.data.total;
+          this.$nextTick(() => {
+            this.$refs.crud.doLayout();
+            this.$refs.crud.dicInit();
+          });
+        })
+        .finally(() => {
+          this.loading = false;
         });
-      }).finally(() => {
-        this.loading = false;
-      })
     },
     // 详情的返回列表
     goBack() {
@@ -291,34 +309,34 @@ export default {
           path: "/boxManagement/boxCost/index"
         });
       }
-      this.detailData = {}
+      this.detailData = {};
       this.isShow = true;
       this.onLoad(this.page, this.query);
     },
     outExport() {
-      let config = { params: { ...this.query } }
+      let config = { params: { ...this.query } };
       if (config.params) {
         for (const propName of Object.keys(config.params)) {
           const value = config.params[propName];
-          if (value !== null && typeof (value) !== "undefined") {
+          if (value !== null && typeof value !== "undefined") {
             if (value instanceof Array) {
               for (const key of Object.keys(value)) {
-                let params = propName + '[' + key + ']';
-                config.params[params] = value[key]
+                let params = propName + "[" + key + "]";
+                config.params[params] = value[key];
               }
-              delete config.params[propName]
+              delete config.params[propName];
             }
           }
         }
       }
       const routeData = this.$router.resolve({
-        path: '/api/blade-los/routecost/exportRouteCost',      //跳转目标窗口的地址
+        path: "/api/blade-los/routecost/exportRouteCost", //跳转目标窗口的地址
         query: {
-          ...config.params,    //括号内是要传递给新窗口的参数
+          ...config.params, //括号内是要传递给新窗口的参数
           identification: this.url
         }
-      })
-      window.open(routeData.href.slice(1, routeData.href.length) + '&' + `${this.website.tokenHeader}=${getToken()}`);
+      });
+      window.open(routeData.href.slice(1, routeData.href.length) + "&" + `${this.website.tokenHeader}=${getToken()}`);
     },
     //自定义列保存
     async saveColumn(ref, option, optionBack, code) {
@@ -332,8 +350,8 @@ export default {
         this.$message.success("保存成功");
         //关闭窗口
         this.$refs[ref].$refs.dialogColumn.columnBox = false;
-        this.selectionList = []
-        this.searchReset()
+        this.selectionList = [];
+        this.searchReset();
       }
     },
     //自定义列重置
@@ -343,27 +361,25 @@ export default {
       if (inSave) {
         this.$message.success("重置成功");
         this.$refs[ref].$refs.dialogColumn.columnBox = false;
-        this.selectionList = []
-        this.searchReset()
+        this.selectionList = [];
+        this.searchReset();
       }
     },
     // 更改表格颜色
     headerClassName(tab) {
       //颜色间隔
-      let back = ""
+      let back = "";
       if (tab.columnIndex >= 0 && tab.column.level === 1) {
         if (tab.columnIndex % 2 === 0) {
-          back = "back-one"
+          back = "back-one";
         } else if (tab.columnIndex % 2 === 1) {
-          back = "back-two"
+          back = "back-two";
         }
       }
       return back;
-    },
-
+    }
   }
-}
-
+};
 </script>
 
 <style lang="scss" scoped>
@@ -385,4 +401,4 @@ export default {
 ::v-deep .el-col-md-8 {
   width: 24.33333%;
 }
-</style>
+</style>

+ 2 - 2
src/views/wel/components/losAssembly/losleftform.vue

@@ -8,8 +8,8 @@
               <el-radio v-model="type" label="SE" @input="init">{{ $t("btn118n.export") }}</el-radio>
               <el-radio v-model="type" label="SI" @input="init">{{ $t("btn118n.import") }}</el-radio>
             </div>
-            <div>
-              <el-radio v-model="type" label="OW-N" @input="init">{{ $t("btn118n.owGet") }}</el-radio>
+            <div v-if="tenantId == '128478' || tenantId == '762420'">
+              <el-radio v-model="type" label="OW-N" @input="init" >{{ $t("btn118n.owGet") }}</el-radio>
               <el-radio v-model="type" label="OW-F" @input="init">{{ $t("btn118n.owRelease") }}</el-radio>
             </div>
             <div class="right_but">

+ 80 - 72
src/views/wel/components/losAssembly/losrealtime.vue

@@ -20,8 +20,7 @@
             </el-date-picker>
             <el-button type="primary" size="mini" icon="el-icon-search" style="margin-right:10px;" @click="search"
               circle></el-button> -->
-            <i class="el-icon-refresh-right" style="cursor: pointer;font-size:20px;line-height: 15px;"
-              @click="refresh"></i>
+            <i class="el-icon-refresh-right" style="cursor: pointer;font-size:20px;line-height: 15px;" @click="refresh"></i>
           </span>
         </div>
         <div style="display: flex;">
@@ -71,14 +70,19 @@
               </div>
             </div>
           </div>
-
         </div>
-
       </el-card>
       <el-dialog :title="remindTile" :visible.sync="dialogVisible" width="50%" append-to-body>
         <span v-if="dialogVisible">
-          <avue-crud :table-loading="loading" :option="option" :data="dataList" @on-load="onLoad" :page.sync="page"
-            @current-change="currentChange" @size-change="sizeChange">
+          <avue-crud
+            :table-loading="loading"
+            :option="option"
+            :data="dataList"
+            @on-load="onLoad"
+            :page.sync="page"
+            @current-change="currentChange"
+            @size-change="sizeChange"
+          >
             <template slot="shortName" slot-scope="{ row }">
               <span style="color: #1e9fff;cursor: pointer;" @click="rowEdit(row)">{{ row.shortName }}</span>
             </template>
@@ -107,13 +111,19 @@
                 {{ $t("btn118n.theMonth") }}
               </div>
             </div>
-            <el-date-picker v-model="realDate" type="daterange" size="mini" start-placeholder="开始日期"
-              end-placeholder="结束日期" value-format="yyyy-MM-dd" style="margin-right:10px;width:240px" :clearable="false">
+            <el-date-picker
+              v-model="realDate"
+              type="daterange"
+              size="mini"
+              start-placeholder="开始日期"
+              end-placeholder="结束日期"
+              value-format="yyyy-MM-dd"
+              style="margin-right:10px;width:240px"
+              :clearable="false"
+            >
             </el-date-picker>
-            <el-button type="primary" size="mini" icon="el-icon-search" style="margin-right:10px;" @click="search"
-              circle></el-button>
-            <i class="el-icon-refresh-right" style="cursor: pointer;font-size:20px;line-height: 15px;"
-              @click="refresh"></i>
+            <el-button type="primary" size="mini" icon="el-icon-search" style="margin-right:10px;" @click="search" circle></el-button>
+            <i class="el-icon-refresh-right" style="cursor: pointer;font-size:20px;line-height: 15px;" @click="refresh"></i>
           </span>
         </div>
         <div style="display: flex;">
@@ -135,8 +145,8 @@
                 </div>
               </div>
             </div>
-            <div class="divider" />
-            <div class="content-item">
+            <div class="divider" v-if="tenantId == '128478' || tenantId == '762420'" />
+            <div class="content-item" v-if="tenantId == '128478' || tenantId == '762420'">
               <div class="card">
                 <div class="card-content">
                   <span class="card-content-num">{{ data.OWN ? data.OWN : 0 }}</span>
@@ -144,8 +154,8 @@
                 </div>
               </div>
             </div>
-            <div class="divider" />
-            <div class="content-item">
+            <div class="divider" v-if="tenantId == '128478' || tenantId == '762420'" />
+            <div class="content-item" v-if="tenantId == '128478' || tenantId == '762420'">
               <div class="card">
                 <div class="card-content">
                   <span class="card-content-num">{{ data.OWF ? data.OWF : 0 }}</span>
@@ -155,11 +165,9 @@
             </div>
           </div>
         </div>
-
       </el-card>
     </div>
   </div>
-
 </template>
 
 <script>
@@ -172,6 +180,7 @@ export default {
   },
   data() {
     return {
+      tenantId: this.$store.getters.userInfo.tenant_id,
       type: null,
       remindTile: null,
       dialogVisible: false,
@@ -180,41 +189,41 @@ export default {
       loading: false,
       realDate: [],
       data: {},
-      saberTenantId: '',
+      saberTenantId: "",
       dataList: [],
       option: {
         header: false,
         menu: false,
         column: [
           {
-            label: '客户名称',
-            prop: 'shortName',
-            overHidden: true,
+            label: "客户名称",
+            prop: "shortName",
+            overHidden: true
           },
           {
-            label: '提单号',
-            prop: 'mblno',
-            overHidden: true,
+            label: "提单号",
+            prop: "mblno",
+            overHidden: true
           },
           {
-            label: 'ETD',
-            prop: 'etd',
-            overHidden: true,
+            label: "ETD",
+            prop: "etd",
+            overHidden: true
           },
           {
-            label: 'ETA',
-            prop: 'eta',
-            overHidden: true,
+            label: "ETA",
+            prop: "eta",
+            overHidden: true
           },
           {
-            label: '截港日期',
-            prop: 'cyReturnTime',
-            overHidden: true,
+            label: "截港日期",
+            prop: "cyReturnTime",
+            overHidden: true
           },
           {
-            label: '截单日期',
-            prop: 'cyTrailerTime',
-            overHidden: true,
+            label: "截单日期",
+            prop: "cyTrailerTime",
+            overHidden: true
           }
         ]
       },
@@ -222,33 +231,32 @@ export default {
         pageSize: 10,
         currentPage: 1,
         total: 0
-      },
+      }
     };
   },
   created() {
-    this.saberTenantId = JSON.parse(localStorage.getItem('saber-tenantId')).content
+    this.saberTenantId = JSON.parse(localStorage.getItem("saber-tenantId")).content;
     this.realDate = defaultDate2();
   },
   mounted() {
-    this.businessSumfun()
-    this.arrivalReminder()
+    this.businessSumfun();
+    this.arrivalReminder();
   },
   methods: {
     remindDialog(name, type) {
       this.dataList = [];
       this.page.total = 0;
-      this.type = type
-      this.remindTile = name
-      this.dialogVisible = true
+      this.type = type;
+      this.remindTile = name;
+      this.dialogVisible = true;
     },
     rowEdit(row) {
-      if (row.businessType == 'SE') {
+      if (row.businessType == "SE") {
         if (this.$store.getters.seaFEStatus) {
           this.$alert("海运出口页面已存在,请关闭海运出口再进行操作", "温馨提示", {
             confirmButtonText: "确定",
-            type: 'warning',
-            callback: action => {
-            }
+            type: "warning",
+            callback: action => {}
           });
         } else {
           this.$router.push({
@@ -256,17 +264,16 @@ export default {
             query: {
               id: row.id
             }
-          })
-          this.dialogVisible = false
+          });
+          this.dialogVisible = false;
         }
       }
-      if (row.businessType == 'SI') {
+      if (row.businessType == "SI") {
         if (this.$store.getters.OceanFIStatus) {
           this.$alert("海运进口页面已存在,请关闭海运进口再进行操作", "温馨提示", {
             confirmButtonText: "确定",
-            type: 'warning',
-            callback: action => {
-            }
+            type: "warning",
+            callback: action => {}
           });
         } else {
           this.$router.push({
@@ -274,22 +281,24 @@ export default {
             query: {
               id: row.id
             }
-          })
-          this.dialogVisible = false
+          });
+          this.dialogVisible = false;
         }
       }
     },
     onLoad(page, params = {}) {
       let obj = {
         type: this.type
-      }
+      };
       this.loading = true;
-      arrivalReminderList(page.currentPage, page.pageSize, obj).then(res => {
-        this.dataList = res.data.data.records;
-        this.page.total = res.data.data.total;
-      }).finally(() => {
-        this.loading = false;
-      })
+      arrivalReminderList(page.currentPage, page.pageSize, obj)
+        .then(res => {
+          this.dataList = res.data.data.records;
+          this.page.total = res.data.data.total;
+        })
+        .finally(() => {
+          this.loading = false;
+        });
     },
     currentChange(currentPage) {
       this.page.currentPage = currentPage;
@@ -300,23 +309,23 @@ export default {
     // 获取数据
     businessSumfun() {
       businessSum({
-        dateStart: this.realDate[0] + ' 00:00:00',
-        dateEnd: this.realDate[1] + ' 23:59:59',
+        dateStart: this.realDate[0] + " 00:00:00",
+        dateEnd: this.realDate[1] + " 23:59:59"
       }).then(res => {
-        this.data = res.data.data
-      })
+        this.data = res.data.data;
+      });
     },
     arrivalReminder() {
       arrivalReminder().then(res => {
-        this.remind = res.data.data
-      })
+        this.remind = res.data.data;
+      });
     },
     init() {
       if (this.realDate == null) {
         return this.$message.error("请选择日期");
       }
-      this.businessSumfun()
-      this.arrivalReminder()
+      this.businessSumfun();
+      this.arrivalReminder();
     },
     refresh() {
       this.init();
@@ -341,7 +350,6 @@ export default {
 
 <style lang="scss" scoped>
 .home-container {
-
   box-sizing: border-box;
   height: 100%;
   width: 100%;

+ 3 - 2
src/views/wel/components/losAssembly/losrightform.vue

@@ -8,7 +8,7 @@
                         <el-radio v-model="businessType" label="SE" @input="init">{{ $t("btn118n.export") }}</el-radio>
                         <el-radio v-model="businessType" label="SI" @input="init">{{ $t("btn118n.import") }}</el-radio>
                     </div>
-                    <div>
+                    <div v-if="tenantId == '128478' || tenantId == '762420'">
                         <el-radio v-model="businessType" label="OW-N" @input="init">{{ $t("btn118n.owGet") }}</el-radio>
                         <el-radio v-model="businessType" label="OW-F" @input="init">{{ $t("btn118n.owRelease") }}</el-radio>
                     </div>
@@ -43,7 +43,8 @@ export default {
             annual: "", // 时间
             businessType:'SE', // 业务类型
             moneyList: [], // 获取的数据
-            saberTenantId: '',
+            saberTenantId: '', 
+             tenantId: this.$store.getters.userInfo.tenant_id,
         }
     },
     created() {

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä