|
|
@@ -1,78 +1,80 @@
|
|
|
<template>
|
|
|
- <!-- 付款-->
|
|
|
- <Drawer :title="'付款'"
|
|
|
- :placement="'bottom'"
|
|
|
- :visible="visible"
|
|
|
- @cancel="cancel">
|
|
|
- <div class="listed">
|
|
|
- <div class="formBar">
|
|
|
- <a-form class="inlineForm dialogForm"
|
|
|
- ref="formRef">
|
|
|
- <a-row :gutter="24">
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="品种">
|
|
|
- <span class="white">{{selectedRow.deliverygoodsname}}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="12">
|
|
|
- <a-form-item label="仓库">
|
|
|
- <span class="white">{{selectedRow.warehousename}}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="24">
|
|
|
- <a-form-item label="履约商品">
|
|
|
- <span class="white">{{selectedRow.wrtypename}}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="24">
|
|
|
- <a-form-item label="履约总金额">
|
|
|
- <span class="white">{{selectedRow.amount.toFixed(2)}}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="24">
|
|
|
- <a-form-item label="当前步骤">
|
|
|
- <span class="white">{{selectedRow.curstepname}}(</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="24">
|
|
|
- <a-form-item label="本次需支付">
|
|
|
- <span class="white">1000.00</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- <a-col :span="24">
|
|
|
- <a-form-item label="剩余款">
|
|
|
- <span class="white">{{selectedRow.unpaidamount.toFixed(2)}}</span>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <a-row :gutter="24"
|
|
|
- type="flex"
|
|
|
- justify="center">
|
|
|
- <a-col :span="24">
|
|
|
- <a-form-item class="tc">
|
|
|
- <a-button class="listedBtn"
|
|
|
- :loading="loading"
|
|
|
- :disabled="loading"
|
|
|
- @click="submit">提交</a-button>
|
|
|
- </a-form-item>
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- </a-form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </Drawer>
|
|
|
+ <!-- 付款-->
|
|
|
+ <Drawer
|
|
|
+ :title="'付款'"
|
|
|
+ :placement="'right'"
|
|
|
+ :visible="visible"
|
|
|
+ class="delistingBottom"
|
|
|
+ @cancel="cancel"
|
|
|
+ >
|
|
|
+ <div class="listed">
|
|
|
+ <div class="formBar">
|
|
|
+ <a-form class="inlineForm dialogForm" ref="formRef">
|
|
|
+ <a-row :gutter="24">
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="品种">
|
|
|
+ <span class="white ml10">{{selectedRow.deliverygoodsname}}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="12">
|
|
|
+ <a-form-item label="仓库">
|
|
|
+ <span class="white ml10">{{selectedRow.warehousename}}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-item label="履约商品">
|
|
|
+ <span class="white ml10">{{selectedRow.wrtypename}}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-item label="履约总金额">
|
|
|
+ <span class="white ml10">{{selectedRow.amount.toFixed(2)}}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-item label="当前步骤">
|
|
|
+ <span class="white ml10">{{selectedRow.curstepname}}(</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-item label="本次需支付">
|
|
|
+ <span class="white ml10">1000.00</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-item label="剩余款">
|
|
|
+ <span class="white ml10">{{selectedRow.unpaidamount.toFixed(2)}}</span>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <a-row :gutter="24" type="flex" justify="center">
|
|
|
+ <a-col :span="24">
|
|
|
+ <a-form-item class="tc">
|
|
|
+ <a-button
|
|
|
+ class="listedBtn"
|
|
|
+ :loading="loading"
|
|
|
+ :disabled="loading"
|
|
|
+ @click="submit"
|
|
|
+ >提交</a-button>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ </a-form>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </Drawer>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
import { defineComponent, PropType, ref } from 'vue';
|
|
|
import Drawer from '@/common/components/drawer/index.vue';
|
|
|
-import {WrPerformancePlan, WrPosition} from '@/services/go/wrtrade/interface';
|
|
|
+import { WrPerformancePlan, WrPosition } from '@/services/go/wrtrade/interface';
|
|
|
import { ModalEnum } from '@/common/constants/modalNameEnum';
|
|
|
import { _closeModal } from '@/common/setup/modal/modal';
|
|
|
-import {performanceManualConfirm} from "@/services/proto/performance";
|
|
|
-import {PerformanceManualConfirmReq} from "@/services/proto/performance/interface";
|
|
|
-import {requestResultLoadingAndInfo} from "@/common/methods/request/resultInfo";
|
|
|
-import {HdWRDealOrder} from "@/services/proto/warehousetrade";
|
|
|
+import { performanceManualConfirm } from '@/services/proto/performance';
|
|
|
+import { PerformanceManualConfirmReq } from '@/services/proto/performance/interface';
|
|
|
+import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo';
|
|
|
+import { HdWRDealOrder } from '@/services/proto/warehousetrade';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: ModalEnum.performance_information_buy_performance_pay,
|
|
|
@@ -91,9 +93,9 @@ export default defineComponent({
|
|
|
function submit() {
|
|
|
const param: PerformanceManualConfirmReq = {
|
|
|
PerformancePlanStepID: props.selectedRow.curstepid,
|
|
|
- PerformanceExecuteSide: 1
|
|
|
- }
|
|
|
- debugger
|
|
|
+ PerformanceExecuteSide: 1,
|
|
|
+ };
|
|
|
+ debugger;
|
|
|
requestResultLoadingAndInfo(performanceManualConfirm, param, loading, ['付款成功', '付款失败:']).then(() => {
|
|
|
cancel(true);
|
|
|
});
|