|
@@ -36,14 +36,14 @@
|
|
|
<span class="white">{{selectedRow.relatedorderid}}</span>
|
|
<span class="white">{{selectedRow.relatedorderid}}</span>
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
-<!-- <a-col :span="24">-->
|
|
|
|
|
-<!-- <a-form-item label="附件"-->
|
|
|
|
|
-<!-- name="url">-->
|
|
|
|
|
-<!-- <UploadImg :visible="visible"-->
|
|
|
|
|
-<!-- :imgList="uploadImgList"-->
|
|
|
|
|
-<!-- @upload="uploadImgAction" />-->
|
|
|
|
|
-<!-- </a-form-item>-->
|
|
|
|
|
-<!-- </a-col>-->
|
|
|
|
|
|
|
+ <!-- <a-col :span="24">-->
|
|
|
|
|
+ <!-- <a-form-item label="附件"-->
|
|
|
|
|
+ <!-- name="url">-->
|
|
|
|
|
+ <!-- <UploadImg :visible="visible"-->
|
|
|
|
|
+ <!-- :imgList="uploadImgList"-->
|
|
|
|
|
+ <!-- @upload="uploadImgAction" />-->
|
|
|
|
|
+ <!-- </a-form-item>-->
|
|
|
|
|
+ <!-- </a-col>-->
|
|
|
<a-col :span="24">
|
|
<a-col :span="24">
|
|
|
<a-form-item label="备注"
|
|
<a-form-item label="备注"
|
|
|
name="remark">
|
|
name="remark">
|
|
@@ -82,13 +82,13 @@ import { validateAction } from '@/common/setup/form';
|
|
|
import { FormState } from './interface';
|
|
import { FormState } from './interface';
|
|
|
import UploadImg from '@/common/components/uploadImg/index.vue';
|
|
import UploadImg from '@/common/components/uploadImg/index.vue';
|
|
|
import { getUploadImg } from '@/common/setup/upload';
|
|
import { getUploadImg } from '@/common/setup/upload';
|
|
|
-import {PerformanceContractedApplyReq, PerformanceDelayApplyReq} from '@/services/proto/performance/interface';
|
|
|
|
|
-import {getSelectedAccount, getSelectedAccountId, getUserId} from '@/services/bus/account';
|
|
|
|
|
|
|
+import { PerformanceContractedApplyReq, PerformanceDelayApplyReq } from '@/services/proto/performance/interface';
|
|
|
|
|
+import { getSelectedAccount, getSelectedAccountId, getUserId } from '@/services/bus/account';
|
|
|
import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
import { performanceContractedApply, performanceDelayApply } from '@/services/proto/performance';
|
|
import { performanceContractedApply, performanceDelayApply } from '@/services/proto/performance';
|
|
|
import { BuyOrSell } from '@/common/constants/enumCommon';
|
|
import { BuyOrSell } from '@/common/constants/enumCommon';
|
|
|
import { handlePerformancePlanStep } from '../setup';
|
|
import { handlePerformancePlanStep } from '../setup';
|
|
|
-import Long from "long";
|
|
|
|
|
|
|
+import Long from 'long';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
name: ModalEnum.performance_information_buy_performance_breach_contract,
|
|
name: ModalEnum.performance_information_buy_performance_breach_contract,
|
|
@@ -115,12 +115,12 @@ export default defineComponent({
|
|
|
// 违约申请
|
|
// 违约申请
|
|
|
const paramReq: PerformanceContractedApplyReq = {
|
|
const paramReq: PerformanceContractedApplyReq = {
|
|
|
PerformancePlanID: Long.fromString(props.selectedRow.performanceplanid), // uint64 履约计划ID
|
|
PerformancePlanID: Long.fromString(props.selectedRow.performanceplanid), // uint64 履约计划ID
|
|
|
- BreachType: props.selectedRow.buyaccountid === getSelectedAccountId() ? 2: 1, // uint32 违约方类型 买履约是2 卖履约是1 (刘工说是黄工说的 )
|
|
|
|
|
|
|
+ BreachType: props.selectedRow.buyaccountid === getSelectedAccountId() ? 2 : 1, // uint32 违约方类型 买履约是2 卖履约是1 (刘工说是黄工说的 )
|
|
|
Applicant: getUserId(), // uint64 违约申请人
|
|
Applicant: getUserId(), // uint64 违约申请人
|
|
|
ApplyRemark: param.remark, // string 申请备注
|
|
ApplyRemark: param.remark, // string 申请备注
|
|
|
- Attachment: "" // string 附件
|
|
|
|
|
|
|
+ Attachment: '', // string 附件
|
|
|
};
|
|
};
|
|
|
- requestResultLoadingAndInfo(performanceContractedApply, paramReq, loading, ['违约成功', '违约失败:']).then(() => {
|
|
|
|
|
|
|
+ requestResultLoadingAndInfo(performanceContractedApply, paramReq, loading, ['申请违约成功', '申请违约失败:']).then(() => {
|
|
|
cancel(true);
|
|
cancel(true);
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|