From 990ab840f97e984b5f68e5752df07ab25d2d6219 Mon Sep 17 00:00:00 2001 From: xhj Date: Sun, 15 Sep 2024 11:19:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/sjzx/bzzGL.js | 28 ++ src/views/jhzxgl/dhqdD.vue | 8 +- src/views/jhzxgl/pwjhD.vue | 41 +- src/views/jhzxgl/sljhD.vue | 2 +- src/views/jhzxgl/tzjhD.vue | 8 +- src/views/sjzx/bomwh.vue | 7 +- src/views/sjzx/bzzzgl.vue | 807 ++++++++++++++++++------------------- 7 files changed, 476 insertions(+), 425 deletions(-) diff --git a/src/api/sjzx/bzzGL.js b/src/api/sjzx/bzzGL.js index 792ae04..59d5776 100644 --- a/src/api/sjzx/bzzGL.js +++ b/src/api/sjzx/bzzGL.js @@ -39,3 +39,31 @@ export function getBzryList(data) { data, }); } +export function getBzryUpdate(data) { + return request({ + url: "/dmBzry/getBzryUpdate", + method: "post", + data, + }); +} +export function getBzryDel(data) { + return request({ + url: "/dmBzry/getBzryDel", + method: "post", + data, + }); +} +export function getBzryInsert(data) { + return request({ + url: "/dmBzry/getBzryInsert", + method: "post", + data, + }); +} +export function getryBase(data) { + return request({ + url: "/dmBzry/getryBase", + method: "post", + data, + }); +} diff --git a/src/views/jhzxgl/dhqdD.vue b/src/views/jhzxgl/dhqdD.vue index a727233..54a8079 100644 --- a/src/views/jhzxgl/dhqdD.vue +++ b/src/views/jhzxgl/dhqdD.vue @@ -403,10 +403,10 @@ export default { }, initList() { - if (this.queryParam.dcch === '') { - this.$message.warning('选择船只编号') - return - } + // if (this.queryParam.dcch === '') { + // this.$message.warning('选择船只编号') + // return + // } getDhPgd(this.queryParam).then((res) => { this.list = res.data if (this.$refs.xGrid) { diff --git a/src/views/jhzxgl/pwjhD.vue b/src/views/jhzxgl/pwjhD.vue index faa2327..423a997 100644 --- a/src/views/jhzxgl/pwjhD.vue +++ b/src/views/jhzxgl/pwjhD.vue @@ -91,20 +91,31 @@ 班组: - + 作业区: + + + + + + @@ -190,6 +201,8 @@ export default { zt:'21', qgkw:'' }, + zyqs:[], + zyrys:[], statusOptions: [ { value: "21", @@ -389,7 +402,13 @@ export default { bzClick(){ console.log(this.dictData.gxry) console.log(this.inParam.scdw) - this.dictData.gxry= this.dictData.gxry.filter(fst=>fst.szcs===this.inParam.scdw) + this.dictData.zyqs= this.zyqs.filter(fst=>fst.resourcesCode===this.inParam.scdw) + console.log(this.dictData.zyqs) + }, + bzClick1(){ + console.log(this.dictData.zyrys) + console.log(this.zyrys) + this.dictData.zyrys= this.zyrys.filter(fst=>fst.resourcesCode+fst.zyq===this.inParam.scdw+this.inParam.zyq) console.log(this.dictData.gxry) }, updates2(){ @@ -443,6 +462,8 @@ export default { initBase(){ getPgdBase({}).then(res=>{ console.log(res.data) + this.zyqs=res.data.zyqs + this.zyrys=res.data.zyrys this.dictData = res.data this.projectData=res.data.cbbm this.projectData1=res.data.cbbm diff --git a/src/views/jhzxgl/sljhD.vue b/src/views/jhzxgl/sljhD.vue index af1ab3d..0f04065 100644 --- a/src/views/jhzxgl/sljhD.vue +++ b/src/views/jhzxgl/sljhD.vue @@ -231,7 +231,7 @@ - + 批量 核对 diff --git a/src/views/jhzxgl/tzjhD.vue b/src/views/jhzxgl/tzjhD.vue index 889a020..1e98363 100644 --- a/src/views/jhzxgl/tzjhD.vue +++ b/src/views/jhzxgl/tzjhD.vue @@ -399,10 +399,10 @@ export default { }, initList() { - if (this.queryParam.dcch === '') { - this.$message.warning('选择船只编号') - return - } + // if (this.queryParam.dcch === '') { + // this.$message.warning('选择船只编号') + // return + // } getTzjhPgd(this.queryParam).then((res) => { this.list = res.data if (this.$refs.xGrid) { diff --git a/src/views/sjzx/bomwh.vue b/src/views/sjzx/bomwh.vue index f5522f4..a80d153 100644 --- a/src/views/sjzx/bomwh.vue +++ b/src/views/sjzx/bomwh.vue @@ -659,6 +659,8 @@ export default { filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], filterRender: { name: 'FilterCombination', }, }, + + { field: 'bclq.dcChZ', title: '船号', width: 100, filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], filterRender: { name: 'FilterCombination', }, @@ -809,7 +811,10 @@ export default { filterRender: { name: 'FilterCombination', }, }, - + { field: 'tjb.hxfl', title: '类型', width: 100, + filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], + filterRender: { name: 'FilterCombination', }, + }, { field: 'tjb.dcZl', title: '组立', width: 100,formatter: ['dictFormat','ZLLB'], diff --git a/src/views/sjzx/bzzzgl.vue b/src/views/sjzx/bzzzgl.vue index 414b5c1..35dcdab 100644 --- a/src/views/sjzx/bzzzgl.vue +++ b/src/views/sjzx/bzzzgl.vue @@ -1,448 +1,445 @@ +