emis-app/pages/tms/coPackingScanning.vue
2024-02-01 23:35:47 +08:00

159 lines
3.4 KiB
Vue

<template>
<tpx-layout>
<template v-slot:body>
<u-line></u-line>
<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>
<u-row custom-style="margin-top:20rpx;">
<view style="flex: 1;">
<tpx-select placeholder="请获取新合包号" :isWhite="true"></tpx-select>
</view>
</u-row>
</view>
<view class="blcok-white-noradius">
<bo-operator-tmp>
<template v-slot:titleRight>
<!-- <button size="mini">查看历史到件</button> -->
</template>
</bo-operator-tmp>
</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>
<u-icon name="trash" size="30"></u-icon>
</view>
</u-row>
</view>
</view>
</template>
<template v-slot:footer>
<view class="pos-rlt blcok-white" style="border-radius: 0;margin-top: 0;">
<u-row>
<u-button size="large" shape="circle"
custom-style="width: 500rpx;height:80rpx;font-size: 30rpx;" type="primary">打印合包条码</u-button>
</u-row>
</view>
</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>