|
|
@@ -78,7 +78,7 @@ import { QueryBusinessFp, QueryBusinessKx } from '@/services/go/ermcp/finance-re
|
|
|
import { QueryBusinessDj, QueryBusinessJs } from '@/services/go/ermcp/business-review';
|
|
|
import { QueryAreaStockApply } from '@/services/go/ermcp/inventory-review';
|
|
|
import { QueryChangeLog } from '@/services/go/ermcp/spot-contract';
|
|
|
-import { ErmcpLoginUserEx } from '@/services/go/ermcp/account/interface';
|
|
|
+import { QueryPaTradeLinkDetail } from '@/services/go/ermcp/patrade-link';
|
|
|
import InfoDetail from '../infoDetail/index.vue';
|
|
|
import { getApplyStatusName, getReceiptName } from '@/common/constants/enumsName';
|
|
|
import { getTableColumns } from '@/common/setup/table';
|
|
|
@@ -113,24 +113,15 @@ export default defineComponent({
|
|
|
// 审核拒绝和未提交不显示后面的选项
|
|
|
tabList.value = [0, 4, 6].includes(props.selectedRow.contracctstatus)
|
|
|
? [{ key: 1, name: '合同详情' }]
|
|
|
- : props.selectedRow.contracttype === 1
|
|
|
- ? [
|
|
|
- { key: 1, name: '合同详情' },
|
|
|
- { key: 2, name: '点价记录' },
|
|
|
- { key: 3, name: '交收记录' },
|
|
|
- { key: 4, name: '款项记录' },
|
|
|
- { key: 5, name: '发票记录' },
|
|
|
- { key: 6, name: '入库记录' },
|
|
|
- { key: 8, name: '变更记录' },
|
|
|
- ]
|
|
|
: [
|
|
|
{ key: 1, name: '合同详情' },
|
|
|
{ key: 2, name: '点价记录' },
|
|
|
{ key: 3, name: '交收记录' },
|
|
|
{ key: 4, name: '款项记录' },
|
|
|
{ key: 5, name: '发票记录' },
|
|
|
- { key: 7, name: '出库记录' },
|
|
|
+ { key: 6, name: props.selectedRow.contracttype === 1 ? '入库记录' : '出库记录' },
|
|
|
{ key: 8, name: '变更记录' },
|
|
|
+ { key: 9, name: '关联记录' },
|
|
|
];
|
|
|
activeKey.value = 1;
|
|
|
function tabClick() {
|
|
|
@@ -186,6 +177,79 @@ export default defineComponent({
|
|
|
tableList.value = res;
|
|
|
});
|
|
|
break;
|
|
|
+ case 9: //// 关联记录
|
|
|
+ columns.value = [
|
|
|
+ {
|
|
|
+ title: '关联时间',
|
|
|
+ dataIndex: 'spotgoodsprice',
|
|
|
+ key: 'spotgoodsprice',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ // customRender: ({ text, record }: { text: Number; record: Ermcp3SpotGoodsPrice }) => {
|
|
|
+ // return `${text + record.currencyname}/${record.gbenumdicname}`;
|
|
|
+ // },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '成交时间',
|
|
|
+ dataIndex: 'spotgoodsprice',
|
|
|
+ key: 'spotgoodsprice',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '业务类型',
|
|
|
+ dataIndex: 'spotgoodsprice',
|
|
|
+ key: 'spotgoodsprice',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '订单类型',
|
|
|
+ dataIndex: 'spotgoodsprice',
|
|
|
+ key: 'spotgoodsprice',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '套保品种',
|
|
|
+ dataIndex: 'spotgoodsprice',
|
|
|
+ key: 'spotgoodsprice',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '现货关联数量',
|
|
|
+ dataIndex: 'spotgoodsprice',
|
|
|
+ key: 'spotgoodsprice',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '关联方式',
|
|
|
+ dataIndex: 'spotgoodsprice',
|
|
|
+ key: 'spotgoodsprice',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '关联状态',
|
|
|
+ dataIndex: 'spotgoodsprice',
|
|
|
+ key: 'spotgoodsprice',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '期货单号',
|
|
|
+ dataIndex: 'spotgoodsprice',
|
|
|
+ key: 'spotgoodsprice',
|
|
|
+ align: 'center',
|
|
|
+ width: 120,
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ queryResultLoadingAndInfo(QueryPaTradeLinkDetail, loading).then((res) => {
|
|
|
+ tableList.value = res;
|
|
|
+ });
|
|
|
+ break;
|
|
|
}
|
|
|
}
|
|
|
|