Commit 759e9822 by Jaxon

refactor: 移除未使用的ref属性以简化组件

1 parent 18f8a936
......@@ -5,16 +5,14 @@
<div v-if="shelveId && shelvingData.shelfType && businessCode" class="wrapper">
<div>
<BaseInfo :shelve-id="shelveId" />
<TrafficSource ref="trafficSourceRef"
:shelve-id="shelveId"
<TrafficSource :shelve-id="shelveId"
:use-edit="false"
:shelf-type="shelvingData.shelfType"
:business-code="businessCode" />
</div>
<div>
<!-- 上架商品及测算 -->
<ProductShelving ref="productShelvingRef"
:shelve-id="shelveId"
<ProductShelving :shelve-id="shelveId"
:use-edit="false"
:scene-type="shelvingData.sceneType"
:shelf-type="shelvingData.shelfType"
......@@ -22,8 +20,7 @@
</div>
<div style="margin-top:20px">
<!-- 分账配置 -->
<ProfitSharingConfig ref="profitSharingConfigRef"
:shelve-id="shelveId"
<ProfitSharingConfig :shelve-id="shelveId"
:use-edit="false"
:scene-type="shelvingData.sceneType"
:shelf-type="shelvingData.shelfType"
......@@ -32,8 +29,7 @@
<div>
<!-- 对账配置 -->
<ReconciliationConfig ref="reconciliationConfigRef"
:shelve-id="shelveId"
<ReconciliationConfig :shelve-id="shelveId"
:use-edit="false"
:scene-type="shelvingData.sceneType"
:shelf-type="shelvingData.shelfType"
......@@ -41,8 +37,7 @@
</div>
<div style="height:100%;overflow:hidden;height:600px">
<!-- 预估利润率 -->
<ProfitMarginTable ref="profitMarginTableRef"
:shelve-id="shelveId"
<ProfitMarginTable :shelve-id="shelveId"
:scene-type="shelvingData.sceneType"
:shelf-type="shelvingData.shelfType"
:business-code="businessCode" />
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!