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,11 +1,12 @@
<template> <template>
<tpx-page>
<tpx-layout> <tpx-layout>
<template v-slot:body> <template v-slot:body>
<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="flex:1;"> <view style="flex:1;">
<tpx-scan-input v-model:value="submitParam.yundanhao" placeholder="请输入或扫码" <tpx-scan-input v-model:value="orderNo" placeholder="请输入或扫码"
iconPos="left"></tpx-scan-input> @change="handleScanValChange" iconPos="left"></tpx-scan-input>
</view> </view>
</u-row> </u-row>
<u-row custom-style="margin-top:20rpx;"> <u-row custom-style="margin-top:20rpx;">
@ -30,13 +31,8 @@
</view> </view>
<view class="blcok-white-noradius"> <view class="blcok-white-noradius">
<!-- <u-row justify="between"> <tpx-scroll-view v-model:resObject="resData"
<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>
@ -48,7 +44,7 @@
</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="">T2919292</text>
@ -59,75 +55,64 @@
</u-row> </u-row>
</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 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>