This commit is contained in:
aihe 2024-05-08 00:36:56 +08:00
parent 951a5cce64
commit 7bf0d2ffa4
2 changed files with 83 additions and 95 deletions

View File

@ -3,7 +3,7 @@
<u-row justify="between"> <u-row justify="between">
<view> <view>
<text class="clr-sub pr-10">操作员</text> <text class="clr-sub pr-10">操作员</text>
<text>李晓(南京市场部)</text> <text>{{userInfo.empName}}({{userInfo.ownerSiteName}})</text>
</view> </view>
<view> <view>
<slot name="titleRight"></slot> <slot name="titleRight"></slot>
@ -30,10 +30,13 @@
export default { export default {
components: { }, components: { },
computed: { computed: {
submitInfo: { modelInfo: {
get(){ get(){
return this.value return this.value
} }
},
userInfo() {
return this.$store.getters.userInfo
} }
}, },
props: { props: {

View File

@ -1,133 +1,118 @@
<template> <template>
<tpx-layout> <tpx-page>
<template v-slot:body> <tpx-layout>
<view class="blcok-white-noradius" style="margin-top: 0;"> <template v-slot:body>
<u-row justify="between"> <view class="blcok-white-noradius" style="margin-top: 0;">
<view style="flex:1;"> <u-row justify="between">
<tpx-scan-input v-model:value="submitParam.yundanhao" placeholder="请输入或扫码" <view style="flex:1;">
iconPos="left"></tpx-scan-input> <tpx-scan-input v-model:value="orderNo" placeholder="请输入或扫码"
@change="handleScanValChange" 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 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>
</u-row>
<u-row custom-style="margin-top:20rpx;">
<view style="flex: 1;">
<tpx-select placeholder="下一网点" :isWhite="true"></tpx-select>
</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> <view class="blcok-white-noradius">
<bo-operator-tmp>
<view class="blcok-white-noradius"> <template v-slot:titleRight>
<bo-operator-tmp> <button size="mini">查看历史发件</button>
<template v-slot:titleRight> </template>
<button size="mini">查看历史发件</button> </bo-operator-tmp>
</template>
</bo-operator-tmp>
</view>
<view class="blcok-white-noradius">
<!-- <u-row justify="between">
<text class="font-weight">运单列表</text>
<view >
</view>
</u-row> -->
<view class="">
<view class="pb-20">
<u-row>
<u-col span="8">
<text class="font-weight">运单号</text>
</u-col>
<u-col span="4">
<text class="font-weight">扫描时间</text>
</u-col>
</u-row>
</view>
<view v-for="(item, index) in yundanList" class="yditem">
<u-row>
<u-col span="8">
<text class="">T2919292</text>
</u-col>
<u-col span="4">
<text class="clr-sub">12-18 13:18</text>
</u-col>
</u-row>
</view>
</view> </view>
</view>
<view class="blcok-white-noradius">
<tpx-scroll-view v-model:resObject="resData"
>
<view class="">
<view class="pb-20">
<u-row>
<u-col span="8">
<text class="font-weight">运单号</text>
</u-col>
<u-col span="4">
<text class="font-weight">扫描时间</text>
</u-col>
</u-row>
</view>
<view v-for="(item, index) in resData.list" class="yditem">
<u-row>
<u-col span="8">
<text class="">T2919292</text>
</u-col>
<u-col span="4">
<text class="clr-sub">12-18 13:18</text>
</u-col>
</u-row>
</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 dayjs from "dayjs"
ordStaEnum,
ordStatusList,
payTypeEnum,
payTypeList,
dlvTypeEnum,
dlvTypeList,
dateTypeEnum,
dateTypeList
} from "@/common/enum"
import BoOperatorTmp from "@/components/buns-order-templates/bo-operator-tmp" import BoOperatorTmp from "@/components/buns-order-templates/bo-operator-tmp"
import { import * as apiService from "@/common/api"
goto
} from "@/common/untool"
export default { export default {
components:{ BoOperatorTmp }, components:{ BoOperatorTmp },
props: { props: {
// hasLeftWin: {
// type: Boolean
// }
}, },
computed: { computed: {
}, },
data() { data() {
return { return {
submitParam: { orderNo: '',
date: [], pageLoading: true,
type: 1, queryOption: {
billCode: '', // 运单id
orderSn: '', // 订单id
}, },
resData: {
yundanList: [ list: []
{ val: 'T7080304037' },{ val: 'T708012124037' },{ val: 'T7080304092' } }
]
} }
}, },
onShareAppMessage() { onShareAppMessage() {
return { return {
// title: '',
// path: 'TODO'
} }
}, },
onLoad() { onLoad(option) {
this.queryOption = option
this.initData(); this.initData();
}, },
onUnload() { onUnload() {
}, },
methods: { methods: {
getCdnUrl,
initData() { initData() {
// uni.showLoading({ this.orderNo = this.queryOption.billCode || this.queryOption.orderSn
// title: '加载中'
// });
}, },
handleSubmit() { handleSubmit() {
} },
handleScanValChange: debounce(function(val){
val
}),
} }
} }
</script> </script>