Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -191,6 +191,8 @@ def submit_order2(
|
|
191 |
prefix = 'SHEN00000'
|
192 |
elif session_state['username'] == 'cevcaigou888':
|
193 |
prefix = 'NIU00000'
|
|
|
|
|
194 |
|
195 |
all_records = orders.get_all_records()
|
196 |
existing_records = [record for record in all_records if record['采购编号'].startswith(prefix)]
|
|
|
191 |
prefix = 'SHEN00000'
|
192 |
elif session_state['username'] == 'cevcaigou888':
|
193 |
prefix = 'NIU00000'
|
194 |
+
elif session_state['username'] == 'cevcaigou005':
|
195 |
+
prefix = 'HAN00000'
|
196 |
|
197 |
all_records = orders.get_all_records()
|
198 |
existing_records = [record for record in all_records if record['采购编号'].startswith(prefix)]
|