| | |
| | | <!-- @change="collapseChange" --> |
| | | |
| | | |
| | | <u-collapse style="max-height: 65vh;overflow: auto;"> |
| | | <u-collapse style="max-height: 62vh;overflow: auto;"> |
| | | <!-- :value='parseFloat(item.ordergoodqty)+"/"+parseFloat(item.orderqty)' --> |
| | | <scroll-view scroll-y :style="{height: 590 + 'px'}" @scrolltolower="loadMore"> |
| | | <!-- <scroll-view scroll-y :style="{height: 590 + 'px'}" @scrolltolower="loadMore"> --> |
| | | <u-collapse-item style="position: relative;" :title="item.ordercode" :name='item.ordercode' |
| | | v-if='item.children.length!==0' :value='parseFloat(item.ordergoodqty)+"/"+parseFloat(item.orderqty)' |
| | | :label="item.children.length===0?'未派发':''" :disabled='item.children.length===0' |
| | |
| | | |
| | | |
| | | </u-collapse-item> |
| | | </scroll-view> |
| | | <!-- </scroll-view> --> |
| | | </u-collapse> |
| | | |
| | | |
| | |
| | | <view @click="scan2"> |
| | | <drag-ball :x='300' :y="600"></drag-ball> |
| | | </view> |
| | | |
| | | |
| | | <scan-code></scan-code> |
| | | |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | import { |
| | | ProductOrderSearch |
| | | } from '../../config/api.js'; |
| | | import scanCode from '@/components/scan-code/scan-code.vue' |
| | | |
| | | export default { |
| | | components: { |
| | | scanCode |
| | | }, |
| | | onLoad(option) { |
| | | const _this = this |
| | | uni.$off('scancodedate') // 每次进来先 移除全局自定义事件监听器 |
| | | uni.$on('scancodedate', function(content) { |
| | | console.log("扫描到的内容为:", content) |
| | | _this.getCheckScanDeviceQrCodeData(content) |
| | | // _this.getCheckScanDeviceQrCodeData(content) |
| | | }) |
| | | |
| | | |
| | |
| | | let that = this |
| | | uni.startPullDownRefresh({ |
| | | success() { |
| | | that.getProductOrderSearch() |
| | | that.getProductOrderSearch(that.currentpage) |
| | | uni.showToast({ |
| | | title: "下拉刷新", |
| | | icon: 'none' |
| | |
| | | |
| | | // 页数改变时 分页触发 |
| | | pageChange(e) { |
| | | |
| | | this.currentpage = e.current |
| | | this.getProductOrderSearch(e.current) |
| | | }, |
| | | |