uu
This commit is contained in:
parent
3bd488d3c9
commit
15e9d76b08
@ -1,36 +1,33 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<tpx-page>
|
||||||
<tpx-layout>
|
<tpx-layout>
|
||||||
<template v-slot:body>
|
<template v-slot:body>
|
||||||
|
<view class="pos-abt-all">
|
||||||
|
<tpx-scroll-view v-model:resObject="resData" :searchParam="searchParam" :getListFun="getListFun"
|
||||||
|
ref="listRef"
|
||||||
|
>
|
||||||
<view class="blcok-white-noradius" style="margin-top: 0;">
|
<view class="blcok-white-noradius" style="margin-top: 0;">
|
||||||
<u-row justify="between">
|
<u-row justify="between">
|
||||||
<view style="width: 140rpx;" class="font-weight">运单号</view>
|
<view style="width: 140rpx;" class="font-weight">运单号</view>
|
||||||
<view style="flex:1;">
|
<view style="flex:1;">
|
||||||
<tpx-scan-input v-model:value="submitParam.yundanhao" placeholder="请输入或扫码"
|
<tpx-scan-input v-model:value="searchParam.billCode" placeholder="请输入或扫码"
|
||||||
iconPos="right"></tpx-scan-input>
|
@change="handleScanValChange" iconPos="right"></tpx-scan-input>
|
||||||
</view>
|
</view>
|
||||||
</u-row>
|
</u-row>
|
||||||
<u-row justify="between" custom-style="margin-top:20rpx;">
|
<u-row justify="between" custom-style="margin-top:20rpx;">
|
||||||
<view style="width: 140rpx;" class="font-weight">日期</view>
|
<view style="width: 140rpx;" class="font-weight">日期</view>
|
||||||
<view style="flex:1;">
|
<view style="flex:1;">
|
||||||
<tpx-date-input v-model:value="submitParam.date" placeholder="请选择时间"></tpx-date-input>
|
<tpx-date-input v-model:value="searchParam._date" placeholder="请选择时间"></tpx-date-input>
|
||||||
</view>
|
</view>
|
||||||
</u-row>
|
</u-row>
|
||||||
|
<!-- <view class="mt-30">
|
||||||
<view class="mt-30">
|
|
||||||
<u-button @click="handleSubmit()" type="primary" size="large" shape="square"
|
<u-button @click="handleSubmit()" type="primary" size="large" shape="square"
|
||||||
custom-style="height:80rpx;font-size: 30rpx;border-radius: 14rpx;">查询</u-button>
|
custom-style="height:80rpx;font-size: 30rpx;border-radius: 14rpx;">查询</u-button>
|
||||||
</view>
|
</view> -->
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="blcok-white-noradius">
|
<view class="blcok-white-noradius">
|
||||||
<!-- <u-row justify="between">
|
|
||||||
<text class="font-weight">运单列表</text>
|
|
||||||
<view >
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</u-row> -->
|
|
||||||
|
|
||||||
<view class="">
|
<view class="">
|
||||||
<view class="pb-20">
|
<view class="pb-20">
|
||||||
<u-row>
|
<u-row>
|
||||||
@ -42,40 +39,33 @@
|
|||||||
</u-col>
|
</u-col>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
<view v-for="(item, index) in yundanList" class="yditem">
|
|
||||||
|
<view v-for="(item, index) in resData.list" class="yditem">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-col span="8">
|
<u-col span="8">
|
||||||
<text class="">T2919292</text>
|
<text class="">{{item.billCode}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
<u-col span="4">
|
<u-col span="4">
|
||||||
<text class="clr-sub">12-18 13:18</text>
|
<text class="clr-sub">{{item.sendDate}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</tpx-scroll-view>
|
||||||
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</tpx-layout>
|
</tpx-layout>
|
||||||
|
</tpx-page>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import getCdnUrl from "@/common/getCdnUrl"
|
import { debounce } from "@/common/util"
|
||||||
import {
|
import * as apiService from "@/common/api"
|
||||||
ordStaEnum,
|
|
||||||
ordStatusList,
|
|
||||||
payTypeEnum,
|
|
||||||
payTypeList,
|
|
||||||
dlvTypeEnum,
|
|
||||||
dlvTypeList,
|
|
||||||
dateTypeEnum,
|
|
||||||
dateTypeList
|
|
||||||
} from "@/common/enum"
|
|
||||||
import {
|
|
||||||
goto
|
|
||||||
} from "@/common/untool"
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
// hasLeftWin: {
|
// hasLeftWin: {
|
||||||
@ -87,20 +77,15 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
submitParam: {
|
searchParam: {
|
||||||
date: [],
|
billCode: '',
|
||||||
type: 1,
|
_date: [],
|
||||||
},
|
},
|
||||||
|
resData: { list: [] }
|
||||||
yundanList: [
|
|
||||||
{ val: 'T7080304037' },{ val: 'T708012124037' },{ val: 'T7080304092' }
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
return {
|
return {
|
||||||
// title: '',
|
|
||||||
// path: 'TODO'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
@ -110,12 +95,16 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getCdnUrl,
|
async getListFun(param){
|
||||||
|
let cpParam = JSON.parse(JSON.stringify(param))
|
||||||
|
cpParam['params.scanStatType'] = 2 // 到件
|
||||||
|
cpParam['params.beginSendDate'] = cpParam._date[0]
|
||||||
|
cpParam['params.endSendDate'] = cpParam._date[1]
|
||||||
|
let res = await apiService.queryScanWaybillList(cpParam)
|
||||||
|
return res
|
||||||
|
},
|
||||||
initData() {
|
initData() {
|
||||||
// uni.showLoading({
|
|
||||||
// title: '加载中'
|
|
||||||
// });
|
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
|
||||||
|
|||||||
@ -1,36 +1,33 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<tpx-page>
|
||||||
<tpx-layout>
|
<tpx-layout>
|
||||||
<template v-slot:body>
|
<template v-slot:body>
|
||||||
|
<view class="pos-abt-all">
|
||||||
|
<tpx-scroll-view v-model:resObject="resData" :searchParam="searchParam" :getListFun="getListFun"
|
||||||
|
ref="listRef"
|
||||||
|
>
|
||||||
<view class="blcok-white-noradius" style="margin-top: 0;">
|
<view class="blcok-white-noradius" style="margin-top: 0;">
|
||||||
<u-row justify="between">
|
<u-row justify="between">
|
||||||
<view style="width: 140rpx;" class="font-weight">运单号</view>
|
<view style="width: 140rpx;" class="font-weight">运单号</view>
|
||||||
<view style="flex:1;">
|
<view style="flex:1;">
|
||||||
<tpx-scan-input v-model:value="submitParam.yundanhao" placeholder="请输入或扫码"
|
<tpx-scan-input v-model:value="searchParam.billCode" placeholder="请输入或扫码"
|
||||||
iconPos="right"></tpx-scan-input>
|
@change="handleScanValChange" iconPos="right"></tpx-scan-input>
|
||||||
</view>
|
</view>
|
||||||
</u-row>
|
</u-row>
|
||||||
<u-row justify="between" custom-style="margin-top:20rpx;">
|
<u-row justify="between" custom-style="margin-top:20rpx;">
|
||||||
<view style="width: 140rpx;" class="font-weight">日期</view>
|
<view style="width: 140rpx;" class="font-weight">日期</view>
|
||||||
<view style="flex:1;">
|
<view style="flex:1;">
|
||||||
<tpx-date-input v-model:value="submitParam.date" placeholder="请选择时间"></tpx-date-input>
|
<tpx-date-input v-model:value="searchParam._date" placeholder="请选择时间"></tpx-date-input>
|
||||||
</view>
|
</view>
|
||||||
</u-row>
|
</u-row>
|
||||||
|
<!-- <view class="mt-30">
|
||||||
<view class="mt-30">
|
|
||||||
<u-button @click="handleSubmit()" type="primary" size="large" shape="square"
|
<u-button @click="handleSubmit()" type="primary" size="large" shape="square"
|
||||||
custom-style="height:80rpx;font-size: 30rpx;border-radius: 14rpx;">查询</u-button>
|
custom-style="height:80rpx;font-size: 30rpx;border-radius: 14rpx;">查询</u-button>
|
||||||
</view>
|
</view> -->
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="blcok-white-noradius">
|
<view class="blcok-white-noradius">
|
||||||
<!-- <u-row justify="between">
|
|
||||||
<text class="font-weight">运单列表</text>
|
|
||||||
<view >
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</u-row> -->
|
|
||||||
|
|
||||||
<view class="">
|
<view class="">
|
||||||
<view class="pb-20">
|
<view class="pb-20">
|
||||||
<u-row>
|
<u-row>
|
||||||
@ -42,40 +39,33 @@
|
|||||||
</u-col>
|
</u-col>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
<view v-for="(item, index) in yundanList" class="yditem">
|
|
||||||
|
<view v-for="(item, index) in resData.list" class="yditem">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-col span="8">
|
<u-col span="8">
|
||||||
<text class="">T2919292</text>
|
<text class="">{{item.billCode}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
<u-col span="4">
|
<u-col span="4">
|
||||||
<text class="clr-sub">12-18 13:18</text>
|
<text class="clr-sub">{{item.sendDate}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</tpx-scroll-view>
|
||||||
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</tpx-layout>
|
</tpx-layout>
|
||||||
|
</tpx-page>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import getCdnUrl from "@/common/getCdnUrl"
|
import { debounce } from "@/common/util"
|
||||||
import {
|
import * as apiService from "@/common/api"
|
||||||
ordStaEnum,
|
|
||||||
ordStatusList,
|
|
||||||
payTypeEnum,
|
|
||||||
payTypeList,
|
|
||||||
dlvTypeEnum,
|
|
||||||
dlvTypeList,
|
|
||||||
dateTypeEnum,
|
|
||||||
dateTypeList
|
|
||||||
} from "@/common/enum"
|
|
||||||
import {
|
|
||||||
goto
|
|
||||||
} from "@/common/untool"
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
// hasLeftWin: {
|
// hasLeftWin: {
|
||||||
@ -87,20 +77,15 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
submitParam: {
|
searchParam: {
|
||||||
date: [],
|
billCode: '',
|
||||||
type: 1,
|
_date: [],
|
||||||
},
|
},
|
||||||
|
resData: { list: [] }
|
||||||
yundanList: [
|
|
||||||
{ val: 'T7080304037' },{ val: 'T708012124037' },{ val: 'T7080304092' }
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
return {
|
return {
|
||||||
// title: '',
|
|
||||||
// path: 'TODO'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
@ -110,12 +95,16 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getCdnUrl,
|
async getListFun(param){
|
||||||
|
let cpParam = JSON.parse(JSON.stringify(param))
|
||||||
|
cpParam['params.scanStatType'] = 3 // 派件
|
||||||
|
cpParam['params.beginSendDate'] = cpParam._date[0]
|
||||||
|
cpParam['params.endSendDate'] = cpParam._date[1]
|
||||||
|
let res = await apiService.queryScanWaybillList(cpParam)
|
||||||
|
return res
|
||||||
|
},
|
||||||
initData() {
|
initData() {
|
||||||
// uni.showLoading({
|
|
||||||
// title: '加载中'
|
|
||||||
// });
|
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
|
||||||
|
|||||||
@ -1,36 +1,33 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<tpx-page>
|
||||||
<tpx-layout>
|
<tpx-layout>
|
||||||
<template v-slot:body>
|
<template v-slot:body>
|
||||||
|
<view class="pos-abt-all">
|
||||||
|
<tpx-scroll-view v-model:resObject="resData" :searchParam="searchParam" :getListFun="getListFun"
|
||||||
|
ref="listRef"
|
||||||
|
>
|
||||||
<view class="blcok-white-noradius" style="margin-top: 0;">
|
<view class="blcok-white-noradius" style="margin-top: 0;">
|
||||||
<u-row justify="between">
|
<u-row justify="between">
|
||||||
<view style="width: 140rpx;" class="font-weight">运单号</view>
|
<view style="width: 140rpx;" class="font-weight">运单号</view>
|
||||||
<view style="flex:1;">
|
<view style="flex:1;">
|
||||||
<tpx-scan-input v-model:value="submitParam.yundanhao" placeholder="请输入或扫码"
|
<tpx-scan-input v-model:value="searchParam.billCode" placeholder="请输入或扫码"
|
||||||
iconPos="right"></tpx-scan-input>
|
@change="handleScanValChange" iconPos="right"></tpx-scan-input>
|
||||||
</view>
|
</view>
|
||||||
</u-row>
|
</u-row>
|
||||||
<u-row justify="between" custom-style="margin-top:20rpx;">
|
<u-row justify="between" custom-style="margin-top:20rpx;">
|
||||||
<view style="width: 140rpx;" class="font-weight">日期</view>
|
<view style="width: 140rpx;" class="font-weight">日期</view>
|
||||||
<view style="flex:1;">
|
<view style="flex:1;">
|
||||||
<tpx-date-input v-model:value="submitParam.date" placeholder="请选择时间"></tpx-date-input>
|
<tpx-date-input v-model:value="searchParam._date" placeholder="请选择时间"></tpx-date-input>
|
||||||
</view>
|
</view>
|
||||||
</u-row>
|
</u-row>
|
||||||
|
<!-- <view class="mt-30">
|
||||||
<view class="mt-30">
|
|
||||||
<u-button @click="handleSubmit()" type="primary" size="large" shape="square"
|
<u-button @click="handleSubmit()" type="primary" size="large" shape="square"
|
||||||
custom-style="height:80rpx;font-size: 30rpx;border-radius: 14rpx;">查询</u-button>
|
custom-style="height:80rpx;font-size: 30rpx;border-radius: 14rpx;">查询</u-button>
|
||||||
</view>
|
</view> -->
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="blcok-white-noradius">
|
<view class="blcok-white-noradius">
|
||||||
<!-- <u-row justify="between">
|
|
||||||
<text class="font-weight">运单列表</text>
|
|
||||||
<view >
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</u-row> -->
|
|
||||||
|
|
||||||
<view class="">
|
<view class="">
|
||||||
<view class="pb-20">
|
<view class="pb-20">
|
||||||
<u-row>
|
<u-row>
|
||||||
@ -42,40 +39,33 @@
|
|||||||
</u-col>
|
</u-col>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
<view v-for="(item, index) in yundanList" class="yditem">
|
|
||||||
|
<view v-for="(item, index) in resData.list" class="yditem">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-col span="8">
|
<u-col span="8">
|
||||||
<text class="">T2919292</text>
|
<text class="">{{item.billCode}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
<u-col span="4">
|
<u-col span="4">
|
||||||
<text class="clr-sub">12-18 13:18</text>
|
<text class="clr-sub">{{item.sendDate}}</text>
|
||||||
</u-col>
|
</u-col>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</tpx-scroll-view>
|
||||||
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
</tpx-layout>
|
</tpx-layout>
|
||||||
|
</tpx-page>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import getCdnUrl from "@/common/getCdnUrl"
|
import { debounce } from "@/common/util"
|
||||||
import {
|
import * as apiService from "@/common/api"
|
||||||
ordStaEnum,
|
|
||||||
ordStatusList,
|
|
||||||
payTypeEnum,
|
|
||||||
payTypeList,
|
|
||||||
dlvTypeEnum,
|
|
||||||
dlvTypeList,
|
|
||||||
dateTypeEnum,
|
|
||||||
dateTypeList
|
|
||||||
} from "@/common/enum"
|
|
||||||
import {
|
|
||||||
goto
|
|
||||||
} from "@/common/untool"
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
// hasLeftWin: {
|
// hasLeftWin: {
|
||||||
@ -87,20 +77,15 @@
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
submitParam: {
|
searchParam: {
|
||||||
date: [],
|
billCode: '',
|
||||||
type: 1,
|
_date: [],
|
||||||
},
|
},
|
||||||
|
resData: { list: [] }
|
||||||
yundanList: [
|
|
||||||
{ val: 'T7080304037' },{ val: 'T708012124037' },{ val: 'T7080304092' }
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
return {
|
return {
|
||||||
// title: '',
|
|
||||||
// path: 'TODO'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
@ -110,12 +95,16 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getCdnUrl,
|
async getListFun(param){
|
||||||
|
let cpParam = JSON.parse(JSON.stringify(param))
|
||||||
|
cpParam['params.scanStatType'] = 1 // 发件
|
||||||
|
cpParam['params.beginSendDate'] = cpParam._date[0]
|
||||||
|
cpParam['params.endSendDate'] = cpParam._date[1]
|
||||||
|
let res = await apiService.queryScanWaybillList(cpParam)
|
||||||
|
return res
|
||||||
|
},
|
||||||
initData() {
|
initData() {
|
||||||
// uni.showLoading({
|
|
||||||
// title: '加载中'
|
|
||||||
// });
|
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user