Browse Source

修改发货记录查询

hella_vue3
niexiting 7 months ago
parent
commit
832778a318
  1. 4
      src/mycomponents/record/recordFilter.vue
  2. 2
      src/pages/supplierDeliver/coms/comRecordDetailCard.vue
  3. 5
      src/pages/supplierDeliver/record/supplierDeliverRecord.vue
  4. 6
      src/pages/supplierDeliver/record/supplierDeliverRecordDetail.vue

4
src/mycomponents/record/recordFilter.vue

@ -13,12 +13,12 @@
<view class=""> <view class="">
<view class="uni-flex u-row-center" style="margin-top: 30rpx;"> <view class="uni-flex u-row-center" style="margin-top: 30rpx;">
<button class="filter_button" hover-class="filter_button_after" <button class="filter_button" hover-class="filter_button_after"
@click="scanNumberClick">扫描单据编号</button> @click="scanNumberClick">扫描{{buttonTitle}}</button>
</view> </view>
</view> </view>
</view> </view>
</uni-popup> </uni-popup>
<win-scan-job-number ref="scanNumber" title="单据编号" @getScanCode='getScanNumber'></win-scan-job-number> <win-scan-job-number ref="scanNumber" :title="buttonTitle" @getScanCode='getScanNumber'></win-scan-job-number>
</template> </template>
<script> <script>

2
src/pages/supplierDeliver/coms/comRecordDetailCard.vue

@ -5,7 +5,6 @@
<template v-slot:title> <template v-slot:title>
<item-qty :dataContent="dataContent" :handleQty="dataContent.handleQty"></item-qty> <item-qty :dataContent="dataContent" :handleQty="dataContent.handleQty"></item-qty>
</template> </template>
<u-line />
<view class="" v-for="(item,index) in dataContent.subList"> <view class="" v-for="(item,index) in dataContent.subList">
<uni-swipe-action ref="swipeAction"> <uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="swipeClick($event,item)" <uni-swipe-action-item @click="swipeClick($event,item)"
@ -18,7 +17,6 @@
></recommend> ></recommend>
</uni-swipe-action-item> </uni-swipe-action-item>
</uni-swipe-action> </uni-swipe-action>
<u-line color="#D8D8D8"></u-line>
</view> </view>
</uni-collapse-item> </uni-collapse-item>
</uni-collapse> </uni-collapse>

5
src/pages/supplierDeliver/record/supplierDeliverRecord.vue

@ -2,10 +2,9 @@
<view class=""> <view class="">
<com-empty-view v-if="recordList.length==0"></com-empty-view> <com-empty-view v-if="recordList.length==0"></com-empty-view>
<record-filter ref="filter" @switchChangeToday="switchChangeToday" @onScanNumber="getScanNumber" <record-filter ref="filter" @switchChangeToday="switchChangeToday" @onScanNumber="getScanNumber"
:checkedToday="checkedToday"> :checkedToday="checkedToday" buttonTitle="ASN单据号">
</record-filter> </record-filter>
<view v-if="recordList.length>0"> <view v-if="recordList.length>0">
<uni-swipe-action ref="swipeAction"> <uni-swipe-action ref="swipeAction">
<view v-for="(item, index) in recordList" :key="index"> <view v-for="(item, index) in recordList" :key="index">
<uni-swipe-action-item :right-options="detailOptions" @click="swipeClick($event,item)"> <uni-swipe-action-item :right-options="detailOptions" @click="swipeClick($event,item)">
@ -205,7 +204,7 @@
}); });
var filters = [] var filters = []
filters.push({ filters.push({
column: "number", column: "asnNumber",
action: "==", action: "==",
value: code value: code
}) })

6
src/pages/supplierDeliver/record/supplierDeliverRecordDetail.vue

@ -22,15 +22,15 @@
</scroll-view> </scroll-view>
</view> </view>
<view class="page-footer"> <!-- <view class="page-footer">
<view class="uni-flex u-col-center space-between padding_10" <view class="uni-flex u-col-center space-between padding_10"
style="background-color:ghostwhite; width: 100%; "> style="background-color:ghostwhite; width: 100%; ">
<view class=""> <view class="">
</view> </view>
</view> </view>
</view> </view> -->
<win-scan-pack ref="scanPopup" @getResult='getScanResult'></win-scan-pack> <!-- <win-scan-pack ref="scanPopup" @getResult='getScanResult'></win-scan-pack> -->
<recordDetailInfoPopup ref="recordDetailPopup"></recordDetailInfoPopup> <recordDetailInfoPopup ref="recordDetailPopup"></recordDetailInfoPopup>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>
</view> </view>

Loading…
Cancel
Save