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