ayataca commited on
Commit
3802651
1 Parent(s): eb51204

発見日、発生日の順序修正

Browse files
src/forms/deviation_notification_report.py CHANGED
@@ -301,8 +301,8 @@ def deviation_notification_report_form() -> None:
301
  "課名": st.session_state["section_name"],
302
  "発生場所": st.session_state["occurrence_place"],
303
  "発見者": st.session_state["discoverer"],
304
- "発生日": formatted_occurrence_date,
305
  "発見日": formatted_discovery_date,
 
306
  "品質保証課への第一報日": formatted_first_report_date,
307
  "発生事象の分類": st.session_state["occurrence_classification"],
308
  "逸脱概要": str(response_data["逸脱概要"]),
@@ -336,8 +336,8 @@ def deviation_notification_report_form() -> None:
336
  st.session_state["contents"]["課名"],
337
  st.session_state["contents"]["発生場所"],
338
  st.session_state["contents"]["発見者"],
339
- st.session_state["contents"]["発生日"],
340
  st.session_state["contents"]["発見日"],
 
341
  st.session_state["contents"]["品質保証課への第一報日"],
342
  st.session_state["contents"]["発生事象の分類"],
343
  st.session_state["contents"]["逸脱概要"],
@@ -414,8 +414,8 @@ def save_deviation_notification_report_history(
414
  section_name: str,
415
  occurrence_place: str,
416
  discoverer: str,
417
- occurrence_date: str,
418
  discovery_date: str,
 
419
  first_report_date: str,
420
  occurrence_classification: str,
421
  output_deviation_summary: str,
@@ -461,8 +461,8 @@ def save_deviation_notification_report_history(
461
  section_name,
462
  occurrence_place,
463
  discoverer,
464
- occurrence_date,
465
  discovery_date,
 
466
  first_report_date,
467
  occurrence_classification,
468
  output_deviation_summary,
@@ -499,8 +499,8 @@ def create_new_row_data(
499
  section_name: str,
500
  occurrence_place: str,
501
  discoverer: str,
502
- occurrence_date: str,
503
  discovery_date: str,
 
504
  first_report_date: str,
505
  occurrence_classification: str,
506
  output_deviation_summary: str,
@@ -526,8 +526,8 @@ def create_new_row_data(
526
  "課名": section_name,
527
  "発生場所": occurrence_place,
528
  "発見者": discoverer,
529
- "発生日": occurrence_date,
530
  "発見日": discovery_date,
 
531
  "品質保証課への第一報日": first_report_date,
532
  "発生事象の分類": occurrence_classification,
533
  "逸脱概要": output_deviation_summary,
 
301
  "課名": st.session_state["section_name"],
302
  "発生場所": st.session_state["occurrence_place"],
303
  "発見者": st.session_state["discoverer"],
 
304
  "発見日": formatted_discovery_date,
305
+ "発生日": formatted_occurrence_date,
306
  "品質保証課への第一報日": formatted_first_report_date,
307
  "発生事象の分類": st.session_state["occurrence_classification"],
308
  "逸脱概要": str(response_data["逸脱概要"]),
 
336
  st.session_state["contents"]["課名"],
337
  st.session_state["contents"]["発生場所"],
338
  st.session_state["contents"]["発見者"],
 
339
  st.session_state["contents"]["発見日"],
340
+ st.session_state["contents"]["発生日"],
341
  st.session_state["contents"]["品質保証課への第一報日"],
342
  st.session_state["contents"]["発生事象の分類"],
343
  st.session_state["contents"]["逸脱概要"],
 
414
  section_name: str,
415
  occurrence_place: str,
416
  discoverer: str,
 
417
  discovery_date: str,
418
+ occurrence_date: str,
419
  first_report_date: str,
420
  occurrence_classification: str,
421
  output_deviation_summary: str,
 
461
  section_name,
462
  occurrence_place,
463
  discoverer,
 
464
  discovery_date,
465
+ occurrence_date,
466
  first_report_date,
467
  occurrence_classification,
468
  output_deviation_summary,
 
499
  section_name: str,
500
  occurrence_place: str,
501
  discoverer: str,
 
502
  discovery_date: str,
503
+ occurrence_date: str,
504
  first_report_date: str,
505
  occurrence_classification: str,
506
  output_deviation_summary: str,
 
526
  "課名": section_name,
527
  "発生場所": occurrence_place,
528
  "発見者": discoverer,
 
529
  "発見日": discovery_date,
530
+ "発生日": occurrence_date,
531
  "品質保証課への第一報日": first_report_date,
532
  "発生事象の分類": occurrence_classification,
533
  "逸脱概要": output_deviation_summary,