diff --git a/src/views/productManagement/ProReportwork/index.vue b/src/views/productManagement/ProReportwork/index.vue index 0ea6350..3bcc058 100644 --- a/src/views/productManagement/ProReportwork/index.vue +++ b/src/views/productManagement/ProReportwork/index.vue @@ -22,7 +22,8 @@ - {{ $t('btn.search') }} + {{ $t('btn.search') }}全部 + {{ $t('btn.search') }}仓库确认数大于0 {{ $t('btn.reset') }} @@ -192,13 +193,13 @@
-
+
上海干巷车镜实业有限公司
每日报工清单
日期:{{ dayjs().format('YYYY-MM-DD') }}
-
+ @@ -214,7 +215,7 @@ - + @@ -251,6 +252,7 @@ const queryParams = reactive({ fkWorkorder: '', groupCode: '', lineCode: '', + warehouseconfirmationNum: 0, pageNum: 1, pageSize: 10, sort: '', @@ -340,8 +342,9 @@ function getList() { } // 查询 -function handleQuery() { +function handleQuery(warehouseconfirmationNum = 0) { queryParams.pageNum = 1 + queryParams.warehouseconfirmationNum = warehouseconfirmationNum getList() } @@ -393,8 +396,9 @@ function reset() { form.value = { id: null, fkWorkorder: null, - dispatchNum: null, - finishedNum: null, + dispatchNum: 0, + finishedNum: 0, + qualifiedNumber:0, groupCode: null, lineCode: null, createdBy: null, @@ -623,15 +627,17 @@ function handlePrint() { } function getPrintList() { const _list = allList.value - const groupedData = _list.reduce((acc, item) => { - const key = item.groupCode - if (!acc[key]) { - acc[key] = [] - } - acc[key].push(item) - return acc - }, {}) - return Object.values(groupedData) + + return _list + // const groupedData = _list.reduce((acc, item) => { + // const key = item.groupCode + // if (!acc[key]) { + // acc[key] = [] + // } + // acc[key].push(item) + // return acc + // }, {}) + // return Object.values(groupedData) } /// ================================================ diff --git a/src/views/productManagement/ProWorkorder/index.vue b/src/views/productManagement/ProWorkorder/index.vue index 43d0768..1a0672e 100644 --- a/src/views/productManagement/ProWorkorder/index.vue +++ b/src/views/productManagement/ProWorkorder/index.vue @@ -469,7 +469,7 @@ - +
序号备注
{{ index + 1 }} {{ item.fkWorkorder }} {{ item.productionCode }}缺陷描述 返工 报废手动标签留样确认首件标签留样确认