From 6293f43343f43bfcea37dc12e26fb30292cf9fc4 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期四, 13 三月 2025 09:25:06 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/views/business/materialOrder/index.vue | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/views/business/materialOrder/index.vue b/src/views/business/materialOrder/index.vue index 4b59175..bba1f96 100644 --- a/src/views/business/materialOrder/index.vue +++ b/src/views/business/materialOrder/index.vue @@ -195,6 +195,7 @@ concessionRelease, getIfsByAll, getIfsByOver, + getIfsByQuarter, getIfsByStateOne, rawAllExport, rawOrderRelease, @@ -207,7 +208,7 @@ // import Inspection from "../do/b1-inspect-order-plan/Inspection.vue"; export default { - name: "b1-material-inspection-order", + name: "MaterialOrder", // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { limsTable, DownFileDialog, FilesLookVisible, DataLookVisible, ShowInfo, PrintDialog }, data() { @@ -877,6 +878,13 @@ // 宸叉楠屾煡璇� getIfsByOverList() { this.tableLoading2 = true + if(null != this.entity.date){ + this.entity.beginDeclareDate = this.entity.date[0] + this.entity.endDeclareDate = this.entity.date[1] + } else { + this.entity.beginDeclareDate = '' + this.entity.endDeclareDate = '' + } const params = { ...this.entity, orderState: 4, state: 2, ...this.page2 } getIfsByOver(params).then(res => { this.tableLoading2 = false @@ -891,8 +899,15 @@ // 鏌ヨ瀛e害妫�楠� getIfsByQuarterList() { this.tableLoading4 = true + if(null != this.entity.date){ + this.entity.beginDeclareDate = this.entity.date[0] + this.entity.endDeclareDate = this.entity.date[1] + } else { + this.entity.beginDeclareDate = '' + this.entity.endDeclareDate = '' + } const params = { ...this.entity, ...this.page4 } - getIfsByOver(params).then(res => { + getIfsByQuarter(params).then(res => { this.tableLoading4 = false if (res.code === 200) { this.tableData4 = res.data.records @@ -905,6 +920,13 @@ // 鍏ㄩ儴 getIfsByAllList() { this.tableLoading3 = true + if(null != this.entity.date){ + this.entity.beginDeclareDate = this.entity.date[0] + this.entity.endDeclareDate = this.entity.date[1] + } else { + this.entity.beginDeclareDate = '' + this.entity.endDeclareDate = '' + } const params = { ...this.entity, isInspect: 1, ...this.page3 } getIfsByAll(params).then(res => { this.tableLoading3 = false -- Gitblit v1.9.3