|
|
@@ -26,14 +26,14 @@
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="合同类型">
|
|
|
- <span class="white">{{ formatValue(selectedRow.contractno) }}</span>
|
|
|
+ <span class="white">{{ getContractTypeName(selectedRow.contracttype) }}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="业务类型">
|
|
|
- <span class="white">{{ formatValue(selectedRow.biztype) }}</span>
|
|
|
+ <span class="white">{{ getBizTypeName(selectedRow.biztype) }}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
@@ -179,7 +179,12 @@ import { closeModal } from '@/common/setup/modal/index';
|
|
|
import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
|
|
|
import { Ermcp3ContractRsp } from '@/services/go/ermcp/spot-contract/interface';
|
|
|
import { getStatusName } from '@/views/information/custom/setup';
|
|
|
-import { getContractStatusName, getPriceTypeName } from '@/views/information/spot-contract/setup';
|
|
|
+import {
|
|
|
+ getBizTypeName,
|
|
|
+ getContractStatusName,
|
|
|
+ getContractTypeName,
|
|
|
+ getPriceTypeName
|
|
|
+} from '@/views/information/spot-contract/setup';
|
|
|
import { formatValue, formatTime } from '@/common/methods/format';
|
|
|
|
|
|
export default defineComponent({
|
|
|
@@ -200,7 +205,7 @@ export default defineComponent({
|
|
|
setTimeout(() => {
|
|
|
loading.value = false;
|
|
|
cancel();
|
|
|
- }, 2000);
|
|
|
+ }, 200);
|
|
|
}
|
|
|
return {
|
|
|
visible,
|
|
|
@@ -212,6 +217,8 @@ export default defineComponent({
|
|
|
getPriceTypeName,
|
|
|
formatTime,
|
|
|
maskClosableFlag,
|
|
|
+ getContractTypeName,
|
|
|
+ getBizTypeName,
|
|
|
};
|
|
|
},
|
|
|
});
|