animeic 1 年間 前
コミット
ccd3465d19
1 ファイル変更2 行追加28 行削除
  1. 2 28
      boxcost/api/summary-sample-excel.go

+ 2 - 28
boxcost/api/summary-sample-excel.go

@@ -143,7 +143,7 @@ func (b *SummarySampleExcel) drawAllContent() error {
 								stageStatus = "已完成"
 								statusMark = "【v】"
 							} else {
-								stageStatus = "订单已销毁"
+								stageStatus = "未生成订单"
 							}
 						}
 
@@ -252,32 +252,6 @@ func (b *SummarySampleExcel) drawSupplierContent() error {
 								stageStatus := ""
 								statusMark := "【x】"
 
-								// if len(stage.BillId) < 1 {
-								// 	stageStatus = "未生成订单"
-								// }
-								// if splan.State[stage.BillId] == "created" {
-								// 	stageStatus = "进行中"
-								// }
-								// // 审核状态
-								// if splan.Reviewed[stage.BillId] == 1 {
-								// 	stageStatus = "已审核"
-								// } else {
-								// 	stageStatus = "未审核"
-								// }
-
-								// // 接单状态
-								// if splan.IsAck[stage.BillId] {
-								// 	stageStatus = "已接单"
-								// } else {
-								// 	stageStatus = "未接单"
-								// }
-
-								// // 完成状态
-								// if splan.State[stage.BillId] == "complete" {
-								// 	stageStatus = "已完成"
-								// 	statusMark = "【v】"
-								// }
-
 								if len(stage.BillId) < 1 {
 									stageStatus = "未生成订单"
 								} else {
@@ -305,7 +279,7 @@ func (b *SummarySampleExcel) drawSupplierContent() error {
 										stageStatus = "已完成"
 										statusMark = "【v】"
 									} else {
-										stageStatus = "订单已销毁"
+										stageStatus = "未生成订单"
 									}
 								}
 								fmt.Println(stageStatus)