Explorar o código

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

ZZH-wl %!s(int64=3) %!d(string=hai) anos
pai
achega
8584f9cd2c
Modificáronse 1 ficheiros con 14 adicións e 2 borrados
  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(""),
 				},
 			},