yu.jie před 4 roky
rodič
revize
1fa95767a6

+ 7 - 2
src/services/proto/contract/index.ts

@@ -5,6 +5,8 @@ import {buildProtoReq50, parseProtoRsp50, protoMiddleware} from "@/services/sock
 import { getUUID } from "@/utils/qt/common";
 import { Callback } from "@/utils/websocket";
 import {DeliveryGoodsCancelReq} from "@/services/proto/delivery/interface";
+import {getLongTypeLoginID} from "@/services/bus/login";
+import {getTimeValue} from "@/utils/time";
 
 /**
  * 合同
@@ -12,8 +14,10 @@ import {DeliveryGoodsCancelReq} from "@/services/proto/delivery/interface";
  */
 export const operationContractReq = (param: ErmcpContractOperateApplyReq): Promise<any> => {
     param.OperateSrc = 2
-    param.UserID = getUserId()
+    param.UserID = Number(getLongTypeLoginID())
     param.ClientTicket = getUUID()
+    param.OperateApplyID = getTimeValue()
+    debugger
     return protoMiddleware<ErmcpContractOperateApplyReq>(param , 'ErmcpContractOperateApplyReq', 'ErmcpContractOperateApplyRsp', 2)
 }
 
@@ -23,7 +27,8 @@ export const operationContractReq = (param: ErmcpContractOperateApplyReq): Promi
  */
 export const contractOperateApply = (param: ContractOperateApplyReq): Promise<any> => {
     param.OperateSrc = 2
-    param.UserID = getUserId()
+    param.UserID = Number(getLongTypeLoginID())
     param.ClientTicket = getUUID()
+    param.OperateApplyID = getTimeValue()
     return protoMiddleware<ContractOperateApplyReq>(param , 'ContractOperateApplyReq', 'ContractOperateApplyRsp', 2)
 }

+ 2 - 1
src/views/information/account_info/list/account_info_business/index.vue

@@ -63,7 +63,8 @@
             @refresh="queryTable" />
     <Reset :selectedData="selectedData"
            @refresh="queryTable" />
-    <Locked />
+    <Locked :selectedData="selectedData"
+            @refresh="queryTable"/>
     <Cancel />
     <Detail :selectedData="selectedData" />
   </div>