|
@@ -18,6 +18,8 @@
|
|
|
</template> -->
|
|
</template> -->
|
|
|
</a-table>
|
|
</a-table>
|
|
|
</contextMenu>
|
|
</contextMenu>
|
|
|
|
|
+ <!-- 新增现货合同 -->
|
|
|
|
|
+ <AddSpotContract />
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -29,23 +31,25 @@ import { getCustomList } from '../setup';
|
|
|
import { openModal } from '@/setup/controlModal/index';
|
|
import { openModal } from '@/setup/controlModal/index';
|
|
|
import contextMenu from '@/components/contextMenu/index.vue';
|
|
import contextMenu from '@/components/contextMenu/index.vue';
|
|
|
import { MenuItem } from '@/components/contextMenu/interface';
|
|
import { MenuItem } from '@/components/contextMenu/interface';
|
|
|
|
|
+import AddSpotContract from '@/views/information/spot-contract/components/add/index.vue';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
name: 'spot-contract-not-commit',
|
|
name: 'spot-contract-not-commit',
|
|
|
components: {
|
|
components: {
|
|
|
filterCustomTable,
|
|
filterCustomTable,
|
|
|
contextMenu,
|
|
contextMenu,
|
|
|
|
|
+ AddSpotContract,
|
|
|
},
|
|
},
|
|
|
setup() {
|
|
setup() {
|
|
|
const { spotContractList, actionQuery, columns, getColumns, search, loading, handlePermission } = getCustomList();
|
|
const { spotContractList, actionQuery, columns, getColumns, search, loading, handlePermission } = getCustomList();
|
|
|
const { hasPermission } = handlePermission('spot_contract_unsubmitted');
|
|
const { hasPermission } = handlePermission('spot_contract_unsubmitted');
|
|
|
- const { openAction } = openModal('addCustomInfo');
|
|
|
|
|
|
|
+ const { openAction } = openModal('addSpotContract');
|
|
|
const contextMenuList = ref<MenuItem[]>([]);
|
|
const contextMenuList = ref<MenuItem[]>([]);
|
|
|
initData(() => {
|
|
initData(() => {
|
|
|
actionQuery(2);
|
|
actionQuery(2);
|
|
|
getColumns();
|
|
getColumns();
|
|
|
});
|
|
});
|
|
|
- return { spotContractList, columns, search, contextMenuList, loading, hasPermission };
|
|
|
|
|
|
|
+ return { spotContractList, columns, search, contextMenuList, openAction, loading, hasPermission };
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|