|
@@ -36,19 +36,19 @@
|
|
|
<text class="nav-txt">产品查询</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <!-- 销售单 -->
|
|
|
- <view class="sales-list">
|
|
|
- <view class="title">
|
|
|
- <text class="title-name" @click="$refs.salesList.refash()">
|
|
|
- 销售单
|
|
|
- <u-icon name="reload" color="#2979ff" size="28"></u-icon>
|
|
|
- </text>
|
|
|
- <view class="title-all" @click="toPage('/pages/sales/list')">查看全部<u-icon name="arrow-right" color="rgb(144, 147, 153)" size="28"></u-icon></view>
|
|
|
+ <!-- 销售单 -->
|
|
|
+ <view class="sales-list">
|
|
|
+ <view class="title">
|
|
|
+ <text class="title-name" @click="$refs.salesList.refash()">
|
|
|
+ 销售单
|
|
|
+ <u-icon name="reload" color="#2979ff" size="28"></u-icon>
|
|
|
+ </text>
|
|
|
+ <view class="title-all" @click="toPage('/pages/sales/list')">查看全部<u-icon name="arrow-right" color="rgb(144, 147, 153)" size="28"></u-icon></view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <!-- 销售单列表 -->
|
|
|
- <listComponent ref="salesList" :height="listHeight" />
|
|
|
</view>
|
|
|
+ <!-- 销售单列表 -->
|
|
|
+ <listComponent ref="salesList" :height="listHeight" />
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -81,7 +81,7 @@
|
|
|
const _this = this
|
|
|
this.$nextTick(function(){
|
|
|
// 监听整改完成后刷新事件
|
|
|
- uni.$on('refreshSalesBL', function(data){
|
|
|
+ uni.$on('refreshSalesHomeBL', function(data){
|
|
|
_this.$refs.salesList.refash()
|
|
|
})
|
|
|
})
|
|
@@ -118,7 +118,7 @@
|
|
|
})
|
|
|
},
|
|
|
onUnload() {
|
|
|
- uni.$off('refreshSalesBL')
|
|
|
+ uni.$off('refreshSalesHomeBL')
|
|
|
},
|
|
|
onShow() {
|
|
|
this.navInd = 0
|