Commit 759e9822 by Jaxon

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

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