Ver Fonte

commit 交收

yu jie há 4 anos atrás
pai
commit
897fb0cc8b

+ 2 - 1
src/views/order/performance_information/components/components/settlement/index.vue

@@ -17,6 +17,7 @@ import { performanceActivate, performanceContractedApply } from '@/services/prot
 import { BuyOrSell } from '@/common/constants/enumCommon';
 import { handlePerformancePlanStep } from '../setup';
 import { Modal } from 'ant-design-vue';
+import Long from "long";
 
 export default defineComponent({
     name: ModalEnum.performance_information_buy_performance_settlement,
@@ -45,7 +46,7 @@ export default defineComponent({
         function submit() {
             // 激活接口 (就是交收)
             const paramReq: PerformanceActivateReq = {
-                PerformancePlanID: Number(props.selectedRow.performanceplanid), // uint64 履约计划ID
+                PerformancePlanID: Long.fromString(props.selectedRow.performanceplanid), // uint64 履约计划ID
                 ApplyAccountID: getSelectedAccountId(), // uint64 发起方账号ID
             };
             requestResultLoadingAndInfo(performanceActivate, paramReq, loading, ['交收成功', '交收失败:']).then(() => {