|
|
@@ -279,9 +279,25 @@ export default defineComponent({
|
|
|
okText: '审核通过',
|
|
|
cancelText: '取消',
|
|
|
onOk() {
|
|
|
- const reqParam: SpotContractOperateReq = {
|
|
|
+
|
|
|
+ // 为什么不删 因为以后可能又改回来
|
|
|
+ // const reqParam: SpotContractOperateReq = {
|
|
|
+ // SpotContractID: props.selectedRow.spotcontractid,
|
|
|
+ // OperateType: 3,
|
|
|
+ // Remark: param.Remark,
|
|
|
+ // Info: {
|
|
|
+ // BizType: props.selectedRow.biztype,
|
|
|
+ // MerUserID: param.MerUserID as number, // 跟单员ID
|
|
|
+ // SaleUserID: param.SaleUserID as number, // 业务员ID
|
|
|
+ // TradeUserID: param.TradeUserID as number, // 交易员ID
|
|
|
+ // Remark: param.Remark,
|
|
|
+ // UserID: getUserId(),
|
|
|
+ // },
|
|
|
+ // };
|
|
|
+
|
|
|
+ const reqParam: GldErmcpSpotContractOperateReq = {
|
|
|
SpotContractID: props.selectedRow.spotcontractid,
|
|
|
- OperateType: 3,
|
|
|
+ OperateType: 4,
|
|
|
Remark: param.Remark,
|
|
|
Info: {
|
|
|
BizType: props.selectedRow.biztype,
|
|
|
@@ -290,11 +306,14 @@ export default defineComponent({
|
|
|
TradeUserID: param.TradeUserID as number, // 交易员ID
|
|
|
Remark: param.Remark,
|
|
|
UserID: getUserId(),
|
|
|
+ CurrencyID: props.selectedRow.currencyid, // 币种id
|
|
|
},
|
|
|
};
|
|
|
// Fixme 6/4 代码修改
|
|
|
// 审核通过 SpotContractOperateReq operateType 操作类型-1:保存草稿(作废)2:提交申请(作废)3:审核通过4:审核拒绝(作废)5:撤回(作废)6:正常完结7:异常终止
|
|
|
- requestResultLoadingAndInfo(spotContractStatus, reqParam, loading, ['审核通过成功', '审核失败:']).then(() => {
|
|
|
+ // Fixme 6/9 代码修改
|
|
|
+ // 审核通过 GldErmcpSpotContractOperateReq 操作类型-1:保存草稿2:提交申请3:审核通过4:审核拒绝5:撤回6:正常完结7:异常终止
|
|
|
+ requestResultLoadingAndInfo(orderContract, reqParam, loading, ['审核通过成功', '审核失败:']).then(() => {
|
|
|
context.emit('refresh');
|
|
|
cancel();
|
|
|
});
|