-
Notifications
You must be signed in to change notification settings - Fork 4
/
out_info.py
242 lines (235 loc) · 12.5 KB
/
out_info.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'out_info.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_out_info(object):
def setupUi(self, out_info):
out_info.setObjectName("out_info")
out_info.resize(1280, 620)
self.tableView = QtWidgets.QTableView(out_info)
self.tableView.setGeometry(QtCore.QRect(10, 210, 1261, 351))
self.tableView.setObjectName("tableView")
self.groupBox = QtWidgets.QGroupBox(out_info)
self.groupBox.setGeometry(QtCore.QRect(10, 0, 1261, 201))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(True)
font.setWeight(75)
self.groupBox.setFont(font)
self.groupBox.setObjectName("groupBox")
self.horizontalLayoutWidget = QtWidgets.QWidget(self.groupBox)
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(10, 30, 1241, 32))
self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.label = QtWidgets.QLabel(self.horizontalLayoutWidget)
self.label.setObjectName("label")
self.horizontalLayout.addWidget(self.label)
self.id = QtWidgets.QLineEdit(self.horizontalLayoutWidget)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.id.setFont(font)
self.id.setObjectName("id")
self.horizontalLayout.addWidget(self.id)
self.label_2 = QtWidgets.QLabel(self.horizontalLayoutWidget)
self.label_2.setObjectName("label_2")
self.horizontalLayout.addWidget(self.label_2)
self.name = QtWidgets.QLineEdit(self.horizontalLayoutWidget)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.name.setFont(font)
self.name.setObjectName("name")
self.horizontalLayout.addWidget(self.name)
self.label_9 = QtWidgets.QLabel(self.horizontalLayoutWidget)
self.label_9.setObjectName("label_9")
self.horizontalLayout.addWidget(self.label_9)
self.spec_lineEdit = QtWidgets.QLineEdit(self.horizontalLayoutWidget)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.spec_lineEdit.setFont(font)
self.spec_lineEdit.setObjectName("spec_lineEdit")
self.horizontalLayout.addWidget(self.spec_lineEdit)
self.label_7 = QtWidgets.QLabel(self.horizontalLayoutWidget)
self.label_7.setObjectName("label_7")
self.horizontalLayout.addWidget(self.label_7)
self.user_lineEdit = QtWidgets.QLineEdit(self.horizontalLayoutWidget)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.user_lineEdit.setFont(font)
self.user_lineEdit.setObjectName("user_lineEdit")
self.horizontalLayout.addWidget(self.user_lineEdit)
self.label_8 = QtWidgets.QLabel(self.horizontalLayoutWidget)
self.label_8.setObjectName("label_8")
self.horizontalLayout.addWidget(self.label_8)
self.agree_lineEdit = QtWidgets.QLineEdit(self.horizontalLayoutWidget)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.agree_lineEdit.setFont(font)
self.agree_lineEdit.setObjectName("agree_lineEdit")
self.horizontalLayout.addWidget(self.agree_lineEdit)
self.horizontalLayoutWidget_2 = QtWidgets.QWidget(self.groupBox)
self.horizontalLayoutWidget_2.setGeometry(QtCore.QRect(10, 71, 921, 32))
self.horizontalLayoutWidget_2.setObjectName("horizontalLayoutWidget_2")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget_2)
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label_3 = QtWidgets.QLabel(self.horizontalLayoutWidget_2)
self.label_3.setObjectName("label_3")
self.horizontalLayout_2.addWidget(self.label_3)
self.st_dateEdit = QtWidgets.QDateEdit(self.horizontalLayoutWidget_2)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.st_dateEdit.setFont(font)
self.st_dateEdit.setObjectName("st_dateEdit")
self.horizontalLayout_2.addWidget(self.st_dateEdit)
self.label_4 = QtWidgets.QLabel(self.horizontalLayoutWidget_2)
self.label_4.setObjectName("label_4")
self.horizontalLayout_2.addWidget(self.label_4)
self.ed_dateEdit = QtWidgets.QDateEdit(self.horizontalLayoutWidget_2)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.ed_dateEdit.setFont(font)
self.ed_dateEdit.setObjectName("ed_dateEdit")
self.horizontalLayout_2.addWidget(self.ed_dateEdit)
self.label_5 = QtWidgets.QLabel(self.horizontalLayoutWidget_2)
self.label_5.setObjectName("label_5")
self.horizontalLayout_2.addWidget(self.label_5)
self.st_num = QtWidgets.QLineEdit(self.horizontalLayoutWidget_2)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.st_num.setFont(font)
self.st_num.setObjectName("st_num")
self.horizontalLayout_2.addWidget(self.st_num)
self.label_10 = QtWidgets.QLabel(self.horizontalLayoutWidget_2)
self.label_10.setObjectName("label_10")
self.horizontalLayout_2.addWidget(self.label_10)
self.ed_num = QtWidgets.QLineEdit(self.horizontalLayoutWidget_2)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.ed_num.setFont(font)
self.ed_num.setObjectName("ed_num")
self.horizontalLayout_2.addWidget(self.ed_num)
self.horizontalLayout_2.setStretch(0, 10)
self.horizontalLayout_2.setStretch(1, 10)
self.horizontalLayout_2.setStretch(2, 1)
self.horizontalLayout_2.setStretch(3, 10)
self.query_btn = QtWidgets.QPushButton(self.groupBox)
self.query_btn.setGeometry(QtCore.QRect(1150, 70, 101, 31))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(True)
font.setWeight(75)
self.query_btn.setFont(font)
self.query_btn.setObjectName("query_btn")
self.clear_query_btn = QtWidgets.QPushButton(self.groupBox)
self.clear_query_btn.setGeometry(QtCore.QRect(1000, 70, 131, 31))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(True)
font.setWeight(75)
self.clear_query_btn.setFont(font)
self.clear_query_btn.setObjectName("clear_query_btn")
self.textEdit = QtWidgets.QTextEdit(self.groupBox)
self.textEdit.setGeometry(QtCore.QRect(13, 110, 1241, 91))
self.textEdit.setReadOnly(True)
self.textEdit.setObjectName("textEdit")
self.del_btn = QtWidgets.QPushButton(out_info)
self.del_btn.setGeometry(QtCore.QRect(650, 570, 131, 41))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(True)
font.setWeight(75)
self.del_btn.setFont(font)
self.del_btn.setObjectName("del_btn")
self.update_btn = QtWidgets.QPushButton(out_info)
self.update_btn.setGeometry(QtCore.QRect(810, 570, 131, 41))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(True)
font.setWeight(75)
self.update_btn.setFont(font)
self.update_btn.setObjectName("update_btn")
self.export_excel = QtWidgets.QPushButton(out_info)
self.export_excel.setGeometry(QtCore.QRect(970, 570, 181, 41))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(True)
font.setWeight(75)
self.export_excel.setFont(font)
self.export_excel.setObjectName("export_excel")
self.cancel_btn = QtWidgets.QPushButton(out_info)
self.cancel_btn.setGeometry(QtCore.QRect(1180, 570, 91, 41))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
font.setBold(True)
font.setWeight(75)
self.cancel_btn.setFont(font)
self.cancel_btn.setObjectName("cancel_btn")
self.retranslateUi(out_info)
QtCore.QMetaObject.connectSlotsByName(out_info)
def retranslateUi(self, out_info):
_translate = QtCore.QCoreApplication.translate
out_info.setWindowTitle(_translate("out_info", "出库信息管理"))
self.groupBox.setTitle(_translate("out_info", "筛选条件"))
self.label.setText(_translate("out_info", "存货编码:"))
self.label_2.setText(_translate("out_info", "存货名称:"))
self.label_9.setText(_translate("out_info", "规格型号:"))
self.label_7.setText(_translate("out_info", "使用人:"))
self.label_8.setText(_translate("out_info", "令号:"))
self.label_3.setText(_translate("out_info", "出库日期范围(含):"))
self.label_4.setText(_translate("out_info", "——"))
self.label_5.setText(_translate("out_info", "出库数量范围(含):"))
self.label_10.setText(_translate("out_info", "——"))
self.query_btn.setText(_translate("out_info", "筛选"))
self.clear_query_btn.setText(_translate("out_info", "清除筛选"))
self.textEdit.setHtml(_translate("out_info", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'微软雅黑\'; font-size:10pt; font-weight:600; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt; font-weight:400;\">1.初始列出</span><span style=\" font-size:11pt; font-weight:400; color:#0000ff;\">所有入库记录</span><span style=\" font-size:11pt; font-weight:400;\">;</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt; font-weight:400;\">2.存货编码可模糊搜索;</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt; font-weight:400;\">3.某项多个输入用</span><span style=\" font-size:11pt; font-weight:400; color:#0000ff;\">;(英文分号)</span><span style=\" font-size:11pt; font-weight:400;\">隔开,例如:ID1</span><span style=\" font-size:11pt; font-weight:400; color:#0000ff;\">;</span><span style=\" font-size:11pt; font-weight:400;\">ID2</span><span style=\" font-size:11pt; font-weight:400; color:#0000ff;\">;</span><span style=\" font-size:11pt; font-weight:400;\">ID3</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt; font-weight:400;\">4.</span><span style=\" font-size:11pt; font-weight:400; color:#0000ff;\">Ctrl键</span><span style=\" font-size:11pt; font-weight:400;\">可选中多行并删除,但修改时只能选中1行。</span></p></body></html>"))
self.del_btn.setText(_translate("out_info", "删除选中记录"))
self.update_btn.setText(_translate("out_info", "修改选中记录"))
self.export_excel.setText(_translate("out_info", "导出表中数据至Excel"))
self.cancel_btn.setText(_translate("out_info", "关闭"))