From 94e436ae0e77260a174ec85358c58e3cc8cedd2e Mon Sep 17 00:00:00 2001 From: qiuhongwu Date: Sat, 13 Jul 2024 23:12:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E6=8A=A5=E5=B7=A5=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionReport/components/dataItem.vue | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/mes-ui/uni-app/src/pages/productionReport/components/dataItem.vue b/mes-ui/uni-app/src/pages/productionReport/components/dataItem.vue index 0fcdb1d0..a7d75fae 100644 --- a/mes-ui/uni-app/src/pages/productionReport/components/dataItem.vue +++ b/mes-ui/uni-app/src/pages/productionReport/components/dataItem.vue @@ -32,6 +32,7 @@ const queryParams: Required = { dispatchType: 'PRODUCTION', // 派工类型 isReport: 1, // 是否需要报工 // dispatchStatus: 2 + projectSubCodeOrName: undefined } const dataList = ref([]) const total = ref() @@ -107,17 +108,9 @@ const onRefresherrefresh = async () => { const searchVal = ref('') // const dataListDefault = ref([]) const handleSearch = async () => { - console.log(searchVal) - - // const code = searchVal.value - // if (code) { - // dataListDefault.value = dataList.value - // dataList.value = dataList.value.filter((e) => { - // return e.code == code - // }) - // } else { - // dataList.value = dataListDefault.value - // } + const code = searchVal.value + queryParams.projectSubCodeOrName = code + getListData() } const flag = ref(true) const selectedItemId = ref([]) @@ -610,7 +603,7 @@ const handleOk = async () => { top: 17rpx; // background: linear-gradient(142deg, #feb34a 14%, #fe9b12 83%); position: absolute; - right: 180rpx; + right: 50rpx; padding: 5rpx 10rpx; border-radius: 10rpx; font-size: 24rpx;