|
@@ -29,14 +29,14 @@
|
|
|
</a-col>
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
|
<a-form-item label="合同类型">
|
|
<a-form-item label="合同类型">
|
|
|
- <span class="white">{{ formatValue(selectedRow.contractno) }}</span>
|
|
|
|
|
|
|
+ <span class="white">{{ getContractTypeName(selectedRow.contracttype) }}</span>
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
</a-row>
|
|
</a-row>
|
|
|
<a-row :gutter="24">
|
|
<a-row :gutter="24">
|
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
|
<a-form-item label="业务类型">
|
|
<a-form-item label="业务类型">
|
|
|
- <span class="white">{{ formatValue(selectedRow.biztype) }}</span>
|
|
|
|
|
|
|
+ <span class="white">{{ getBizTypeName(selectedRow.biztype) }}</span>
|
|
|
</a-form-item>
|
|
</a-form-item>
|
|
|
</a-col>
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
@@ -180,7 +180,12 @@
|
|
|
import {defineComponent, PropType, ref} from 'vue';
|
|
import {defineComponent, PropType, ref} from 'vue';
|
|
|
import { closeModal } from '@/common/setup/modal/index';
|
|
import { closeModal } from '@/common/setup/modal/index';
|
|
|
import {formatTime, formatValue} from "@/common/methods";
|
|
import {formatTime, formatValue} from "@/common/methods";
|
|
|
-import {getContractStatusName, getPriceTypeName} from "@/views/information/spot-contract/setup";
|
|
|
|
|
|
|
+import {
|
|
|
|
|
+ getBizTypeName,
|
|
|
|
|
+ getContractStatusName,
|
|
|
|
|
+ getContractTypeName,
|
|
|
|
|
+ getPriceTypeName
|
|
|
|
|
+} from "@/views/information/spot-contract/setup";
|
|
|
import {Ermcp3ContractRsp} from "@/services/go/ermcp/spot-contract/interface";
|
|
import {Ermcp3ContractRsp} from "@/services/go/ermcp/spot-contract/interface";
|
|
|
import {deleteOrderContract} from "@/views/information/spot-contract/components/setup";
|
|
import {deleteOrderContract} from "@/views/information/spot-contract/components/setup";
|
|
|
import {message, Modal} from "ant-design-vue";
|
|
import {message, Modal} from "ant-design-vue";
|
|
@@ -231,6 +236,8 @@ export default defineComponent({
|
|
|
getPriceTypeName,
|
|
getPriceTypeName,
|
|
|
getContractStatusName,
|
|
getContractStatusName,
|
|
|
formatTime,
|
|
formatTime,
|
|
|
|
|
+ getContractTypeName,
|
|
|
|
|
+ getBizTypeName,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|