From 95abe8ec2aee5caa9cca6937c6677ee55ba89020 Mon Sep 17 00:00:00 2001 From: Panzihang <819652404@qq.com> Date: Fri, 24 Nov 2023 15:55:58 +0800 Subject: [PATCH] 11.24 --- components/head-view/head-view.vue | 4 + pages/discharge/instruct.vue | 50 ++- pages/index/index.vue | 1 + pages/index/instruct.vue | 131 ++++--- pages/login/index.vue | 17 +- pages/quality/details.vue | 8 +- pages/quality/edit.vue | 12 +- pages/quality/index.vue | 11 +- pages/shipWork/documentList.vue | 3 +- pages/shipWork/index.vue | 42 ++- pages/shipWork/mafiAdd.vue | 4 +- pages/shipWork/mafiSign.vue | 2 +- pages/shipWork/mixSign.vue | 552 +++++++++++++++++----------- pages/shipWork/shiftAdd.vue | 12 +- pages/shipWork/sign.vue | 23 +- pages/shipWork/supplySign.vue | 337 ++++++++++++----- pages/shipWork/untieSign.vue | 371 +++++++++++++------ static/images/ship-shplit-right.svg | 25 ++ 18 files changed, 1064 insertions(+), 541 deletions(-) create mode 100644 static/images/ship-shplit-right.svg diff --git a/components/head-view/head-view.vue b/components/head-view/head-view.vue index 0daad60..e681efd 100644 --- a/components/head-view/head-view.vue +++ b/components/head-view/head-view.vue @@ -95,6 +95,10 @@ executeSql(sql) { sqlite.executeSqlCeshi(sql).then((value) => { value.forEach(v => { + this.inVvyId = "" + this.inVvyName = "" + this.outVvyId = "" + this.outVvyName = "" if (v.importExportFlagName == '出口') { this.inVvyId = v.vvyId this.inVvyName = v.vvyName diff --git a/pages/discharge/instruct.vue b/pages/discharge/instruct.vue index f3bdef4..eff0840 100644 --- a/pages/discharge/instruct.vue +++ b/pages/discharge/instruct.vue @@ -820,12 +820,16 @@ // 点击tabs changeTabs(e) { this.mnfBl = '' + this.brdId = '' this.brdName = '' + this.bvmId = '' this.bvmName = '' + this.sendValue = '' this.itemList = [] this.tabsValue = e.value this.current = 1 this.zTjActive = -1 + this.zTjType = true if (e.value == 1 || e.value == 2) { this.loadOtherOrder() } else if (e.value == 0) { @@ -835,11 +839,6 @@ this.getRoleId() }, // 点击分指令tabs - changeTabs2(e) { - this.tabsValue2 = e.value - this.itemList = [] - this.loadOtherOrder() - }, // 点击搜索 search() { if (this.tabsValue == 1) { @@ -847,21 +846,20 @@ } else if (this.tabsValue == 0) { this.loadSumOrder() } - }, - // 点击分页 - changePage(e) { - console.log(e) - this.current = e.current; - if (this.tabsValue == 1) { - this.loadOtherOrder() - } else if (this.tabsValue == 0) { - this.loadSumOrder() - } + this.getStatistics() }, // 点击总指令统计列表总标题 clickTjHead(type) { this.zTjActive = -1 - this.brdId = "" + this.mnfBl = '' + this.brdId = '' + this.brdName = '' + this.bvmId = '' + this.bvmName = '' + this.sendValue = '' + this.itemList = [] + this.current = 1 + this.zTjType = true if (type == 'zzl') { this.loadSumOrder() } else if (type == 'fzl') { @@ -871,6 +869,9 @@ // 点击总指令统计列表 clickTjList(item, index, type) { this.zTjActive = index + this.itemList = [] + this.current = 1 + this.zTjType = false if (type == 'zzl') { this.loadSumOrder(item.brdId) } else if (type == 'fzl') { @@ -899,7 +900,6 @@ let fsum = v.branchSentCount + v.branchNotSentCount this.$set(v, "fsum", fsum) }) - console.log(this.zTjList) } }) }, @@ -1284,7 +1284,13 @@ this.brandItem = e this.brdId = e.brdId this.brdName = e.brdName - this.loadSumOrder() + this.itemList = [] + this.current = 1 + if (this.tabsValue == 0) { + this.loadSumOrder() + } else if (this.tabsValue == 1 || this.tabsValue == 2) { + this.loadOtherOrder() + } }, // 获取车型 getBvm() { @@ -1307,7 +1313,13 @@ this.bvmItem = e this.bvmId = e.id this.bvmName = e.name - this.loadSumOrder() + this.itemList = [] + this.current = 1 + if (this.tabsValue == 0) { + this.loadSumOrder() + } else if (this.tabsValue == 1 || this.tabsValue == 2) { + this.loadOtherOrder() + } }, toDetails(item, item2) { console.log(item, item2) diff --git a/pages/index/index.vue b/pages/index/index.vue index d6a5afc..797c1eb 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -147,6 +147,7 @@ this.shipName = e.vslCnname this.vvyId = e.vvyId this.vvyShip = e.vvyShip + this.getShip() }, // 选择船输入框 shipInput(e) { diff --git a/pages/index/instruct.vue b/pages/index/instruct.vue index 377ef55..8215ab4 100644 --- a/pages/index/instruct.vue +++ b/pages/index/instruct.vue @@ -8,6 +8,7 @@