From 65f86f41dedbbbb7030e2f37ce3e001bbca4923a Mon Sep 17 00:00:00 2001
From: chengxiangling <291105840@qq.com>
Date: 星期四, 15 五月 2025 13:03:25 +0800
Subject: [PATCH] 查询日历带适用工厂
---
src/views/mainPlan/abnormalPartNumberReport/index.vue | 38 ++++++++++++++++----------------------
1 files changed, 16 insertions(+), 22 deletions(-)
diff --git a/src/views/mainPlan/abnormalPartNumberReport/index.vue b/src/views/mainPlan/abnormalPartNumberReport/index.vue
index b8ea020..73fc7c0 100644
--- a/src/views/mainPlan/abnormalPartNumberReport/index.vue
+++ b/src/views/mainPlan/abnormalPartNumberReport/index.vue
@@ -6,37 +6,36 @@
ref="queryRef"
:inline="true"
v-show="showSearch"
- :label-width="locale === 'zh' ? '90px' : '200px'"
+ label-position="left"
>
- <el-row type="flex" justify="left">
- <el-col :span="locale === 'zh' ? 5 : 10">
- <el-form-item :label="$t('plan.query.itemNumber')" prop="itemNumber">
+ <el-row :gutter="20">
+ <el-col :span="8">
+ <el-form-item :style="{ width: '100%' }" :label="$t('plan.query.itemNumber')" prop="itemNum">
<el-input
- :style="{ width: locale === 'zh' ? '140px' : '300px' }"
- v-model="queryParams.itemNumber"
- :placeholder="`${$t('plan.placeholder.requireTraceID')}`"
+ v-model="queryParams.itemNum"
+ :placeholder="`${$t('common.common.placeholder')}${$t('plan.query.itemNumber')}`"
clearable
@keyup.enter="handleQuery"
/>
</el-form-item>
</el-col>
- <el-col :span="locale === 'zh' ? 8 : 9">
+ <el-col :span="8">
<el-form-item
+ :style="{ width: '100%' }"
:label="$t('plan.query.workOrderNo')"
- prop="documentNumber"
+ prop="docNum"
>
<el-input
- :style="{ width: locale === 'zh' ? '140px' : '210px' }"
- v-model="queryParams.documentNumber"
+ v-model="queryParams.docNum"
:placeholder="`${$t('common.common.placeholder')}${$t(
- 'plan.query.itemNumber'
+ 'plan.query.workOrderNo'
)}`"
clearable
@keyup.enter="handleQuery"
/>
</el-form-item>
</el-col>
- <el-col :span="locale === 'zh' ? 11 : 5" style="text-align: right">
+ <el-col :span="8" style="text-align: right">
<el-form-item class="column-with-margin">
<el-button type="primary" icon="Search" @click="handleQuery">{{
$t("common.common.query")
@@ -56,7 +55,7 @@
plain
icon="Download"
@click="handleExport"
- v-hasPermi="['Aps:apsPlatePlan:redundantOrderListExport']"
+ v-hasPermi="['Aps:ApsPlateStandardRequireError:export']"
>{{ $t("common.common.export") }}</el-button
>
</el-col>
@@ -82,7 +81,7 @@
</div>
</template>
-<script setup name="Calendar">
+<script setup name="AbnormalPartNumberReport">
import HxlhTable from "@/components/HxlhTable";
import { redundantOrderList } from "@/api/basicData/sheetMetalConfig/sheetMetalConfig";
import { listAll_plant } from "@/api/basicData/plant";
@@ -98,8 +97,8 @@
queryParams: {
pageNum: 1,
pageSize: 10,
- documentNumber: null,
- itemNumber: null,
+ docNum: null,
+ itemNum: null,
},
});
const { queryParams, form, rules } = toRefs(data);
@@ -120,19 +119,16 @@
{
title: t("plan.table.workOrderNo"),
field: "docNum",
- width: 150,
align: "center",
},
{
title: t("plan.table.itemNumber"),
field: "itemNum",
- width: 200,
align: "center",
},
{
title: t("plan.table.applicableFactories"),
field: "orgCode",
- width: 200,
align: "center",
formatter: ({ cellValue, row, column }) => {
if (cellValue) {
@@ -147,13 +143,11 @@
{
title: t("plan.table.abnormalCause"),
field: "message",
- width: 200,
align: "center",
},
{
title: t("plan.table.creationTime"),
field: "createTime",
- width: 200,
align: "center",
}
];
--
Gitblit v1.9.3