emis-app/pages/tms/unpackingScanning.vue
2024-02-02 11:20:39 +08:00

145 lines
2.9 KiB
Vue

<template>
<tpx-layout>
<template v-slot:body>
<view class="blcok-white-noradius" style="margin-top: 0;">
<u-row justify="between">
<view style="flex:1;">
<tpx-scan-input v-model:value="submitParam.yundanhao" placeholder="请输入编号或扫码"
iconPos="left"></tpx-scan-input>
</view>
</u-row>
<view class="mt-30">
<u-button @click="handleSubmit()" type="primary" size="large" shape="square"
custom-style="height:80rpx;font-size: 30rpx;border-radius: 14rpx;">确定</u-button>
</view>
</view>
<view class="mt-40 pl-20 pr-20">
<tpx-tabs :list="tabList" v-model:value="tabType"
@tabchange="(val)=> { }" v-slot="curTab"
>
<text slot>
(<text>{{curTab.item.val}}</text>)
</text>
</tpx-tabs>
</view>
<view class="blcok-white-noradius">
<view v-for="(item, index) in yundanList" class="yditem">
<u-row justify="between" align="top">
<view style="flex: 1;">
<view class="">
<text class="clr-sub lbwth">订单号</text>
<text class="">T2919292</text>
</view>
<view class="mt-10">
<text class="clr-sub lbwth">重量</text>
<text class="clr-prm">3KG</text>
</view>
</view>
<view>
</view>
</u-row>
</view>
</view>
</template>
<template v-slot:footer>
</template>
</tpx-layout>
</template>
<script>
import getCdnUrl from "@/common/getCdnUrl"
import {
ordStaEnum,
ordStatusList,
payTypeEnum,
payTypeList,
dlvTypeEnum,
dlvTypeList,
dateTypeEnum,
dateTypeList
} from "@/common/enum"
import BoOperatorTmp from "@/components/buns-order-templates/bo-operator-tmp"
import BpeGoodphotoTmp from "@/components/buns-post-edit-templates/bpe-goodphoto-tmp"
import {
goto
} from "@/common/untool"
export default {
components:{ BoOperatorTmp, BpeGoodphotoTmp },
props: {
// hasLeftWin: {
// type: Boolean
// }
},
computed: {
},
data() {
return {
submitParam: {
date: [],
type: 1,
},
tabType: 1,
tabList: [
{ title: '已扫描', val: 1 }
],
yundanList: [
{ val: 'T7080304037' },{ val: 'T708012124037' },{ val: 'T7080304092' }
]
}
},
onShareAppMessage() {
return {
// title: '',
// path: 'TODO'
}
},
onLoad() {
this.initData();
},
onUnload() {
},
methods: {
getCdnUrl,
initData() {
// uni.showLoading({
// title: '加载中'
// });
},
handleSubmit() {
}
}
}
</script>
<style lang="scss">
@import '@/common/uni-nvue.scss';
page {
background-color: #F6F6F6;
height: 100% !important;
}
</style>
<style scoped lang="scss">
.yditem{
margin-top: 20rpx;
padding: 20rpx;
border-radius: 20rpx;
background-color: #F6F6F6;
&:first-child{
margin-top: 0;
}
.lbwth{
display: inline-block;
width: 120rpx;
}
}
</style>