|
|
@@ -154,8 +154,16 @@ export default defineComponent({
|
|
|
LeftOutlined,
|
|
|
DownOutlined,
|
|
|
LineChartOutlined,
|
|
|
+ warehouse_receipt_trade_floating_price_spot_trade_warehouse_detail: defineAsyncComponent(() => import('../detail/index.vue')),
|
|
|
warehouse_receipt_trade_price_spot_trade_warehouse_detail: defineAsyncComponent(() => import('../detail/index.vue')),
|
|
|
+ warehouse_pre_sale_price_spot_trade_warehouse_detail: defineAsyncComponent(() => import('../detail/index.vue')),
|
|
|
+ warehouse_pre_sale_floating_price_spot_trade_warehouse_detail: defineAsyncComponent(() => import('../detail/index.vue')),
|
|
|
+
|
|
|
+ warehouse_receipt_trade_floating_price_spot_trade_warehouse_post_buying: defineAsyncComponent(() => import('../post_buying/index.vue')),
|
|
|
warehouse_receipt_trade_price_spot_trade_warehouse_post_buying: defineAsyncComponent(() => import('../post_buying/index.vue')),
|
|
|
+ warehouse_pre_sale_price_spot_trade_warehouse_post_buying: defineAsyncComponent(() => import('../post_buying/index.vue')),
|
|
|
+ warehouse_pre_sale_floating_price_spot_trade_warehouse_post_buying: defineAsyncComponent(() => import('../post_buying/index.vue')),
|
|
|
+
|
|
|
HisChart: defineAsyncComponent(() => import('../history-chart/index.vue')),
|
|
|
GoodsChart: defineAsyncComponent(() => import('../goods-chart/index.vue')), // 待优化
|
|
|
},
|
|
|
@@ -195,8 +203,9 @@ export default defineComponent({
|
|
|
const { componentId, closeComponent, openComponent } = handleModalComponent(queryFn, ref({}));
|
|
|
const { hasFinacing } = handleFinacing(loading, props.selectedRow.wrfactortypeid);
|
|
|
function handleBtnList(list: BtnListType[]) {
|
|
|
+ console.log('list', list);
|
|
|
if (!hasFinacing()) {
|
|
|
- return list.filter((e) => e.code !== 'spot_trade_warehouse_financing_delisting');
|
|
|
+ return list.filter((e) => e.code !== 'warehouse_receipt_trade_floating_price_spot_trade_warehouse_financing_delisting');
|
|
|
} else {
|
|
|
return list;
|
|
|
}
|