From f3eb86b73c4262cb0cecb3a4de3dc0af75a1240e Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周三, 04 9月 2024 15:41:42 +0800
Subject: [PATCH] 1
---
yiqi_iwara-scada-web/src/views/main/WorkPieceLogYield/index.vue | 29 ++++++++++++++++++++++++++++-
1 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/yiqi_iwara-scada-web/src/views/main/WorkPieceLogYield/index.vue b/yiqi_iwara-scada-web/src/views/main/WorkPieceLogYield/index.vue
index ca06fbc..1bc4401 100644
--- a/yiqi_iwara-scada-web/src/views/main/WorkPieceLogYield/index.vue
+++ b/yiqi_iwara-scada-web/src/views/main/WorkPieceLogYield/index.vue
@@ -32,6 +32,11 @@
</a-form-item>
</a-col>
<a-col :md="colMd" :sm="colSm">
+ <a-form-item label="澶囨敞">
+ <a-input v-model="queryParam.remarks" allow-clear placeholder="璇疯緭鍏ュ娉�" />
+ </a-form-item>
+ </a-col>
+ <a-col :md="colMd" :sm="colSm">
<a-form-item label="宸ュ簭">
<a-select
allow-clear
@@ -40,6 +45,20 @@
placeholder="璇烽�夋嫨宸ュ簭"
>
<a-select-option v-for="(item, index) in ProcessSelectData" :key="index" :value="item.code">
+ {{ item.name }}
+ </a-select-option>
+ </a-select>
+ </a-form-item>
+ </a-col>
+ <a-col :md="colMd" :sm="colSm">
+ <a-form-item label="鏃ュ織绫诲瀷">
+ <a-select
+ allow-clear
+ style="width: 100%"
+ v-model="queryParam.pieceLogType"
+ placeholder="璇烽�夋嫨鏃ュ織绫诲瀷"
+ >
+ <a-select-option v-for="(item, index) in PieceLogType" :key="index" :value="item.code">
{{ item.name }}
</a-select-option>
</a-select>
@@ -162,6 +181,12 @@
dataIndex: 'remarks'
},
{
+ title: '鏃ュ織绫诲瀷',
+ align: 'center',
+ sorter: true,
+ dataIndex: 'pieceLogTypeName'
+ },
+ {
title: '鍒涘缓浜�',
align: 'center',
sorter: true,
@@ -181,6 +206,7 @@
equitypeData: [],
// 宸ュ簭涓嬫媺妗嗘暟鎹�
WorkPieceSelectData: [],
+ PieceLogType:[],
// 璐ㄩ噺鐘舵�佷笅鎷夋鏁版嵁
QualityStateSelectData: [],
pages: {
@@ -189,7 +215,7 @@
total: 0,
showTotal: (total, range) => `${range[0]}-${range[1]}鍏�${total}鏉,
showSizeChanger: true,
- pageSizeOptions: ['10', '20', '30', '40','50','100','200','300','400','500'],
+ pageSizeOptions: ['10', '20', '30', '40','50','100','200','300','400','500','1000'],
onChange: this.getData,
onShowSizeChange: this.showSizeChange
}
@@ -200,6 +226,7 @@
this.initData();
this.getData()
this.ProcessSelectData = this.$options.filters['dictData']('process_type')
+ this.PieceLogType = this.$options.filters['dictData']('PieceLogType')
this.QualityStateSelectData = this.$options.filters['dictData']('quality_state')
},
methods: {
--
Gitblit v1.9.3