From 536bc2a23e909d89eece37a0c3278c85012ec8ce Mon Sep 17 00:00:00 2001
From: 严智鑫 <test>
Date: 星期三, 11 九月 2024 14:42:56 +0800
Subject: [PATCH] 掰片:当前版图规则更改为按磨边进的最后一片或破损的最后一片按版图序号大的第一片版图; 按工程号查询功能,如果未领取过此工程则不可查询
---
UI-Project/src/views/PurchaseReturn/purchaseReturn.vue | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue b/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue
index e6c9858..3ed3f1f 100644
--- a/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue
+++ b/UI-Project/src/views/PurchaseReturn/purchaseReturn.vue
@@ -49,7 +49,7 @@
tableData.value = response.data
console.log(response.data);
} else {
- ElMessage.warning(res.msg)
+ ElMessage.warning(response.message)
}
} catch (error) {
// console.error('Error fetching rects :', error);
@@ -82,7 +82,10 @@
dialogVisible.value = true;
tableData.value = response.data;
await nextTick();
- window.print();
+ // 寤舵椂 2 绉掑悗鎵撳嵃锛堟椂闂村彲浠ユ牴鎹渶瑕佽皟鏁达級
+ setTimeout(() => {
+ window.print();
+ }, 2000);
} else {
ElMessage.error(response.message);
}
@@ -807,7 +810,7 @@
</div>
<div v-if="dialogFormVisiblec">
<!-- 鎵撳嵃 -->
- <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;margin-right: 10px;height: 600px;" v-loading="loading">
+ <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;margin-right: 10px;height: 800px;" v-loading="loading">
<div style="display: flex; flex-direction: row; align-items: center; margin-top: 5px;margin-left: 10px;">
<el-input :placeholder="$t('processCard.projectnumber')" v-model="engineerId" autocomplete="off" style="width: 300px;"/>
<el-button type="primary" style="margin-left: 10px;" @click="selectReportData()">{{ $t('processCard.inquire') }}</el-button>
@@ -817,15 +820,18 @@
<el-card style="flex: 1;margin-left: 10px;margin-top: 15px;" v-loading="loading">
<div style="width: 98%; height: calc(100% - 35px); overflow-y: auto;">
<el-table
- height="350"
+ height="600"
ref="table"
:header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}"
:data="tableData"
>
<el-table-column prop="engineerId" :label="$t('processCard.project')" width="200" align="center"/>
- <el-table-column prop="workingProcedure" :label="$t('processCard.awayprocess')" align="center"/>
- <el-table-column prop="deviceName" :label="$t('processCard.awayequipment')" align="center"/>
- <el-table-column prop="teamsGroupsName" :label="$t('processCard.awayteam')" align="center"/>
+ <el-table-column prop="temperingLayoutId" :label="$t('processCard.layoutID')" align="center"/>
+ <el-table-column prop="temperingFeedSequence" :label="$t('processCard.temperingfeed')" align="center"/>
+ <el-table-column prop="glassId" :label="$t('processCard.glassID')" align="center"/>
+ <el-table-column prop="width" :label="$t('processCard.width')" align="center"/>
+ <el-table-column prop="height" :label="$t('processCard.height')" align="center"/>
+ <el-table-column prop="thickness" :label="$t('processCard.thickness')" align="center"/>
</el-table>
</div>
</el-card>
--
Gitblit v1.8.0