Selaa lähdekoodia

Merge remote-tracking branch 'origin/develop' into develop

ZZH-wl 3 vuotta sitten
vanhempi
commit
8584f9cd2c
1 muutettua tiedostoa jossa 14 lisäystä ja 2 poistoa
  1. 14 2
      opms_parent/app/service/cust/cust_customer.go

+ 14 - 2
opms_parent/app/service/cust/cust_customer.go

@@ -334,7 +334,7 @@ func (s *CustomerService) MoveToPubic(Ids []int64) (err error) {
 	return
 }
 
-var AssignCustomerRequestProcessCode = ""
+var AssignCustomerRequestProcessCode = "PROC-FE42B2D1-6097-4DE8-8AC5-23541B7D5C8A"
 
 func ptrString(s string) *string {
 	return &s
@@ -366,7 +366,19 @@ func (s *CustomerService) AssignCustomerRequest(ctx context.Context, req *model.
 			ProcessCode: &AssignCustomerRequestProcessCode,
 			FormComponentValues: []*workflow.StartProcessInstanceRequestFormComponentValues{
 				{
-					Name:  ptrString(""),
+					Name:  ptrString("客户编码"),
+					Value: ptrString(u.CustCode),
+				},
+				{
+					Name:  ptrString("客户名称"),
+					Value: ptrString(u.CustName),
+				},
+				{
+					Name:  ptrString("申请人"),
+					Value: ptrString(s.GetCxtUserName()),
+				},
+				{
+					Name:  ptrString("申请说明"),
 					Value: ptrString(""),
 				},
 			},