Browse Source

增加增值服务界面

lmy
zhangsiyu 2 years ago
parent
commit
375b00f1fd
  1. 31
      .gitignore
  2. 31
      compoment/tiplist/tiplist.vue
  3. 5
      config/host.js
  4. 4
      interfaces/pagesHome/SelfPScanList.ts
  5. 11
      interfaces/pagesHome/setbarcode.ts
  6. 12
      pages.json
  7. 4
      pages/index/index.vue
  8. 75
      pages/news/news.vue
  9. 2
      pages/user/user.vue
  10. 10
      pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue
  11. 5
      pagesHome/pages/CustomerSign/CustomerSign.vue
  12. 2
      pagesHome/pages/DownGoods/DownGoods.vue
  13. 8
      pagesHome/pages/OrderSortingDetail/OrderSortingDetail.vue
  14. 2
      pagesHome/pages/PeopleScanUp/PeopleScanUp.vue
  15. 2
      pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.vue
  16. 6
      pagesHome/pages/ScanUp/ScanUp.vue
  17. 25
      pagesHome/pages/SelfPScanList/SelfPScanList.vue
  18. 5
      pagesHome/pages/SelfPickupDetails/SelfPickupDetails.vue
  19. 12
      pagesHome/pages/SelfPickupScan/SelfPickupScan.vue
  20. 261
      pagesHome/pages/SetPrice/SetPrice.vue
  21. 315
      pagesHome/pages/createAddServe/createAddServe.vue
  22. 4
      pagesHome/pages/inventoryenter/inventoryenter.vue
  23. 25
      pagesHome/pages/lnventorysortinglist/lnventorysortinglist.vue
  24. 8
      pagesHome/pages/pickingScan/pickingScan.vue
  25. 2
      pagesHome/pages/scansorting/scansorting.vue
  26. 84
      pagesHome/pages/setbarcode/setbarcode.vue
  27. BIN
      pagesHome/static/editorder.png
  28. BIN
      pagesHome/static/nocheckblue.png
  29. BIN
      pagesHome/static/yescheckblue.png
  30. 413
      unpackage/dist/dev/app-plus/app-service.js
  31. 10
      unpackage/dist/dev/app-plus/app.css
  32. 70
      unpackage/dist/dev/app-plus/pages/news/news.css
  33. 2
      unpackage/dist/dev/app-plus/pagesHome/pages/DownGoods/DownGoods.css
  34. 2
      unpackage/dist/dev/app-plus/pagesHome/pages/PeopleScanUp/PeopleScanUp.css
  35. 2
      unpackage/dist/dev/app-plus/pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.css
  36. 5
      unpackage/dist/dev/app-plus/pagesHome/pages/SelfPickupScan/SelfPickupScan.css
  37. 72
      unpackage/dist/dev/app-plus/pagesHome/pages/SetPrice/SetPrice.css
  38. 2
      unpackage/dist/dev/app-plus/pagesHome/pages/inventoryenter/inventoryenter.css
  39. 3
      unpackage/dist/dev/app-plus/pagesHome/pages/pickingScan/pickingScan.css
  40. 1
      unpackage/dist/dev/mp-weixin/app.js
  41. 3
      unpackage/dist/dev/mp-weixin/app.json
  42. 2
      unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.wxml
  43. 10
      unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.wxss
  44. 2
      unpackage/dist/dev/mp-weixin/config/host.js
  45. 36
      unpackage/dist/dev/mp-weixin/pages/news/news.js
  46. 1
      unpackage/dist/dev/mp-weixin/pages/news/news.wxml
  47. 70
      unpackage/dist/dev/mp-weixin/pages/news/news.wxss
  48. 2
      unpackage/dist/dev/mp-weixin/pages/user/user.js
  49. 7
      unpackage/dist/dev/mp-weixin/pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.js
  50. 4
      unpackage/dist/dev/mp-weixin/pagesHome/pages/CustomerSign/CustomerSign.js
  51. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/CustomerSign/CustomerSign.wxml
  52. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/DownGoods/DownGoods.wxss
  53. 8
      unpackage/dist/dev/mp-weixin/pagesHome/pages/OrderSortingDetail/OrderSortingDetail.js
  54. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/PeopleScanUp/PeopleScanUp.wxss
  55. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.wxss
  56. 5
      unpackage/dist/dev/mp-weixin/pagesHome/pages/ScanUp/ScanUp.js
  57. 50
      unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPScanList/SelfPScanList.js
  58. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPScanList/SelfPScanList.wxml
  59. 5
      unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPickupDetails/SelfPickupDetails.js
  60. 5
      unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPickupScan/SelfPickupScan.js
  61. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPickupScan/SelfPickupScan.wxml
  62. 5
      unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPickupScan/SelfPickupScan.wxss
  63. 61
      unpackage/dist/dev/mp-weixin/pagesHome/pages/SetPrice/SetPrice.js
  64. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/SetPrice/SetPrice.wxml
  65. 195
      unpackage/dist/dev/mp-weixin/pagesHome/pages/SetPrice/SetPrice.wxss
  66. 14
      unpackage/dist/dev/mp-weixin/pagesHome/pages/inventoryenter/inventoryenter.js
  67. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/inventoryenter/inventoryenter.wxml
  68. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/inventoryenter/inventoryenter.wxss
  69. 20
      unpackage/dist/dev/mp-weixin/pagesHome/pages/lnventorysortinglist/lnventorysortinglist.js
  70. 11
      unpackage/dist/dev/mp-weixin/pagesHome/pages/pickingScan/pickingScan.js
  71. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/pickingScan/pickingScan.wxml
  72. 3
      unpackage/dist/dev/mp-weixin/pagesHome/pages/pickingScan/pickingScan.wxss
  73. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/scansorting/scansorting.js
  74. 36
      unpackage/dist/dev/mp-weixin/pagesHome/pages/setbarcode/setbarcode.js
  75. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/setbarcode/setbarcode.wxml
  76. 8
      unpackage/dist/dev/mp-weixin/utils/request.js
  77. 9
      utils/request.js
  78. 1
      utils/utils.js

31
.gitignore vendored

@ -0,0 +1,31 @@
.DS_Store
/unpackage
node_modules
/uni_modules
/dist
/tests/e2e/videos/
/tests/e2e/screenshots/
# local env files
.env.local
.env.*.local
# log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# lock files
package-lock.json
yarn.lock
# editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
.history/

31
compoment/tiplist/tiplist.vue

@ -40,6 +40,7 @@
<!-- <view class="contents">
{{content||'提示内容模板'}}
</view> -->
<view class="tpstitl">请上传照片(上门照货物堆放照签收照易碎品贵重物品家配照):</view>
<view class="imgbx">
<view v-for="(item,index) in details.imglist">
<image :src="item"></image>
@ -49,6 +50,26 @@
<image src="/static/add.png"></image>
</view>
</view>
<!-- <view class="tpstitl">货物堆放照:</view>
<view class="imgbx">
<view v-for="(item,index) in details.imglist">
<image :src="item"></image>
<image @click="remove(index)" src="/compoment/cus-selects-fan/cha.png"></image>
</view>
<view @click="updateimg" v-if="details.imglist.length!=details.maximglength">
<image src="/static/add.png"></image>
</view>
</view>
<view class="tpstitl">易碎品贵重物品:</view>
<view class="imgbx">
<view v-for="(item,index) in details.imglist">
<image :src="item"></image>
<image @click="remove(index)" src="/compoment/cus-selects-fan/cha.png"></image>
</view>
<view @click="updateimg" v-if="details.imglist.length!=details.maximglength">
<image src="/static/add.png"></image>
</view>
</view> -->
<view class="inputbx">
<input v-model="inputtext" :placeholder="placeholder" />
</view>
@ -150,6 +171,10 @@
</script>
<style lang="scss">
.tpstitl{
font-size: 26upx;
width: 550upx;
}
.maboxbg{
width: 100%;
height: 100%;
@ -187,10 +212,10 @@
width: 550upx;
display: grid;
grid-template-columns: 33% 33% 33%;
margin-top: 30upx;
margin-top: 20upx;
>view{
width: 150upx;
height: 150upx;
width: 130upx;
height: 130upx;
padding: 10upx;
box-sizing: border-box;
border: 1upx solid #e6e6e6;

5
config/host.js

@ -3,13 +3,14 @@
/**
* 测试域名
* */
const devhost='http://test.api.huitongys.com/'
//测试域名
// const devhost='http://test.api.huitongys.com/'
// lmy
// const devhost='http://192.168.10.123:8889/'
// zhy
// const devhost='http://192.168.10.48:8888/'
// tjj
// const devhost='http://192.168.10.29:13000/'
const devhost='http://192.168.10.29:13000/'
// cyz
// const devhost='http://192.168.10.75:8777/'
// cg

4
interfaces/pagesHome/SelfPScanList.ts

@ -29,6 +29,9 @@ export interface pagedetails{
/**
* */
completeNum:string|number;
/**
* */
inventoryNub:string|number;
/**
* */
planNum:string|number;
@ -38,4 +41,5 @@ export interface pagedetails{
/**
* */
scancode:string|number;
}

11
interfaces/pagesHome/setbarcode.ts

@ -19,5 +19,14 @@ export interface detailType{
goodsAreaName:string;
/**id
* */
stockupId:string
stockupId:string;
/**
* */
stockPrint:string|number;
/**
* */
customer:string;
/**
* */
deliveryAddress:string;
}

12
pages.json

@ -632,6 +632,18 @@
}
}
}, {
"path": "pages/createAddServe/createAddServe",
"style": {
"navigationBarTitleText": "创建增值服务",
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"app-plus": {
"animationDuration": 300,
"animationType": "zoom-fade-out"
}
}
}
]
}],

4
pages/index/index.vue

@ -155,7 +155,9 @@
let res = await appMenuroutes({})
console.log(res, '-------------');
if (res.code == 200) {
//
// getimgcache(res.data[0])
//
details.tablist = [
{
type: 1,
@ -256,7 +258,7 @@
},
]
},
]
]
} else {
uni.showToast({
title: res.msg,

75
pages/news/news.vue

@ -1,10 +1,81 @@
<template>
<view class="titles">切换环境</view>
<view class="mabxose">
<view class="titl">请输入需要设置的IP环境</view>
<view class="titl">http://192.168.10.12:1086/</view>
<view class="inps">
<input placeholder="请输入ip环境" v-model="iptis"/>
</view>
<view class="buts" @click="submitip">确认</view>
</view>
</template>
<script lang="ts" setup>
import { ref } from "vue";
let iptis=ref<string>('http://192.168.10.12:1086/')
if(uni.getStorageSync('setip')){
iptis.value=uni.getStorageSync('setip')
}
function submitip(){
if(iptis.value){
uni.setStorageSync('setip',iptis.value)
uni.showToast({
title:'设置成功',
icon:'success'
})
}else{
uni.showToast({
title:'请输入ip',
icon:'none'
})
}
}
</script>
<style lang="scss">
.titles {
position: absolute;
left: 50%;
top: 70upx;
transform: translate(-50%);
font-size: 36upx;
font-weight: 400;
color: #D3832A;
z-index: 5;
}
.mabxose{
margin: auto;
margin-top: 150upx;
width: 560upx;
padding: 20upx;
background-color: #f0e6dc;
border-radius: 10upx;
.titl{
color: #D3832A;
}
.inps{
width:500upx;
height: 60upx;
border: 1upx solid #cfcfcf;
display: flex;
align-items: center;
justify-content: flex-start;
margin-top: 20upx;
>input{
flex: 1;
}
}
.buts{
background-color: #D3832A;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
width: 240upx;
height:80upx;
border-radius: 10upx;
margin: auto;
margin-top: 20upx;
}
}
</style>

2
pages/user/user.vue

@ -62,7 +62,7 @@
function removeall() {
const res = uni.getStorageInfoSync();
res.keys.map(item=>{
if(item=='loginuser'||item=='HistoryDate'){
if(item=='loginuser'||item=='HistoryDate'||item=='setip'){
return
}
uni.removeStorageSync(item)

10
pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue

@ -106,7 +106,8 @@
onUnload
} from '@dcloudio/uni-app'
import cusSelects from '@/compoment/cus-selects-fan/cus-selects-fan.vue'
import { computed, reactive, ref, toRefs } from "vue";
import { computed, inject, reactive, ref, toRefs, watchEffect } from "vue";
const utils=inject('utils') as any
let details = reactive({
schanvalue: '',
typearr: [
@ -150,6 +151,7 @@
onHide(()=>{
uni.$off('scancodedate')
})
const loadingNub=computed(()=>{
let num=0
details.datalist.map(item=>{
@ -159,6 +161,12 @@
})
return num
})
watchEffect(()=>{
if(loadingNub.value!=0){
console.log(loadingNub.value+'件')
utils.ttsspke(loadingNub.value+'件')
}
})
function showsdqs(){
tiplists.value.setdetails({
isshow:true,

5
pagesHome/pages/CustomerSign/CustomerSign.vue

@ -67,7 +67,7 @@
<view @click="uplodimg(item)">上传签收图片</view>
</view>
<view @click="gosetorice(item)" class="mabut">
设置服务
设置增值服务
</view>
<view class="mabut" @click="allclick(item)" v-if="authbuts.indexOf('批量签收')!=-1&&item.deliveryStatus!='完成配送'">
批量签收
@ -111,7 +111,8 @@
})
function gosetorice(item){
uni.navigateTo({
url:'/pagesHome/pages/SetPrice/SetPrice'
url:'/pagesHome/pages/SetPrice/SetPrice?reservationId='+details.id
+'&item='+JSON.stringify(item)
})
}
const signNub=computed(()=>{

2
pagesHome/pages/DownGoods/DownGoods.vue

@ -614,7 +614,7 @@
}
.scvbw{
width: 100%;
height: 360upx;
height: 450upx;
margin-top: 30upx;
.scboxitem{
display: flex;

8
pagesHome/pages/OrderSortingDetail/OrderSortingDetail.vue

@ -192,10 +192,12 @@
trayCode:details.trayCode
}
let res=await warehouseTrayTypeorderScanTrayCode(data)
console.log(res,'resresresres');
console.log(res.data,'resresresres');
if(res.code==200){
details.datelist=res.data.data.list
details.detauser=res.data.data
if(res.data.isHasData==1){
details.datelist=res.data.data.list
details.detauser=res.data.data
}
}else {
uni.showToast({
title:res.msg,

2
pagesHome/pages/PeopleScanUp/PeopleScanUp.vue

@ -569,7 +569,7 @@
}
.scvbw{
width: 100%;
height: 360upx;
height: 450upx;
margin-top: 30upx;
.scboxitem{
display: flex;

2
pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.vue

@ -610,7 +610,7 @@
}
.scvbw{
width: 100%;
height: 360upx;
height: 450upx;
margin-top: 30upx;
.scboxitem{
display: flex;

6
pagesHome/pages/ScanUp/ScanUp.vue

@ -186,16 +186,16 @@
}else if(Number(details.upshelfScanType)==3){
details.uplistarr=fn2(details.uplistarr,'orderPackageCode')
}else if(Number(details.upshelfScanType)==4){
details.uplistarr=fn2(details.uplistarr,'trayCode')
// details.uplistarr=fn2(details.uplistarr,'orderCode')
}
})
onLoad((op)=>{
details.upshelfScanType=op.type
// details.scancode='1696446315573116938'
// details.scancode='1669964381355732993'
// scandata()
// setTimeout(()=>{
// details.scancode='HT20230800003'
// details.scancode='HTCQ000007'
// scandata()
// },1500)
// setTimeout(()=>{

25
pagesHome/pages/SelfPScanList/SelfPScanList.vue

@ -7,19 +7,23 @@
<view class="hdtpnum">
<view>
<view>订单总数</view>
<view>{{details.orderNum}}</view>
<view>{{details.orderNum||0}}</view>
</view>
<view>
<view>齐套数</view>
<view>{{details.completeNum}}</view>
<view>{{details.completeNum||0}}</view>
</view>
<view>
<view>自提件数</view>
<view>{{details.planNum}}</view>
<view>{{details.planNum||0}}</view>
</view>
<view>
<view>签收件数</view>
<view>{{details.signedNum}}</view>
<view>{{details.signedNum||0}}</view>
</view>
<view>
<view>库存品数</view>
<view>{{details.inventoryNub||0}}</view>
</view>
</view>
<view class="scinp">
@ -44,7 +48,10 @@
<view class="mabx">
<view class="itec" @click="showsdqs" v-if="orderType==1" v-for="item in datalist">
<view class="contenbx1">
<view><text style="color: #90A0AF;">订单编号</text>{{item.orderCode}}</view>
<view>
<text style="color: #90A0AF;">订单编号</text>
{{item.orderSelfNumbering}}
</view>
</view>
<view class="contenbx1">
<view><text style="color: #90A0AF;">配送数</text>{{item.planNum}}</view>
@ -112,6 +119,7 @@
completeNum:'',
planNum:'',
signedNum:'',
inventoryNub:'',
scancode:'',
})
const tiplists=ref(null)
@ -119,6 +127,9 @@
details.billLadingId=op.billLadingId
initpage()
// details.scancode='TESTCodeBJ2308030001'
})
onShow(()=>{
uni.$on('scancodedate', function(code) {
if (code) {
console.log(code);
@ -127,6 +138,9 @@
}
})
})
onHide(()=>{
uni.$off('scancodedate')
})
function showsdqs(){
tiplists.value.setdetails({
isshow:true,
@ -181,6 +195,7 @@
details.orderNum=response.data.orderNum
details.completeNum=response.data.completeNum
details.planNum=response.data.planNum
details.inventoryNub=response.data.inventoryNub
details.signedNum=response.data.signedNum
}else if(details.orderType==2){
let date={

5
pagesHome/pages/SelfPickupDetails/SelfPickupDetails.vue

@ -130,6 +130,8 @@
details.billLadingId=op.billLadingId
initpage()
// details.scancode='1686568463442280450'
})
onShow(()=>{
uni.$on('scancodedate', function(code) {
if (code) {
console.log(code);
@ -138,6 +140,9 @@
}
})
})
onHide(()=>{
uni.$off('scancodedate')
})
function showsdqs(){
tiplists.value.setdetails({
isshow:true,

12
pagesHome/pages/SelfPickupScan/SelfPickupScan.vue

@ -68,6 +68,10 @@
<view>签收件数</view>
<view>{{item.signedNum}}</view>
</view>
<view>
<view>库存品数</view>
<view>{{item.inventoryNub}}</view>
</view>
</view>
</view>
<view class="buts">
@ -254,11 +258,17 @@
&:nth-of-type(2) {
>view:nth-of-type(2) {
color: #3AD8BC;
color: #0086F1;
}
}
&:nth-of-type(3) {
>view:nth-of-type(2) {
color: #3AD8BC;
}
}
&:nth-of-type(4) {
>view:nth-of-type(2) {
color: #FA8C16;
}

261
pagesHome/pages/SetPrice/SetPrice.vue

@ -1,15 +1,272 @@
<template>
<u-navbar title="设置服务费"
<u-navbar title="增值服务"
bgColor='#D3832A' leftIconColor='#ffffff'
titleStyle='color:#ffffff' placeholder
:autoBack="true" leftIconSize='35'></u-navbar>
<view class="bgcolo"></view>
<view class="card_use">
<view class="card_top">
<view>
<view>客户</view>
<view>张磊</view>
</view>
<view>
<view>签收状态</view>
<view style="color: #0086F1;">配送中</view>
</view>
</view>
<view class="card-content">
<view>
<view>订单总数</view>
<view>25</view>
</view>
<view>
<view>配送件数</view>
<view>10</view>
</view>
<view>
<view>扫描件数</view>
<view>5</view>
</view>
</view>
</view>
<scroll-view scroll-y="true" class="scvs">
<view class="maboxsw">
<view class="itemboxs" v-for="item in 3">
<view class="topdivs">
<view>
<view>超区</view>
<view>145km</view>
<view>126</view>
</view>
<image @click="goValueaddedServicePage" src="/pagesHome/static/editorder.png"></image>
</view>
<view class="titlor">
订单列表
</view>
<view class="orderlists">
<view class="minitem" v-for="item in 3">
<view>货物名称<text style="color: #8D97A3;">HTLQ洗衣机C201</text></view>
<view>订单号<text style="color: #8D97A3;">HTLQ北碚区20230931001</text></view>
<view>订单号<text style="color: #8D97A3;">HTLQ北碚区20230931001</text></view>
</view>
</view>
</view>
</view>
</scroll-view>
<view class="butadd" @click="goaddserve">
增加增值服务
</view>
</template>
<script lang="ts" setup>
import {
onLoad,
onShow,
onHide,
onUnload
} from '@dcloudio/uni-app'
import { reactive } from "vue";
let details=reactive({
reservationId:'',
items:{} as any,
})
onLoad((op)=>{
details.reservationId=op.reservationId
details.items=op.item
})
function goValueaddedServicePage(){
uni.navigateTo({
url:'/pagesHome/pages/createAddServe/createAddServe?id='+details.reservationId
})
}
function goaddserve(){
uni.navigateTo({
url:'/pagesHome/pages/createAddServe/createAddServe'
})
}
</script>
<style lang="scss">
.butadd{
width: 686upx;
height: 100upx;
background: #D3832A;
border-radius: 16upx;
display: flex;
align-items: center;
justify-content: center;
margin: auto;
margin-top: 30upx;
font-size: 32upx;
font-weight: 400;
color: #FFFFFF;
}
.bgcolo{
width: 750upx;
height: 200upx;
background: linear-gradient(180deg, #D3832A 0%, rgba(211,131,42,0) 100%);
border-radius: 0upx 0upx 0upx 0upx;
opacity: 1;
position: absolute;
left: 0;
}
.card_use{
width: 686upx;
height: 280upx;
background: #FFFFFF;
border-radius: 16upx;
position: relative;
margin: auto;
margin-top: 40upx;
padding: 26upx 22upx;
box-sizing: border-box;
.card_top{
display: flex;
align-items: center;
>view{
width: 50%;
display: flex;
align-items: center;
>view:nth-of-type(1){
font-size: 32upx;
font-weight: 400;
color: #8D97A3;
margin-right: 30upx;
}
>view:nth-of-type(2){
font-size: 32upx;
font-weight: 500;
color: #092C4D;
}
}
}
.card-content{
width: 640upx;
height: 160upx;
background: #F5F7FB;
border-radius: 8upx;
margin-top: 24upx;
display: flex;
align-items: center;
justify-content: space-around;
>view{
display: flex;
flex-direction: column;
align-items: center;
.blue{
}
>view:nth-of-type(1){
font-size: 28upx;
font-weight: 400;
color: #020B18;
}
>view:nth-of-type(2){
font-size: 36upx;
font-weight: 400;
color: #178AF2;
margin-top: 20upx;
}
}
}
}
.scvs{
width: 100%;
height: 52vh;
margin-top: 15px;
.maboxsw{
.itemboxs{
width: 686upx;
// height: 640upx;
background: #FFFFFF;
border-radius: 16upx;
margin: auto;
box-sizing: border-box;
margin-bottom: 16upx;
&:nth-last-child(1){
margin-bottom: 0;
}
.topdivs{
width: 100%;
height: 88upx;
background: linear-gradient(133deg, rgba(250,140,22,0.2) 0%, rgba(250,140,22,0) 100%);
opacity: 1;
display: flex;
align-items: center;
justify-content: space-between;
padding: 20upx 30upx;
box-sizing: border-box;
border-radius: 16upx 16upx 0 0;
>image{
width: 40upx;
height: 40upx;
}
>view{
display: flex;
align-items: center;
font-size: 28upx;
>view:nth-of-type(1){
width: 96upx;
height: 48upx;
background: #FA8C16;
color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6upx;
margin-right: 20upx;
}
>view:nth-of-type(2){
font-size: 28upx;
font-weight: 400;
color: #8D97A3;
border-right: 1upx solid #8D97A3;
padding-right: 12upx;
}
>view:nth-of-type(3){
font-size: 28upx;
font-weight: 400;
color: #F8544B;
margin-left: 12upx;
}
}
// border: 2upx solid #FFFFFF;
}
.titlor{
font-size: 34upx;
font-weight: 600;
color: #092C4D;
padding: 20upx 32upx;
box-sizing: border-box;
}
.orderlists{
display: flex;
flex-direction: column;
width: 630upx;
margin: auto;
>.minitem{
display: flex;
flex-direction: column;
border-bottom: 1upx solid #EEEEEE;
padding-bottom: 30upx;
padding-top: 20upx;
&:nth-last-child(1){
border-bottom: none;
}
>view{
font-size: 28upx;
font-weight: 400;
color: #092C4D;
margin-bottom: 10upx;
}
}
}
}
}
}
</style>

315
pagesHome/pages/createAddServe/createAddServe.vue

@ -0,0 +1,315 @@
<template>
<u-navbar title="增值服务"
bgColor='#D3832A' leftIconColor='#ffffff'
titleStyle='color:#ffffff' placeholder
:autoBack="true" leftIconSize='35'></u-navbar>
<view class="select_top">
<view class="selectlist">
<view>增值服务类型</view>
<view @click="showlist">
<view>{{priceType[checkserveindex].typename}}</view>
<image src="/static/rigthview.png"></image>
</view>
</view>
<view class="inputtext" v-if="checkserve==2">
<view>超区公里数(KM)</view>
<view>
<input placeholder="请输入"/>
</view>
</view>
<view class="inputtext" v-if="checkserve==1">
<view>上楼层数</view>
<view>
<input placeholder="请输入"/>
</view>
</view>
<view class="inputtext" v-if="checkserve==6">
<view>平移距离()</view>
<view>
<input placeholder="请输入"/>
</view>
</view>
<!-- <view class="selectlist">
<view>楼层</view>
<view>
<view>请选择</view>
<image src="/static/rigthview.png"></image>
</view>
</view> -->
<view class="checktype">
<view>包件类型</view>
<view>
<view @click="setdetails('typestate',1)" :class="typestate==1?'xz':''">
<image :src="typestate==1?'/pagesHome/static/yescheckblue.png':'/pagesHome/static/nocheckblue.png'"></image>
<view>全部</view>
</view>
<view @click="setdetails('typestate',2)" :class="typestate==2?'xz':''">
<image :src="typestate==2?'/pagesHome/static/yescheckblue.png':'/pagesHome/static/nocheckblue.png'"></image>
<view>部分</view>
</view>
</view>
</view>
</view>
<scroll-view scroll-y="true" class="scvbo">
<view class="itemscbox" v-for="item in 5">
<view class="types1">
<view>8</view>
<view>移除</view>
</view>
<view class="types2">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>订单编号DS258932</view>
</view>
<view class="types2">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>包件码DF25642332563</view>
</view>
</view>
</scroll-view>
<view class="submitqrs">确定</view>
<tiplist ref="tiplists"></tiplist>
</template>
<script lang="ts" setup>
import {
onLoad,
onShow,
onHide,
onUnload
} from '@dcloudio/uni-app';
import { reactive, ref, toRefs, watchEffect } from "vue";
const tiplists=ref(null)
let details=reactive({
typestate:1,
priceType:[
{typename:'上楼',type:1},
{typename:'超区',type:2},
{typename:'拆样',type:3},
{typename:'返货',type:4},
{typename:'搬运',type:5},
{typename:'平移',type:6},
{typename:'分拣入户',type:7},
],
checkserveindex:0,
checkserve:1,
})
watchEffect(()=>{
details.checkserve=details.priceType[details.checkserveindex].type
})
function setdetails<T>(uname: string, value: T): void {
details[uname]=value
}
function showlist(){
let list=[]
details.priceType.map(item=>{
list.push(item.typename)
})
tiplists.value.setdetails({
title:'请选择增值服务类型',
isshow:true,
tipstate:2,
list,
checklist:[details.checkserveindex],
inputtext:'',
confirmTxt:'确认选择',
isonecheck:true,
success:(deta)=>{
if(deta.checklist.length==0){
uni.showToast({
title:'请选择增值服务类型',
icon:'none'
})
return
}
details.checkserveindex=deta.checklist[0]
tiplists.value.setdetails({isshow:false})
},
cancel:(details)=>{
tiplists.value.setdetails({isshow:false})
},
close:(details)=>{
tiplists.value.setdetails({isshow:false})
}
})
}
const {
typestate,
priceType,
checkserveindex,
checkserve
}=toRefs(details)
</script>
<style lang="scss">
.submitqrs{
width: 686upx;
height: 100upx;
background: #D3832A;
border-radius: 16upx;
display: flex;
align-items: center;
justify-content: center;
margin: auto;
color: #FFFFFF;
font-size: 32upx;
font-weight: 400;
}
.scvbo{
width: 100%;
height: 58vh;
margin-top: 15upx;
margin-bottom: 15upx;
.itemscbox{
width: 686upx;
background: #FFFFFF;
border-radius: 16upx;
margin: auto;
margin-bottom: 16upx;
padding:0 30upx;
box-sizing: border-box;
.types2{
display: flex;
align-items: center;
padding: 25upx 0;
border-bottom: 1upx solid #EEEEEE;
&:nth-last-child(1){
border-bottom: none;
}
>image{
width: 64upx;
height: 64upx;
margin-right: 14upx;
}
>view{
font-size: 28rpx;
font-weight: 400;
color: #020B18;
}
}
.types1{
display: flex;
align-items: center;
justify-content: space-between;
padding: 25upx 0;
border-bottom: 1upx solid #EEEEEE;
>view:nth-of-type(1){
width: 48upx;
height: 48upx;
background-color: #e7f3fd;
color: #178AF2;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
>view:nth-of-type(2){
width: 84upx;
height: 64upx;
background: rgba(248,84,75,0.102);
border-radius: 4upx;
display: flex;
align-items: center;
justify-content: center;
font-size: 28upx;
font-weight: 400;
color: #F8544B;
}
}
}
}
.select_top{
width: 750upx;
// height: 420upx;
background: #FFFFFF;
padding: 20upx 46upx;
box-sizing: border-box;
>.checktype{
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 20upx 0;
padding-bottom: 10upx;
padding-top: 25upx;
>view:nth-of-type(1){
font-size: 32upx;
font-weight: 400;
color: #092C4D;
}
>view:nth-of-type(2){
display: flex;
align-items: center;
.xz{
>view{
color: #0086F1 !important;
}
}
>view{
font-size: 28upx;
font-weight: 400;
color: #AFB5BE;
display: flex;
align-items: center;
margin-right: 20upx;
&:nth-last-child(1){
margin-right: 0 !important;
}
>image{
width: 32upx;
height: 32upx;
margin-right: 10upx;
}
>view{
font-size: 32upx;
font-weight: 400;
color: #020B18;
}
}
}
}
>.inputtext{
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 20upx 0;
border-bottom: 1upx solid #EEEEEE;
>view:nth-of-type(1){
font-size: 32upx;
font-weight: 400;
color: #092C4D;
}
>view:nth-of-type(2){
text-align: right;
}
}
>.selectlist{
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 20upx 0;
border-bottom: 1upx solid #EEEEEE;
>view:nth-of-type(1){
font-size: 32upx;
font-weight: 400;
color: #092C4D;
}
>view:nth-of-type(2){
display: flex;
align-items: center;
>view{
font-size: 28upx;
font-weight: 400;
color: #AFB5BE;
}
>image{
width: 24upx;
height: 32upx;
}
}
}
}
</style>

4
pagesHome/pages/inventoryenter/inventoryenter.vue

@ -119,7 +119,7 @@
<view>{{item.sku}}</view>
</view>
</view>
<view class="rksu">
<view class="rksu" @click.stop.prevent>
<view>
<view>数量</view>
<input placeholder="请输入数量" v-model="maknumber"/>
@ -776,7 +776,7 @@
}
.scvbw{
width: 100%;
height: 360upx;
height: 450upx;
margin-top: 30upx;
.scboxitem{
display: flex;

25
pagesHome/pages/lnventorysortinglist/lnventorysortinglist.vue

@ -142,10 +142,15 @@
}else{
if(Number(details.pageType)==1&&res.data.data.type==3){
uni.navigateTo({
url:'/pagesHome/pages/inventoryDetail/inventoryDetail?trayCode='
url:'/pagesHome/pages/inventoryenter/inventoryenter?trayCode='
+details.scancode+'&trayType='
+res.data.data.trayType
})
// uni.navigateTo({
// url:'/pagesHome/pages/inventoryDetail/inventoryDetail?trayCode='
// +details.scancode+'&trayType='
// +res.data.data.trayType
// })
}else if(Number(details.pageType)==2&&res.data.data.type==4){
uni.navigateTo({
url:'/pagesHome/pages/inventoryenter/inventoryenter?trayCode='
@ -153,6 +158,12 @@
+res.data.data.trayType
})
}else if(Number(details.pageType)==2&&res.data.data.type==3){
uni.navigateTo({
url:'/pagesHome/pages/inventoryenter/inventoryenter?trayCode='
+details.scancode+'&trayType='
+res.data.data.trayType
})
return
uni.showToast({
title:'库存品扫描分拣使用托盘码',
icon:'none'
@ -161,6 +172,12 @@
utils.ttsspke('库存品扫描分拣使用托盘码')
// #endif
}else if(Number(details.pageType)==1&&res.data.data.type==4){
uni.navigateTo({
url:'/pagesHome/pages/inventoryenter/inventoryenter?trayCode='
+details.scancode+'&trayType='
+res.data.data.trayType
})
return
uni.showToast({
title:'库存品人工分拣使用托盘码',
icon:'none'
@ -169,6 +186,12 @@
utils.ttsspke('库存品人工分拣使用托盘码')
// #endif
}else if(res.data.data.type==1||res.data.data.type==2){
uni.navigateTo({
url:'/pagesHome/pages/inventoryenter/inventoryenter?trayCode='
+details.scancode+'&trayType='
+res.data.data.trayType
})
return
uni.showToast({
title:'定制品分拣使用托盘码',
icon:'none'

8
pagesHome/pages/pickingScan/pickingScan.vue

@ -75,7 +75,7 @@
</view>
</view>
<view class="bts">
<view class="bts" v-if="Number(item.stockupStatus)!=40">
<!-- <view @click="submitsuccess">
备货完成
</view> -->
@ -140,6 +140,7 @@
})
function init(){
details.currentPage=1
details.dataList=[]
initpage()
}
function jiazai(){
@ -193,7 +194,7 @@
}
function setstate(state:number){
details.status=state
initpage()
init()
}
function submitsuccess(){
tip.value.setdetails({
@ -262,6 +263,9 @@
margin-bottom: 20upx;
padding-top: 20upx;
border-radius: 8upx;
>view:nth-last-child(1){
border-bottom: none !important;
}
.topbox{
display: flex;
flex-direction: column;

2
pagesHome/pages/scansorting/scansorting.vue

@ -132,13 +132,13 @@
console.log(res.data);
if(!res.data.isHasData){
uni.setStorageSync('trayCodeType',res.data.data)
uni.navigateTo({
url:'/pagesHome/pages/ScanSortingType/ScanSortingType?type='
+details.pageType
+'&trayCode='
+details.scancode
})
uni.setStorageSync('trayCodeType',res.data.data)
}else{
if(Number(details.pageType)==1&&res.data.data.type==1){
uni.navigateTo({

84
pagesHome/pages/setbarcode/setbarcode.vue

@ -19,14 +19,15 @@
</view>
</view>
<view class="butsbx">
<view v-if="items.unpack==0">采集原包条码</view>
<view v-if="items.unpack==0" @click="setstockPrint(1)">采集原包条码</view>
<view @click="setstockPrint(2)">扫描打印包条</view>
<view @click="showmd">新生成包码</view>
</view>
<scroll-view scroll-y="true" class="scrollv">
<view class="mabxs">
<view class="ite" v-for="(item,index) in codelist">
<view>
<view>序号{{index}}</view>
<view>序号{{index+1}}</view>
<view>作业时间2001-12-10</view>
</view>
<view>
@ -54,6 +55,7 @@
} from '@/api/user.js'
import { detailType } from '@/interfaces/pagesHome/setbarcode'
import { reactive, ref, toRefs,inject } from "vue";
const utils=inject('utils') as any
let details=reactive<detailType>({
items:{},
reservationId:'',
@ -61,7 +63,10 @@
printlist:[],
packageNum:0,
goodsAreaName:'',
stockupId:''
stockupId:'',
stockPrint:1,
customer:'',
deliveryAddress:'',
})
const tips=ref(null)
// const tiplists=ref(null)
@ -70,7 +75,7 @@
details.items=JSON.parse(op.item)
details.reservationId=op.reservationId
details.goodsAreaName=op.goodsAreaName
scandata('1231')
// scandata('1231')
uni.$on('scancodedate', function(code) {
if (code) {
console.log(code);
@ -99,14 +104,26 @@
}
})
}
function setstockPrint(values){
details.stockPrint=values
if(values==1){
utils.ttsspke('请扫描原有包条码')
}else{
utils.ttsspke('请扫描打印的包条码')
}
}
async function initpage(){
let data={
orderStatus:2,
reservationId:details.reservationId,
stockListId:details.items.stockListId
stockListId:details.items.stockListId,
stockupId:details.stockupId
}
let response=await distributionStockuporderInfo(data)
details.codelist=response.data.stockList
details.customer=response.data.customer
details.deliveryAddress=response.data.deliveryAddress
}
function showmd(){
tips.value.setdetails({
@ -174,43 +191,42 @@
}
})
}
function print(item){
function print(item:string){
// #ifdef APP
const util=(inject('utils') as any)
// let text='! 0 200 200 500 1\r\n'
// text+='SETBOLD 2\r\n'
// text+=`T 56 0 0 0 OPLYA230700015YA7\r\n`
// text+='LINE 0 50 420 50 3\r\n'
// text+=`T 55 0 0 60 \r\n`
// text+='LINE 40 50 40 110 3\r\n'
// text+=`T 55 0 50 60 \r\n`
// text+='LINE 40 80 420 80 3\r\n'
// text+=`T 55 0 50 90 驿西\r\n`
// text+='LINE 0 110 420 110 3\r\n'
// text+=`T 55 0 0 120 \r\n`
// text+='LINE 40 110 40 140 3\r\n'
// text+=`T 55 0 60 120 31\r\n`
// text+='LINE 0 140 420 140 3\r\n'
// text+='B QR 150 150 M 2 U 4\r\n'
// text+='MA,123141515215212\r\n'
// text+='ENDQR\r\n'
// text+=`T 55 0 140 260 123141515215212\r\n`
// text+='PRINT\r\n'
// const util=(inject('utils') as any)
let text='! 0 200 200 500 1\r\n'
text+='SETBOLD 2\r\n'
text+='B QR 80 40 M 2 U 8\r\n'
text+=`T 56 0 0 0 ${item}\r\n`
text+='LINE 0 50 420 50 3\r\n'
text+=`T 55 0 0 60 客户\r\n`
text+='LINE 40 50 40 110 3\r\n'
text+=`T 55 0 50 60 ${details.customer}\r\n`
text+='LINE 40 80 420 80 3\r\n'
text+=`T 55 0 50 90 ${details.deliveryAddress}\r\n`
text+='LINE 0 110 420 110 3\r\n'
text+=`T 55 0 0 120 物料\r\n`
text+='LINE 40 110 40 140 3\r\n'
text+=`T 55 0 60 120 ${details.items.materialName}\r\n`
text+='LINE 0 140 420 140 3\r\n'
text+='B QR 150 150 M 2 U 4\r\n'
text+=`MA,${item}\r\n`
text+='ENDQR\r\n'
text+=`T 56 0 15 280 ${item}\r\n`
text+='PRINT\r\n'
let sylist=util.initbl()
// let text='! 0 200 200 500 1\r\n'
// text+='SETBOLD 2\r\n'
// text+='B QR 80 40 M 2 U 8\r\n'
// text+=`MA,${item}\r\n`
// text+='ENDQR\r\n'
// text+=`T 56 0 15 280 ${item}\r\n`
// text+='PRINT\r\n'
let sylist=utils.initbl()
console.log(sylist);
sylist.map(item=>{
console.log(item);
if(item.uuids){
util.getbl(item,text)
utils.getbl(item,text)
}
})
// #endif
@ -222,8 +238,10 @@
packetBarCode:code,
stockupArea:details.goodsAreaName,
reservationId:details.reservationId,
stockupId:details.stockupId
stockupId:details.stockupId,
stockPrint:details.stockPrint
}
// utils.ttsspke('stockPrint'+details.stockPrint)
let res=await distributionStockupstockupScan(data)
console.log(res);
if(res.code==200){

BIN
pagesHome/static/editorder.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 985 B

BIN
pagesHome/static/nocheckblue.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 843 B

BIN
pagesHome/static/yescheckblue.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

413
unpackage/dist/dev/app-plus/app-service.js vendored

@ -1776,7 +1776,7 @@ if (uni.restoreGlobal) {
}
}
};
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@ -1790,7 +1790,7 @@ if (uni.restoreGlobal) {
/* STYLE */
);
}
const __easycom_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$g], ["__scopeId", "data-v-eb8e0cdd"], ["__file", "F:/物流/logPm/uni_modules/uview-plus/components/u-status-bar/u-status-bar.vue"]]);
const __easycom_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$e], ["__scopeId", "data-v-eb8e0cdd"], ["__file", "F:/物流/logPm/uni_modules/uview-plus/components/u-status-bar/u-status-bar.vue"]]);
const icons = {
"uicon-level": "",
"uicon-column-line": "",
@ -2144,7 +2144,7 @@ if (uni.restoreGlobal) {
}
}
};
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@ -2188,7 +2188,7 @@ if (uni.restoreGlobal) {
/* CLASS */
);
}
const __easycom_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$f], ["__scopeId", "data-v-ac70166d"], ["__file", "F:/物流/logPm/uni_modules/uview-plus/components/u-icon/u-icon.vue"]]);
const __easycom_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$d], ["__scopeId", "data-v-ac70166d"], ["__file", "F:/物流/logPm/uni_modules/uview-plus/components/u-icon/u-icon.vue"]]);
const props$1 = {
props: {
// 是否开启顶部安全区适配
@ -2293,7 +2293,7 @@ if (uni.restoreGlobal) {
}
}
};
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
const _component_u_status_bar = resolveEasycom(vue.resolveDynamicComponent("u-status-bar"), __easycom_0$1);
const _component_u_icon = resolveEasycom(vue.resolveDynamicComponent("u-icon"), __easycom_1$1);
return vue.openBlock(), vue.createElementBlock("view", { class: "u-navbar" }, [
@ -2405,7 +2405,7 @@ if (uni.restoreGlobal) {
)
]);
}
const __easycom_0 = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$e], ["__scopeId", "data-v-f631659b"], ["__file", "F:/物流/logPm/uni_modules/uview-plus/components/u-navbar/u-navbar.vue"]]);
const __easycom_0 = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$c], ["__scopeId", "data-v-f631659b"], ["__file", "F:/物流/logPm/uni_modules/uview-plus/components/u-navbar/u-navbar.vue"]]);
function getDevtoolsGlobalHook() {
return getTarget().__VUE_DEVTOOLS_GLOBAL_HOOK__;
}
@ -3651,13 +3651,13 @@ if (uni.restoreGlobal) {
formatAppLog("log", "at utils/utils.js:172", "引擎初始化成功");
TTSSpeech.setSpeed(100);
TTSSpeech.getInstallTTS((res) => {
formatAppLog("log", "at utils/utils.js:176", JSON.stringify(res));
formatAppLog("log", "at utils/utils.js:175", JSON.stringify(res));
let flage = false;
res.forEach((v) => {
if (v.name == "com.iflytek.speechcloud") {
flage = true;
}
formatAppLog("log", "at utils/utils.js:182", v.label + ": " + v.name);
formatAppLog("log", "at utils/utils.js:181", v.label + ": " + v.name);
});
if (!flage) {
uni.showModal({
@ -3693,12 +3693,12 @@ if (uni.restoreGlobal) {
}
});
} else {
formatAppLog("log", "at utils/utils.js:227", "引擎初始化失败");
formatAppLog("log", "at utils/utils.js:226", "引擎初始化失败");
}
}, "com.iflytek.speechcloud");
},
ttsspke: (text) => {
formatAppLog("log", "at utils/utils.js:232", "语音播报");
formatAppLog("log", "at utils/utils.js:231", "语音播报");
if (!text) {
return;
}
@ -3909,7 +3909,7 @@ if (uni.restoreGlobal) {
};
};
const base64 = new Base64();
const devhost = "http://test.api.huitongys.com/";
const devhost = "http://192.168.10.75:8777/";
const imghost = "";
const host = devhost;
const APPKEY = "h5u:h5u_secret";
@ -4216,9 +4216,15 @@ if (uni.restoreGlobal) {
header["Tenant-Id"] = params.data.tenantId;
params.data.password = hexMD5(params.data.password);
}
let urlhd = "";
if (uni.getStorageSync("setip")) {
urlhd = uni.getStorageSync("setip");
} else {
urlhd = host;
}
function req() {
uni.request({
url: host + params.url,
url: urlhd + params.url,
data: params.data,
method: params.method,
// dataType: "json",
@ -4270,7 +4276,7 @@ if (uni.restoreGlobal) {
utils.ttsspke("连接服务器失败");
}
}).catch((err) => {
formatAppLog("log", "at utils/request.js:105", err);
formatAppLog("log", "at utils/request.js:110", err);
api.error("请检查是否连接到无线网络");
utils.ttsspke("请检查是否连接到无线网络");
uni.hideLoading();
@ -5143,7 +5149,7 @@ if (uni.restoreGlobal) {
return;
}
let butres = await appbuttons({});
formatAppLog("log", "at pages/index/index.vue:273", butres.data);
formatAppLog("log", "at pages/index/index.vue:275", butres.data);
let qxan = [];
butres.data.map((item) => {
item.children.map((ite) => {
@ -5533,11 +5539,63 @@ if (uni.restoreGlobal) {
}
});
const PagesUserUser = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__file", "F:/物流/logPm/pages/user/user.vue"]]);
const _sfc_main$$ = {};
function _sfc_render$d(_ctx, _cache) {
return null;
}
const PagesNewsNews = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["render", _sfc_render$d], ["__file", "F:/物流/logPm/pages/news/news.vue"]]);
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
__name: "news",
setup(__props) {
let iptis = vue.ref("http://192.168.10.12:1086/");
if (uni.getStorageSync("setip")) {
iptis.value = uni.getStorageSync("setip");
}
function submitip() {
if (iptis.value) {
uni.setStorageSync("setip", iptis.value);
uni.showToast({
title: "设置成功",
icon: "success"
});
} else {
uni.showToast({
title: "请输入ip",
icon: "none"
});
}
}
return (_ctx, _cache) => {
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
[
vue.createElementVNode("view", { class: "titles" }, "切换环境"),
vue.createElementVNode("view", { class: "mabxose" }, [
vue.createElementVNode("view", { class: "titl" }, "请输入需要设置的IP环境"),
vue.createElementVNode("view", { class: "titl" }, "例:http://192.168.10.12:1086/"),
vue.createElementVNode("view", { class: "inps" }, [
vue.withDirectives(vue.createElementVNode(
"input",
{
placeholder: "请输入ip环境",
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(iptis) ? iptis.value = $event : iptis = $event)
},
null,
512
/* NEED_PATCH */
), [
[vue.vModelText, vue.unref(iptis)]
])
]),
vue.createElementVNode("view", {
class: "buts",
onClick: submitip
}, "确认")
])
],
64
/* STABLE_FRAGMENT */
);
};
}
});
const PagesNewsNews = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__file", "F:/物流/logPm/pages/news/news.vue"]]);
const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
__name: "taskList",
setup(__props) {
@ -6906,7 +6964,7 @@ if (uni.restoreGlobal) {
}
}
};
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@ -7147,7 +7205,7 @@ if (uni.restoreGlobal) {
/* HYDRATE_EVENTS */
);
}
const __easycom_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$c], ["__scopeId", "data-v-665735f1"], ["__file", "F:/物流/logPm/uni_modules/l-calendar/components/l-calendar/l-calendar.vue"]]);
const __easycom_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["render", _sfc_render$b], ["__scopeId", "data-v-665735f1"], ["__file", "F:/物流/logPm/uni_modules/l-calendar/components/l-calendar/l-calendar.vue"]]);
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
__name: "pickingScan",
setup(__props) {
@ -7186,6 +7244,7 @@ if (uni.restoreGlobal) {
});
function init() {
details.currentPage = 1;
details.dataList = [];
initpage();
}
function jiazai() {
@ -7227,7 +7286,7 @@ if (uni.restoreGlobal) {
}
function setstate(state) {
details.status = state;
initpage();
init();
}
const { datatime, dataList, show, status } = vue.toRefs(details);
return (_ctx, _cache) => {
@ -7425,12 +7484,15 @@ if (uni.restoreGlobal) {
])
])
]),
vue.createElementVNode("view", { class: "bts" }, [
Number(item.stockupStatus) != 40 ? (vue.openBlock(), vue.createElementBlock("view", {
key: 0,
class: "bts"
}, [
vue.createCommentVNode(' <view @click="submitsuccess">\r\n 备货完成\r\n </view> '),
vue.createElementVNode("view", {
onClick: ($event) => gostockuplist(item)
}, " 去备货 ", 8, ["onClick"])
])
])) : vue.createCommentVNode("v-if", true)
]);
}),
256
@ -7483,7 +7545,7 @@ if (uni.restoreGlobal) {
details.show = !details.show;
}
function onConfirm(e) {
formatAppLog("log", "at pagesHome/pages/SelfPickupScan/SelfPickupScan.vue:107", e);
formatAppLog("log", "at pagesHome/pages/SelfPickupScan/SelfPickupScan.vue:111", e);
date2.value[0] = e.startDate;
date2.value[1] = e.endDate;
details.datatime = date2.value[0] + " 至 " + date2.value[1];
@ -7706,6 +7768,16 @@ if (uni.restoreGlobal) {
1
/* TEXT */
)
]),
vue.createElementVNode("view", null, [
vue.createElementVNode("view", null, "库存品数"),
vue.createElementVNode(
"view",
null,
vue.toDisplayString(item.inventoryNub),
1
/* TEXT */
)
])
])
]),
@ -8911,7 +8983,7 @@ if (uni.restoreGlobal) {
});
const PagesHomePagesStockUplistScandetailsStockUplistScandetails = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__file", "F:/物流/logPm/pagesHome/pages/StockUplistScandetails/StockUplistScandetails.vue"]]);
const _sfc_main$S = {};
function _sfc_render$b(_ctx, _cache) {
function _sfc_render$a(_ctx, _cache) {
const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@ -8932,7 +9004,7 @@ if (uni.restoreGlobal) {
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
);
}
const PagesHomePagesDownScanDownScan = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$b], ["__file", "F:/物流/logPm/pagesHome/pages/DownScan/DownScan.vue"]]);
const PagesHomePagesDownScanDownScan = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$a], ["__file", "F:/物流/logPm/pagesHome/pages/DownScan/DownScan.vue"]]);
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
__name: "signinScan",
setup(__props) {
@ -9382,7 +9454,7 @@ if (uni.restoreGlobal) {
beforeDestroy() {
}
};
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@ -9494,7 +9566,7 @@ if (uni.restoreGlobal) {
/* STYLE */
);
}
const cusSelects = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$a], ["__scopeId", "data-v-7a3666ce"], ["__file", "F:/物流/logPm/compoment/cus-selects-fan/cus-selects-fan.vue"]]);
const cusSelects = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$9], ["__scopeId", "data-v-7a3666ce"], ["__file", "F:/物流/logPm/compoment/cus-selects-fan/cus-selects-fan.vue"]]);
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
__name: "SelfPScanList",
setup(__props) {
@ -9523,20 +9595,26 @@ if (uni.restoreGlobal) {
completeNum: "",
planNum: "",
signedNum: "",
inventoryNub: "",
scancode: ""
});
const tiplists = vue.ref(null);
onLoad((op) => {
details.billLadingId = op.billLadingId;
initpage();
});
onShow(() => {
uni.$on("scancodedate", function(code2) {
if (code2) {
formatAppLog("log", "at pagesHome/pages/SelfPScanList/SelfPScanList.vue:124", code2);
formatAppLog("log", "at pagesHome/pages/SelfPScanList/SelfPScanList.vue:135", code2);
details.scancode = code2;
sacn();
}
});
});
onHide(() => {
uni.$off("scancodedate");
});
function showsdqs() {
tiplists.value.setdetails({
isshow: true,
@ -9564,7 +9642,7 @@ if (uni.restoreGlobal) {
type: details.orderType == 1 ? "2" : "1"
};
let res = await billLadingscan(data);
formatAppLog("log", "at pagesHome/pages/SelfPScanList/SelfPScanList.vue:157", res);
formatAppLog("log", "at pagesHome/pages/SelfPScanList/SelfPScanList.vue:171", res);
if (res.code == 200) {
uni.showToast({
title: res.msg,
@ -9591,6 +9669,7 @@ if (uni.restoreGlobal) {
details.orderNum = response.data.orderNum;
details.completeNum = response.data.completeNum;
details.planNum = response.data.planNum;
details.inventoryNub = response.data.inventoryNub;
details.signedNum = response.data.signedNum;
} else if (details.orderType == 2) {
let date2 = {
@ -9624,7 +9703,7 @@ if (uni.restoreGlobal) {
if (item.value == e) {
details.schanvalue = item.label;
details.orderStatus = item.value;
formatAppLog("log", "at pagesHome/pages/SelfPScanList/SelfPScanList.vue:222", details.schanvalue);
formatAppLog("log", "at pagesHome/pages/SelfPScanList/SelfPScanList.vue:237", details.schanvalue);
}
});
}
@ -9653,7 +9732,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode(
"view",
null,
vue.toDisplayString(vue.unref(details).orderNum),
vue.toDisplayString(vue.unref(details).orderNum || 0),
1
/* TEXT */
)
@ -9663,7 +9742,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode(
"view",
null,
vue.toDisplayString(vue.unref(details).completeNum),
vue.toDisplayString(vue.unref(details).completeNum || 0),
1
/* TEXT */
)
@ -9673,7 +9752,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode(
"view",
null,
vue.toDisplayString(vue.unref(details).planNum),
vue.toDisplayString(vue.unref(details).planNum || 0),
1
/* TEXT */
)
@ -9683,7 +9762,17 @@ if (uni.restoreGlobal) {
vue.createElementVNode(
"view",
null,
vue.toDisplayString(vue.unref(details).signedNum),
vue.toDisplayString(vue.unref(details).signedNum || 0),
1
/* TEXT */
)
]),
vue.createElementVNode("view", null, [
vue.createElementVNode("view", null, "库存品数"),
vue.createElementVNode(
"view",
null,
vue.toDisplayString(vue.unref(details).inventoryNub || 0),
1
/* TEXT */
)
@ -9766,7 +9855,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("view", null, [
vue.createElementVNode("text", { style: { "color": "#90A0AF" } }, "订单编号:"),
vue.createTextVNode(
vue.toDisplayString(item.orderCode),
" " + vue.toDisplayString(item.orderSelfNumbering),
1
/* TEXT */
)
@ -10046,7 +10135,7 @@ if (uni.restoreGlobal) {
}
}
};
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@ -10060,7 +10149,7 @@ if (uni.restoreGlobal) {
/* CLASS, STYLE */
);
}
const __easycom_1 = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$9], ["__scopeId", "data-v-bf970acd"], ["__file", "F:/物流/logPm/uni_modules/uni-table/components/uni-th/uni-th.vue"]]);
const __easycom_1 = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$8], ["__scopeId", "data-v-bf970acd"], ["__file", "F:/物流/logPm/uni_modules/uni-table/components/uni-th/uni-th.vue"]]);
const _sfc_main$N = {
name: "TableCheckbox",
emits: ["checkboxSelected"],
@ -10126,7 +10215,7 @@ if (uni.restoreGlobal) {
}
}
};
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock("view", {
class: "uni-table-checkbox",
onClick: _cache[0] || (_cache[0] = (...args) => $options.selected && $options.selected(...args))
@ -10150,7 +10239,7 @@ if (uni.restoreGlobal) {
]))
]);
}
const tableCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$8], ["__scopeId", "data-v-25e435b1"], ["__file", "F:/物流/logPm/uni_modules/uni-table/components/uni-tr/table-checkbox.vue"]]);
const tableCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$7], ["__scopeId", "data-v-25e435b1"], ["__file", "F:/物流/logPm/uni_modules/uni-table/components/uni-tr/table-checkbox.vue"]]);
const _sfc_main$M = {
name: "uniTr",
components: { tableCheckbox },
@ -10238,7 +10327,7 @@ if (uni.restoreGlobal) {
}
}
};
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
const _component_table_checkbox = vue.resolveComponent("table-checkbox");
return vue.openBlock(), vue.createElementBlock("view", { class: "uni-table-tr" }, [
$data.selection === "selection" ? (vue.openBlock(), vue.createElementBlock(
@ -10261,7 +10350,7 @@ if (uni.restoreGlobal) {
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
]);
}
const __easycom_2 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$7], ["__scopeId", "data-v-b48b3e32"], ["__file", "F:/物流/logPm/uni_modules/uni-table/components/uni-tr/uni-tr.vue"]]);
const __easycom_2 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$6], ["__scopeId", "data-v-b48b3e32"], ["__file", "F:/物流/logPm/uni_modules/uni-table/components/uni-tr/uni-tr.vue"]]);
const _sfc_main$L = {
name: "uniTd",
options: {
@ -10311,7 +10400,7 @@ if (uni.restoreGlobal) {
}
}
};
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
@ -10334,7 +10423,7 @@ if (uni.restoreGlobal) {
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
);
}
const __easycom_3 = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$6], ["__scopeId", "data-v-edae4802"], ["__file", "F:/物流/logPm/uni_modules/uni-table/components/uni-td/uni-td.vue"]]);
const __easycom_3 = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$5], ["__scopeId", "data-v-edae4802"], ["__file", "F:/物流/logPm/uni_modules/uni-table/components/uni-td/uni-td.vue"]]);
const _sfc_main$K = {
name: "uniTable",
options: {
@ -10576,7 +10665,7 @@ if (uni.restoreGlobal) {
}
}
};
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
return vue.openBlock(), vue.createElementBlock(
"view",
{
@ -10626,7 +10715,7 @@ if (uni.restoreGlobal) {
/* CLASS */
);
}
const __easycom_4 = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$5], ["__scopeId", "data-v-c1ea9b5d"], ["__file", "F:/物流/logPm/uni_modules/uni-table/components/uni-table/uni-table.vue"]]);
const __easycom_4 = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$4], ["__scopeId", "data-v-c1ea9b5d"], ["__file", "F:/物流/logPm/uni_modules/uni-table/components/uni-table/uni-table.vue"]]);
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
__name: "SelfPickupDetails",
setup(__props) {
@ -10664,14 +10753,19 @@ if (uni.restoreGlobal) {
onLoad((op) => {
details.billLadingId = op.billLadingId;
initpage();
});
onShow(() => {
uni.$on("scancodedate", function(code2) {
if (code2) {
formatAppLog("log", "at pagesHome/pages/SelfPickupDetails/SelfPickupDetails.vue:135", code2);
formatAppLog("log", "at pagesHome/pages/SelfPickupDetails/SelfPickupDetails.vue:137", code2);
details.scancode = code2;
sacn();
}
});
});
onHide(() => {
uni.$off("scancodedate");
});
function showsdqs() {
tiplists.value.setdetails({
isshow: true,
@ -10699,7 +10793,7 @@ if (uni.restoreGlobal) {
type: details.orderType == 1 ? "2" : "1"
};
let res = await billLadingscan(data);
formatAppLog("log", "at pagesHome/pages/SelfPickupDetails/SelfPickupDetails.vue:168", res);
formatAppLog("log", "at pagesHome/pages/SelfPickupDetails/SelfPickupDetails.vue:173", res);
if (res.code == 200) {
uni.showToast({
title: res.msg,
@ -10753,7 +10847,7 @@ if (uni.restoreGlobal) {
if (item.value == e) {
details.schanvalue = item.label;
details.orderStatus = item.value;
formatAppLog("log", "at pagesHome/pages/SelfPickupDetails/SelfPickupDetails.vue:230", details.schanvalue);
formatAppLog("log", "at pagesHome/pages/SelfPickupDetails/SelfPickupDetails.vue:235", details.schanvalue);
}
});
}
@ -11544,6 +11638,7 @@ if (uni.restoreGlobal) {
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
__name: "CustomerOrdersDetails",
setup(__props) {
const utils2 = vue.inject("utils");
let details = vue.reactive({
schanvalue: "",
typearr: [
@ -11577,7 +11672,7 @@ if (uni.restoreGlobal) {
onShow(() => {
uni.$on("scancodedate", function(code2) {
if (code2) {
formatAppLog("log", "at pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue:143", code2);
formatAppLog("log", "at pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue:144", code2);
details.scancode = code2;
scandata();
}
@ -11596,6 +11691,12 @@ if (uni.restoreGlobal) {
});
return num;
});
vue.watchEffect(() => {
if (loadingNub.value != 0) {
formatAppLog("log", "at pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue:166", loadingNub.value + "件");
utils2.ttsspke(loadingNub.value + "件");
}
});
function showsdqs() {
tiplists.value.setdetails({
isshow: true,
@ -11640,7 +11741,7 @@ if (uni.restoreGlobal) {
if (item.value == e) {
details.schanvalue = item.label;
details.orderType = item.value;
formatAppLog("log", "at pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue:206", details.schanvalue);
formatAppLog("log", "at pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue:214", details.schanvalue);
}
});
}
@ -11658,7 +11759,7 @@ if (uni.restoreGlobal) {
barcode: details.scancode
};
let res = await deliveryloadingscan(data);
formatAppLog("log", "at pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue:226", res);
formatAppLog("log", "at pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue:234", res);
if (res.code == 200) {
uni.showToast({
title: res.msg,
@ -11679,7 +11780,7 @@ if (uni.restoreGlobal) {
barcode: details.scancode
};
let res = await deliveryloadinginventory(data);
formatAppLog("log", "at pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue:248", res);
formatAppLog("log", "at pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue:256", res);
if (res.code == 200) {
uni.showToast({
title: res.msg,
@ -12390,7 +12491,7 @@ if (uni.restoreGlobal) {
});
function gosetorice(item) {
uni.navigateTo({
url: "/pagesHome/pages/SetPrice/SetPrice"
url: "/pagesHome/pages/SetPrice/SetPrice?reservationId=" + details.id + "&item=" + JSON.stringify(item)
});
}
const signNub = vue.computed(() => {
@ -12454,7 +12555,7 @@ if (uni.restoreGlobal) {
driverRemarks: detail.inputtext
};
let res2 = await signforsignforack(data2);
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:184", res2);
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:185", res2);
if (res2.code == 200) {
uni.showToast({
title: res2.msg,
@ -12494,7 +12595,7 @@ if (uni.restoreGlobal) {
driverRemarks: detail.inputtext
};
let res = await signforoneclick(data);
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:225", res);
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:226", res);
if (res.code == 200) {
uni.showToast({
title: "批量签收成功",
@ -12518,15 +12619,15 @@ if (uni.restoreGlobal) {
});
}
function getLocation(item) {
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:250", "getLocation-------");
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:251", "getLocation-------");
uni.getLocation({
type: "wgs84",
geocode: true,
isHighAccuracy: true,
success: async function(res) {
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:256", JSON.stringify(res));
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:259", "当前位置的经度:" + res.longitude);
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:260", "当前位置的纬度:" + res.latitude);
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:257", JSON.stringify(res));
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:260", "当前位置的经度:" + res.longitude);
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:261", "当前位置的纬度:" + res.latitude);
let data = {
deliveryId: details.id,
reservationId: item.id,
@ -12534,7 +12635,7 @@ if (uni.restoreGlobal) {
positioningAdr: ""
};
let response = await signforpositioning(data);
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:268", response);
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:269", response);
if (response.code == 200) {
uni.showToast({
title: "定位打卡成功",
@ -12553,7 +12654,7 @@ if (uni.restoreGlobal) {
title: err.errMsg,
icon: "none"
});
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:287", err);
formatAppLog("log", "at pagesHome/pages/CustomerSign/CustomerSign.vue:288", err);
}
});
}
@ -12753,9 +12854,9 @@ if (uni.restoreGlobal) {
}, "上传签收图片", 8, ["onClick"])
]),
vue.createElementVNode("view", {
onClick: ($event) => gosetorice(),
onClick: ($event) => gosetorice(item),
class: "mabut"
}, " 设置服务 ", 8, ["onClick"]),
}, " 设置增值服务 ", 8, ["onClick"]),
vue.unref(authbuts).indexOf("批量签收") != -1 && item.deliveryStatus != "完成配送" ? (vue.openBlock(), vue.createElementBlock("view", {
key: 0,
class: "mabut",
@ -13790,6 +13891,7 @@ if (uni.restoreGlobal) {
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
__name: "setbarcode",
setup(__props) {
const utils2 = vue.inject("utils");
let details = vue.reactive({
items: {},
reservationId: "",
@ -13797,7 +13899,10 @@ if (uni.restoreGlobal) {
printlist: [],
packageNum: 0,
goodsAreaName: "",
stockupId: ""
stockupId: "",
stockPrint: 1,
customer: "",
deliveryAddress: ""
});
const tips2 = vue.ref(null);
onLoad((op) => {
@ -13805,23 +13910,33 @@ if (uni.restoreGlobal) {
details.items = JSON.parse(op.item);
details.reservationId = op.reservationId;
details.goodsAreaName = op.goodsAreaName;
scandata("1231");
uni.$on("scancodedate", function(code2) {
if (code2) {
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:76", code2);
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:81", code2);
scandata(code2);
}
});
initpage();
});
function setstockPrint(values) {
details.stockPrint = values;
if (values == 1) {
utils2.ttsspke("请扫描原有包条码");
} else {
utils2.ttsspke("请扫描打印的包条码");
}
}
async function initpage() {
let data = {
orderStatus: 2,
reservationId: details.reservationId,
stockListId: details.items.stockListId
stockListId: details.items.stockListId,
stockupId: details.stockupId
};
let response = await distributionStockuporderInfo(data);
details.codelist = response.data.stockList;
details.customer = response.data.customer;
details.deliveryAddress = response.data.deliveryAddress;
}
function showmd() {
tips2.value.setdetails({
@ -13830,7 +13945,7 @@ if (uni.restoreGlobal) {
tipstate: 1,
placeholder: "请输入需要生成的包条码数量",
success: (deta) => {
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:118", deta);
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:135", deta);
details.packageNum = deta.inputtext;
if (Number(details.packageNum) > Number(details.items.planNum)) {
uni.showToast({
@ -13857,7 +13972,7 @@ if (uni.restoreGlobal) {
packageNum: details.packageNum
};
let response = await distributionStockupstockupStockListPackageCode(data);
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:146", response);
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:163", response);
details.printlist = response.data;
tips2.value.setdetails({
title: "请选择要打印的包条",
@ -13888,22 +14003,37 @@ if (uni.restoreGlobal) {
});
}
function print(item) {
const util = vue.inject("utils");
let text = "! 0 200 200 500 1\r\n";
text += "SETBOLD 2\r\n";
text += "B QR 80 40 M 2 U 8\r\n";
text += `T 56 0 0 0 ${item}\r
`;
text += "LINE 0 50 420 50 3\r\n";
text += `T 55 0 0 60 客户\r
`;
text += "LINE 40 50 40 110 3\r\n";
text += `T 55 0 50 60 ${details.customer}\r
`;
text += "LINE 40 80 420 80 3\r\n";
text += `T 55 0 50 90 ${details.deliveryAddress}\r
`;
text += "LINE 0 110 420 110 3\r\n";
text += `T 55 0 0 120 物料\r
`;
text += "LINE 40 110 40 140 3\r\n";
text += `T 55 0 60 120 ${details.items.materialName}\r
`;
text += "LINE 0 140 420 140 3\r\n";
text += "B QR 150 150 M 2 U 4\r\n";
text += `MA,${item}\r
`;
text += "ENDQR\r\n";
text += `T 56 0 15 280 ${item}\r
`;
text += "PRINT\r\n";
let sylist = util.initbl();
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:209", sylist);
let sylist = utils2.initbl();
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:225", sylist);
sylist.map((item2) => {
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:211", item2);
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:227", item2);
if (item2.uuids) {
util.getbl(item2, text);
utils2.getbl(item2, text);
}
});
}
@ -13914,10 +14044,11 @@ if (uni.restoreGlobal) {
packetBarCode: code2,
stockupArea: details.goodsAreaName,
reservationId: details.reservationId,
stockupId: details.stockupId
stockupId: details.stockupId,
stockPrint: details.stockPrint
};
let res = await distributionStockupstockupScan(data);
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:228", res);
formatAppLog("log", "at pagesHome/pages/setbarcode/setbarcode.vue:246", res);
if (res.code == 200) {
uni.showToast({
title: res.msg,
@ -14019,7 +14150,13 @@ if (uni.restoreGlobal) {
])
]),
vue.createElementVNode("view", { class: "butsbx" }, [
vue.unref(items).unpack == 0 ? (vue.openBlock(), vue.createElementBlock("view", { key: 0 }, "采集原包条码")) : vue.createCommentVNode("v-if", true),
vue.unref(items).unpack == 0 ? (vue.openBlock(), vue.createElementBlock("view", {
key: 0,
onClick: _cache[0] || (_cache[0] = ($event) => setstockPrint(1))
}, "采集原包条码")) : vue.createCommentVNode("v-if", true),
vue.createElementVNode("view", {
onClick: _cache[1] || (_cache[1] = ($event) => setstockPrint(2))
}, "扫描打印包条"),
vue.createElementVNode("view", { onClick: showmd }, "新生成包码")
]),
vue.createElementVNode("scroll-view", {
@ -14036,7 +14173,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode(
"view",
null,
"序号:" + vue.toDisplayString(index2),
"序号:" + vue.toDisplayString(index2 + 1),
1
/* TEXT */
),
@ -14872,7 +15009,7 @@ if (uni.restoreGlobal) {
});
const PagesHomePagesScansortingScansorting = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "F:/物流/logPm/pagesHome/pages/scansorting/scansorting.vue"]]);
const _sfc_main$w = {};
function _sfc_render$4(_ctx, _cache) {
function _sfc_render$3(_ctx, _cache) {
const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
@ -14894,7 +15031,7 @@ if (uni.restoreGlobal) {
/* STABLE_FRAGMENT */
);
}
const PagesHomePagesPeopleSortingPeopleSorting = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$4], ["__file", "F:/物流/logPm/pagesHome/pages/peopleSorting/peopleSorting.vue"]]);
const PagesHomePagesPeopleSortingPeopleSorting = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$3], ["__file", "F:/物流/logPm/pagesHome/pages/peopleSorting/peopleSorting.vue"]]);
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
__name: "OrderSortingDetail",
setup(__props) {
@ -16687,11 +16824,11 @@ if (uni.restoreGlobal) {
vue.unref(showstate) != 0 ? (vue.openBlock(), vue.createElementBlock("view", {
key: 0,
class: "tanchuangbg",
onClick: _cache[5] || (_cache[5] = ($event) => setshowstate(0))
onClick: _cache[6] || (_cache[6] = ($event) => setshowstate(0))
}, [
vue.createElementVNode("view", {
class: "inputbox",
onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
onClick: _cache[5] || (_cache[5] = vue.withModifiers(() => {
}, ["stop", "prevent"]))
}, [
vue.createElementVNode("view", { class: "inputscan" }, [
@ -16791,7 +16928,11 @@ if (uni.restoreGlobal) {
)
])
]),
vue.createElementVNode("view", { class: "rksu" }, [
vue.createElementVNode("view", {
class: "rksu",
onClick: _cache[3] || (_cache[3] = vue.withModifiers(() => {
}, ["stop", "prevent"]))
}, [
vue.createElementVNode("view", null, [
vue.createElementVNode("view", null, "数量:"),
vue.withDirectives(vue.createElementVNode(
@ -16847,7 +16988,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("view", { class: "btx" }, [
vue.createElementVNode("view", {
class: "cancel",
onClick: _cache[3] || (_cache[3] = ($event) => setshowstate(0))
onClick: _cache[4] || (_cache[4] = ($event) => setshowstate(0))
}, "取消"),
vue.createElementVNode("view", {
class: "confirm",
@ -16938,30 +17079,27 @@ if (uni.restoreGlobal) {
} else {
if (Number(details.pageType) == 1 && res.data.data.type == 3) {
uni.navigateTo({
url: "/pagesHome/pages/inventoryDetail/inventoryDetail?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
url: "/pagesHome/pages/inventoryenter/inventoryenter?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
});
} else if (Number(details.pageType) == 2 && res.data.data.type == 4) {
uni.navigateTo({
url: "/pagesHome/pages/inventoryenter/inventoryenter?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
});
} else if (Number(details.pageType) == 2 && res.data.data.type == 3) {
uni.showToast({
title: "库存品扫描分拣使用托盘码",
icon: "none"
uni.navigateTo({
url: "/pagesHome/pages/inventoryenter/inventoryenter?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
});
utils.ttsspke("库存品扫描分拣使用托盘码");
return;
} else if (Number(details.pageType) == 1 && res.data.data.type == 4) {
uni.showToast({
title: "库存品人工分拣使用托盘码",
icon: "none"
uni.navigateTo({
url: "/pagesHome/pages/inventoryenter/inventoryenter?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
});
utils.ttsspke("库存品人工分拣使用托盘码");
return;
} else if (res.data.data.type == 1 || res.data.data.type == 2) {
uni.showToast({
title: "定制品分拣使用托盘码",
icon: "none"
uni.navigateTo({
url: "/pagesHome/pages/inventoryenter/inventoryenter?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
});
utils.ttsspke("定制品分拣使用托盘码");
return;
}
}
}
@ -16993,7 +17131,7 @@ if (uni.restoreGlobal) {
details.show = !details.show;
}
function onConfirm(e) {
formatAppLog("log", "at pagesHome/pages/lnventorysortinglist/lnventorysortinglist.vue:219", e);
formatAppLog("log", "at pagesHome/pages/lnventorysortinglist/lnventorysortinglist.vue:242", e);
date2.value[0] = e.startDate;
date2.value[1] = e.endDate;
details.datatime = date2.value[0] + " 至 " + date2.value[1];
@ -17571,9 +17709,8 @@ if (uni.restoreGlobal) {
details.uplistarr = fn2(details.uplistarr, "orderCode");
} else if (Number(details.upshelfScanType) == 3) {
details.uplistarr = fn2(details.uplistarr, "orderPackageCode");
} else if (Number(details.upshelfScanType) == 4) {
details.uplistarr = fn2(details.uplistarr, "trayCode");
}
} else if (Number(details.upshelfScanType) == 4)
;
});
onLoad((op) => {
details.upshelfScanType = op.type;
@ -21301,20 +21438,54 @@ if (uni.restoreGlobal) {
}
});
const PagesHomePagesDownGoodsDownGoods = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "F:/物流/logPm/pagesHome/pages/DownGoods/DownGoods.vue"]]);
const _sfc_main$a = {};
function _sfc_render$3(_ctx, _cache) {
const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0);
return vue.openBlock(), vue.createBlock(_component_u_navbar, {
title: "设置服务费",
bgColor: "#D3832A",
leftIconColor: "#ffffff",
titleStyle: "color:#ffffff",
placeholder: "",
autoBack: true,
leftIconSize: "35"
});
}
const PagesHomePagesSetPriceSetPrice = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$3], ["__file", "F:/物流/logPm/pagesHome/pages/SetPrice/SetPrice.vue"]]);
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
__name: "SetPrice",
setup(__props) {
let details = vue.reactive({
reservationId: "",
items: {}
});
onLoad((op) => {
details.reservationId = op.reservationId;
details.items = op.item;
});
return (_ctx, _cache) => {
const _component_u_navbar = resolveEasycom(vue.resolveDynamicComponent("u-navbar"), __easycom_0);
return vue.openBlock(), vue.createElementBlock(
vue.Fragment,
null,
[
vue.createVNode(_component_u_navbar, {
title: "增值服务",
bgColor: "#D3832A",
leftIconColor: "#ffffff",
titleStyle: "color:#ffffff",
placeholder: "",
autoBack: true,
leftIconSize: "35"
}),
vue.createElementVNode("view", { class: "bgcolo" }),
vue.createElementVNode("view", { class: "card_use" }, [
vue.createElementVNode("view", { class: "card_top" }, [
vue.createElementVNode("view", null, [
vue.createElementVNode("view", null, "客户"),
vue.createElementVNode("view", null, "张磊")
]),
vue.createElementVNode("view", null, [
vue.createElementVNode("view", null, "签收状态"),
vue.createElementVNode("view", { style: { "color": "#0086F1" } }, "配送中")
])
]),
vue.createElementVNode("view", { class: "card-content" })
])
],
64
/* STABLE_FRAGMENT */
);
};
}
});
const PagesHomePagesSetPriceSetPrice = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "F:/物流/logPm/pagesHome/pages/SetPrice/SetPrice.vue"]]);
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
__name: "RemoveTray",
setup(__props) {
@ -25276,6 +25447,7 @@ if (uni.restoreGlobal) {
vue.createCommentVNode(` <view class="contents">\r
{{content||'提示内容模板'}}\r
</view> `),
vue.createElementVNode("view", { class: "tpstitl" }, "请上传照片(上门照,货物堆放照,签收照,易碎品贵重物品,家配照):"),
vue.createElementVNode("view", { class: "imgbx" }, [
(vue.openBlock(true), vue.createElementBlock(
vue.Fragment,
@ -25299,6 +25471,7 @@ if (uni.restoreGlobal) {
vue.createElementVNode("image", { src: "/static/add.png" })
])) : vue.createCommentVNode("v-if", true)
]),
vue.createCommentVNode(' <view class="tpstitl">货物堆放照:</view>\r\n <view class="imgbx">\r\n <view v-for="(item,index) in details.imglist">\r\n <image :src="item"></image>\r\n <image @click="remove(index)" src="/compoment/cus-selects-fan/cha.png"></image>\r\n </view>\r\n <view @click="updateimg" v-if="details.imglist.length!=details.maximglength">\r\n <image src="/static/add.png"></image>\r\n </view>\r\n </view>\r\n <view class="tpstitl">易碎品贵重物品:</view>\r\n <view class="imgbx">\r\n <view v-for="(item,index) in details.imglist">\r\n <image :src="item"></image>\r\n <image @click="remove(index)" src="/compoment/cus-selects-fan/cha.png"></image>\r\n </view>\r\n <view @click="updateimg" v-if="details.imglist.length!=details.maximglength">\r\n <image src="/static/add.png"></image>\r\n </view>\r\n </view> '),
vue.createElementVNode("view", { class: "inputbx" }, [
vue.withDirectives(vue.createElementVNode("input", {
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(inputtext) ? inputtext.value = $event : null),

10
unpackage/dist/dev/app-plus/app.css vendored

@ -686,6 +686,10 @@ body {
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tpstitl[data-v-a3a2f036] {
font-size: 0.8125rem;
width: 17.1875rem;
}
.maboxbg[data-v-a3a2f036] {
width: 100%;
height: 100%;
@ -723,11 +727,11 @@ body {
width: 17.1875rem;
display: grid;
grid-template-columns: 33% 33% 33%;
margin-top: 0.9375rem;
margin-top: 0.625rem;
}
.modtips .imgbx > uni-view[data-v-a3a2f036] {
width: 4.6875rem;
height: 4.6875rem;
width: 4.0625rem;
height: 4.0625rem;
padding: 0.3125rem;
box-sizing: border-box;
border: 0.03125rem solid #e6e6e6;

70
unpackage/dist/dev/app-plus/pages/news/news.css vendored

@ -0,0 +1,70 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.titles {
position: absolute;
left: 50%;
top: 2.1875rem;
transform: translate(-50%);
font-size: 1.125rem;
font-weight: 400;
color: #D3832A;
z-index: 5;
}
.mabxose {
margin: auto;
margin-top: 4.6875rem;
width: 17.5rem;
padding: 0.625rem;
background-color: #f0e6dc;
border-radius: 0.3125rem;
}
.mabxose .titl {
color: #D3832A;
}
.mabxose .inps {
width: 15.625rem;
height: 1.875rem;
border: 0.03125rem solid #cfcfcf;
display: flex;
align-items: center;
justify-content: flex-start;
margin-top: 0.625rem;
}
.mabxose .inps > uni-input {
flex: 1;
}
.mabxose .buts {
background-color: #D3832A;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
width: 7.5rem;
height: 2.5rem;
border-radius: 0.3125rem;
margin: auto;
margin-top: 0.625rem;
}

2
unpackage/dist/dev/app-plus/pagesHome/pages/DownGoods/DownGoods.css vendored

@ -289,7 +289,7 @@ uni-view[data-v-f631659b], uni-scroll-view[data-v-f631659b], uni-swiper-item[dat
}
.tanchuangbg .inputbox .scvbw {
width: 100%;
height: 11.25rem;
height: 14.0625rem;
margin-top: 0.9375rem;
}
.tanchuangbg .inputbox .scvbw .scboxitem {

2
unpackage/dist/dev/app-plus/pagesHome/pages/PeopleScanUp/PeopleScanUp.css vendored

@ -289,7 +289,7 @@ uni-view[data-v-f631659b], uni-scroll-view[data-v-f631659b], uni-swiper-item[dat
}
.tanchuangbg .inputbox .scvbw {
width: 100%;
height: 11.25rem;
height: 14.0625rem;
margin-top: 0.9375rem;
}
.tanchuangbg .inputbox .scvbw .scboxitem {

2
unpackage/dist/dev/app-plus/pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.css vendored

@ -399,7 +399,7 @@ uni-view[data-v-f631659b], uni-scroll-view[data-v-f631659b], uni-swiper-item[dat
}
.tanchuangbg .inputbox .scvbw[data-v-e9f42dec] {
width: 100%;
height: 11.25rem;
height: 14.0625rem;
margin-top: 0.9375rem;
}
.tanchuangbg .inputbox .scvbw .scboxitem[data-v-e9f42dec] {

5
unpackage/dist/dev/app-plus/pagesHome/pages/SelfPickupScan/SelfPickupScan.css vendored

@ -591,9 +591,12 @@ uni-view[data-v-f631659b], uni-scroll-view[data-v-f631659b], uni-swiper-item[dat
color: #092C4D;
}
.scvbx .mabxslist > .item > .headtop > .liebs > uni-view:nth-of-type(2) > uni-view:nth-of-type(2) {
color: #3AD8BC;
color: #0086F1;
}
.scvbx .mabxslist > .item > .headtop > .liebs > uni-view:nth-of-type(3) > uni-view:nth-of-type(2) {
color: #3AD8BC;
}
.scvbx .mabxslist > .item > .headtop > .liebs > uni-view:nth-of-type(4) > uni-view:nth-of-type(2) {
color: #FA8C16;
}
.scvbx .mabxslist > .item > .headtop > .liebs > uni-view > uni-view:nth-of-type(1) {

72
unpackage/dist/dev/app-plus/pagesHome/pages/SetPrice/SetPrice.css vendored

@ -200,3 +200,75 @@ uni-view[data-v-f631659b], uni-scroll-view[data-v-f631659b], uni-swiper-item[dat
font-size: 15px;
margin-left: 3px;
}
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.bgcolo {
width: 23.4375rem;
height: 6.25rem;
background: linear-gradient(180deg, #D3832A 0%, rgba(211, 131, 42, 0) 100%);
border-radius: 0 0 0 0;
opacity: 1;
position: absolute;
left: 0;
}
.card_use {
width: 21.4375rem;
height: 8.75rem;
background: #FFFFFF;
border-radius: 0.5rem;
position: relative;
margin: auto;
margin-top: 1.25rem;
padding: 0.8125rem 0.6875rem;
box-sizing: border-box;
}
.card_use .card_top {
display: flex;
align-items: center;
}
.card_use .card_top > uni-view {
width: 50%;
display: flex;
align-items: center;
}
.card_use .card_top > uni-view > uni-view:nth-of-type(1) {
font-size: 1rem;
font-weight: 400;
color: #8D97A3;
margin-right: 0.9375rem;
}
.card_use .card_top > uni-view > uni-view:nth-of-type(2) {
font-size: 1rem;
font-weight: 500;
color: #092C4D;
}
.card_use .card-content {
width: 20rem;
height: 5rem;
background: #F5F7FB;
border-radius: 0.25rem;
margin-top: 0.75rem;
}

2
unpackage/dist/dev/app-plus/pagesHome/pages/inventoryenter/inventoryenter.css vendored

@ -607,7 +607,7 @@ uni-view[data-v-f631659b], uni-scroll-view[data-v-f631659b], uni-swiper-item[dat
}
.tanchuangbg .inputbox .scvbw {
width: 100%;
height: 11.25rem;
height: 14.0625rem;
margin-top: 0.9375rem;
}
.tanchuangbg .inputbox .scvbw .scboxitem {

3
unpackage/dist/dev/app-plus/pagesHome/pages/pickingScan/pickingScan.css vendored

@ -567,6 +567,9 @@ uni-view[data-v-f631659b], uni-scroll-view[data-v-f631659b], uni-swiper-item[dat
padding-top: 0.625rem;
border-radius: 0.25rem;
}
.sccv .mabx > uni-view > uni-view:nth-last-child(1) {
border-bottom: none !important;
}
.sccv .mabx > uni-view .topbox {
display: flex;
flex-direction: column;

1
unpackage/dist/dev/mp-weixin/app.js vendored

@ -61,6 +61,7 @@ if (!Math) {
"./pagesHome/pages/SetPrice/SetPrice.js";
"./pagesHome/pages/RemoveTray/RemoveTray.js";
"./pagesHome/pages/Check/Check.js";
"./pagesHome/pages/createAddServe/createAddServe.js";
}
const _sfc_main = {
setup() {

3
unpackage/dist/dev/mp-weixin/app.json vendored

@ -56,7 +56,8 @@
"pages/DownGoods/DownGoods",
"pages/SetPrice/SetPrice",
"pages/RemoveTray/RemoveTray",
"pages/Check/Check"
"pages/Check/Check",
"pages/createAddServe/createAddServe"
]
}
],

2
unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.wxml vendored

@ -1 +1 @@
<view wx:if="{{a}}" class="maboxbg" bindtap="{{L}}"><view wx:if="{{b}}" class="modtips" catchtap="{{l}}"><view class="title">{{c}}</view><view class="inputbx"><input placeholder="{{d}}" value="{{e}}" bindinput="{{f}}"/></view><view class="buts"><view wx:if="{{g}}" bindtap="{{i}}" class="cancel">{{h}}</view><view bindtap="{{k}}" class="confirm">{{j}}</view></view></view><view wx:if="{{m}}" class="modtips" catchtap="{{v}}"><view class="title">{{n}}</view><view class="listcheck"><view wx:for="{{o}}" wx:for-item="item" bindtap="{{item.c}}"><image src="{{item.a}}"></image><view>{{item.b}}</view></view></view><view class="buts"><view wx:if="{{p}}" bindtap="{{r}}" class="cancel">{{q}}</view><view bindtap="{{t}}" class="confirm">{{s}}</view></view></view><view wx:if="{{w}}" class="modtips" catchtap="{{K}}"><view class="title">{{x}}</view><view class="imgbx"><view wx:for="{{y}}" wx:for-item="item"><image src="{{item.a}}"></image><image bindtap="{{item.b}}" src="{{z}}"></image></view><view wx:if="{{A}}" bindtap="{{B}}"><image src="/static/add.png"></image></view></view><view class="inputbx"><input placeholder="{{C}}" value="{{D}}" bindinput="{{E}}"/></view><view class="buts"><view wx:if="{{F}}" bindtap="{{H}}" class="cancel">{{G}}</view><view bindtap="{{J}}" class="confirm">{{I}}</view></view></view></view>
<view wx:if="{{a}}" class="maboxbg" bindtap="{{L}}"><view wx:if="{{b}}" class="modtips" catchtap="{{l}}"><view class="title">{{c}}</view><view class="inputbx"><input placeholder="{{d}}" value="{{e}}" bindinput="{{f}}"/></view><view class="buts"><view wx:if="{{g}}" bindtap="{{i}}" class="cancel">{{h}}</view><view bindtap="{{k}}" class="confirm">{{j}}</view></view></view><view wx:if="{{m}}" class="modtips" catchtap="{{v}}"><view class="title">{{n}}</view><view class="listcheck"><view wx:for="{{o}}" wx:for-item="item" bindtap="{{item.c}}"><image src="{{item.a}}"></image><view>{{item.b}}</view></view></view><view class="buts"><view wx:if="{{p}}" bindtap="{{r}}" class="cancel">{{q}}</view><view bindtap="{{t}}" class="confirm">{{s}}</view></view></view><view wx:if="{{w}}" class="modtips" catchtap="{{K}}"><view class="title">{{x}}</view><view class="tpstitl">请上传照片(上门照,货物堆放照,签收照,易碎品贵重物品,家配照):</view><view class="imgbx"><view wx:for="{{y}}" wx:for-item="item"><image src="{{item.a}}"></image><image bindtap="{{item.b}}" src="{{z}}"></image></view><view wx:if="{{A}}" bindtap="{{B}}"><image src="/static/add.png"></image></view></view><view class="inputbx"><input placeholder="{{C}}" value="{{D}}" bindinput="{{E}}"/></view><view class="buts"><view wx:if="{{F}}" bindtap="{{H}}" class="cancel">{{G}}</view><view bindtap="{{J}}" class="confirm">{{I}}</view></view></view></view>

10
unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.wxss vendored

@ -23,6 +23,10 @@
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.tpstitl {
font-size: 26rpx;
width: 550rpx;
}
.maboxbg {
width: 100%;
height: 100%;
@ -60,11 +64,11 @@
width: 550rpx;
display: grid;
grid-template-columns: 33% 33% 33%;
margin-top: 30rpx;
margin-top: 20rpx;
}
.modtips .imgbx > view {
width: 150rpx;
height: 150rpx;
width: 130rpx;
height: 130rpx;
padding: 10rpx;
box-sizing: border-box;
border: 1rpx solid #e6e6e6;

2
unpackage/dist/dev/mp-weixin/config/host.js vendored

@ -1,5 +1,5 @@
"use strict";
const devhost = "http://test.api.huitongys.com/";
const devhost = "http://192.168.10.29:13000/";
const imghost = "";
const host = devhost;
const APPKEY = "h5u:h5u_secret";

36
unpackage/dist/dev/mp-weixin/pages/news/news.js vendored

@ -1,8 +1,34 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {};
function _sfc_render(_ctx, _cache) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "F:/物流/logPm/pages/news/news.vue"]]);
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "news",
setup(__props) {
let iptis = common_vendor.ref("http://192.168.10.12:1086/");
if (common_vendor.index.getStorageSync("setip")) {
iptis.value = common_vendor.index.getStorageSync("setip");
}
function submitip() {
if (iptis.value) {
common_vendor.index.setStorageSync("setip", iptis.value);
common_vendor.index.showToast({
title: "设置成功",
icon: "success"
});
} else {
common_vendor.index.showToast({
title: "请输入ip",
icon: "none"
});
}
}
return (_ctx, _cache) => {
return {
a: common_vendor.unref(iptis),
b: common_vendor.o(($event) => common_vendor.isRef(iptis) ? iptis.value = $event.detail.value : iptis = $event.detail.value),
c: common_vendor.o(submitip)
};
};
}
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "F:/物流/logPm/pages/news/news.vue"]]);
wx.createPage(MiniProgramPage);

1
unpackage/dist/dev/mp-weixin/pages/news/news.wxml vendored

@ -0,0 +1 @@
<view class="titles">切换环境</view><view class="mabxose"><view class="titl">请输入需要设置的IP环境</view><view class="titl">例:http://192.168.10.12:1086/</view><view class="inps"><input placeholder="请输入ip环境" value="{{a}}" bindinput="{{b}}"/></view><view class="buts" bindtap="{{c}}">确认</view></view>

70
unpackage/dist/dev/mp-weixin/pages/news/news.wxss vendored

@ -0,0 +1,70 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.titles {
position: absolute;
left: 50%;
top: 70rpx;
transform: translate(-50%);
font-size: 36rpx;
font-weight: 400;
color: #D3832A;
z-index: 5;
}
.mabxose {
margin: auto;
margin-top: 150rpx;
width: 560rpx;
padding: 20rpx;
background-color: #f0e6dc;
border-radius: 10rpx;
}
.mabxose .titl {
color: #D3832A;
}
.mabxose .inps {
width: 500rpx;
height: 60rpx;
border: 1rpx solid #cfcfcf;
display: flex;
align-items: center;
justify-content: flex-start;
margin-top: 20rpx;
}
.mabxose .inps > input {
flex: 1;
}
.mabxose .buts {
background-color: #D3832A;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
width: 240rpx;
height: 80rpx;
border-radius: 10rpx;
margin: auto;
margin-top: 20rpx;
}

2
unpackage/dist/dev/mp-weixin/pages/user/user.js vendored

@ -22,7 +22,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
function removeall() {
const res = common_vendor.index.getStorageInfoSync();
res.keys.map((item) => {
if (item == "loginuser" || item == "HistoryDate") {
if (item == "loginuser" || item == "HistoryDate" || item == "setip") {
return;
}
common_vendor.index.removeStorageSync(item);

7
unpackage/dist/dev/mp-weixin/pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.js vendored

@ -22,6 +22,7 @@ const cusSelects = () => "../../../compoment/cus-selects-fan/cus-selects-fan.js"
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "CustomerOrdersDetails",
setup(__props) {
const utils = common_vendor.inject("utils");
let details = common_vendor.reactive({
schanvalue: "",
typearr: [
@ -74,6 +75,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
});
return num;
});
common_vendor.watchEffect(() => {
if (loadingNub.value != 0) {
console.log(loadingNub.value + "件");
utils.ttsspke(loadingNub.value + "件");
}
});
function showsdqs() {
tiplists.value.setdetails({
isshow: true,

4
unpackage/dist/dev/mp-weixin/pagesHome/pages/CustomerSign/CustomerSign.js vendored

@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
});
function gosetorice(item) {
common_vendor.index.navigateTo({
url: "/pagesHome/pages/SetPrice/SetPrice"
url: "/pagesHome/pages/SetPrice/SetPrice?reservationId=" + details.id + "&item=" + JSON.stringify(item)
});
}
const signNub = common_vendor.computed(() => {
@ -245,7 +245,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
k: common_vendor.o(($event) => getLocation(item)),
l: common_vendor.o(($event) => gosinorderscan(item)),
m: common_vendor.o(($event) => uplodimg(item)),
n: common_vendor.o(($event) => gosetorice()),
n: common_vendor.o(($event) => gosetorice(item)),
o: common_vendor.unref(authbuts).indexOf("批量签收") != -1 && item.deliveryStatus != "完成配送"
}, common_vendor.unref(authbuts).indexOf("批量签收") != -1 && item.deliveryStatus != "完成配送" ? {
p: common_vendor.o(($event) => allclick(item))

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/CustomerSign/CustomerSign.wxml vendored

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="aed605e0-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="hedtopt"><view class="typto"><view>配车类型:{{b}}</view><view>配车状态:{{c}}</view></view><view class="typto"><view>车牌号:{{d}}</view><view>司机:{{e}}</view></view><view class="typto"><view>装卸班组:{{f}}</view><view>备货是否完成:{{g}}</view></view><view class="kehupeison"><view><view>配送客户数</view><view>{{h}}</view></view><view><view>订单总数</view><view>{{i}}</view></view><view><view>配送件数</view><view>{{j}}</view></view><view><view>签收件数</view><view>{{k}}</view></view></view></view><scroll-view scroll-y="true" class="scvbx"><view class="mabx"><view wx:for="{{l}}" wx:for-item="item" class="its"><view class="title"><view style="{{item.c}}">客户:{{item.a}} {{item.b}}</view><view class="statetype">{{item.d}}</view></view><view class="conxb"><view><view>订单总数</view><view>{{item.e}}</view></view><view><view>配送件数</view><view>{{item.f}}</view></view><view><view>扫描件数</view><view>{{item.g}}</view></view></view><view class="remarks"> 备注:{{item.h}}</view><view class="tbck"><view class="buts"><view class="{{item.j}}" bindtap="{{item.k}}">{{item.i}}</view><view bindtap="{{item.l}}">签到扫描</view><view bindtap="{{item.m}}">上传签收图片</view></view><view bindtap="{{item.n}}" class="mabut"> 设置服务 </view><view wx:if="{{item.o}}" class="mabut" bindtap="{{item.p}}"> 批量签收 </view></view></view></view></scroll-view><tiplist class="r" u-r="tiplists" u-i="aed605e0-1" bind:__l="__l"></tiplist>
<u-navbar wx:if="{{a}}" u-i="aed605e0-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="hedtopt"><view class="typto"><view>配车类型:{{b}}</view><view>配车状态:{{c}}</view></view><view class="typto"><view>车牌号:{{d}}</view><view>司机:{{e}}</view></view><view class="typto"><view>装卸班组:{{f}}</view><view>备货是否完成:{{g}}</view></view><view class="kehupeison"><view><view>配送客户数</view><view>{{h}}</view></view><view><view>订单总数</view><view>{{i}}</view></view><view><view>配送件数</view><view>{{j}}</view></view><view><view>签收件数</view><view>{{k}}</view></view></view></view><scroll-view scroll-y="true" class="scvbx"><view class="mabx"><view wx:for="{{l}}" wx:for-item="item" class="its"><view class="title"><view style="{{item.c}}">客户:{{item.a}} {{item.b}}</view><view class="statetype">{{item.d}}</view></view><view class="conxb"><view><view>订单总数</view><view>{{item.e}}</view></view><view><view>配送件数</view><view>{{item.f}}</view></view><view><view>扫描件数</view><view>{{item.g}}</view></view></view><view class="remarks"> 备注:{{item.h}}</view><view class="tbck"><view class="buts"><view class="{{item.j}}" bindtap="{{item.k}}">{{item.i}}</view><view bindtap="{{item.l}}">签到扫描</view><view bindtap="{{item.m}}">上传签收图片</view></view><view bindtap="{{item.n}}" class="mabut"> 设置增值服务 </view><view wx:if="{{item.o}}" class="mabut" bindtap="{{item.p}}"> 批量签收 </view></view></view></view></scroll-view><tiplist class="r" u-r="tiplists" u-i="aed605e0-1" bind:__l="__l"></tiplist>

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/DownGoods/DownGoods.wxss vendored

@ -87,7 +87,7 @@
}
.tanchuangbg .inputbox .scvbw {
width: 100%;
height: 360rpx;
height: 450rpx;
margin-top: 30rpx;
}
.tanchuangbg .inputbox .scvbw .scboxitem {

8
unpackage/dist/dev/mp-weixin/pagesHome/pages/OrderSortingDetail/OrderSortingDetail.js vendored

@ -100,10 +100,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
trayCode: details.trayCode
};
let res = await api_user.warehouseTrayTypeorderScanTrayCode(data);
console.log(res, "resresresres");
console.log(res.data, "resresresres");
if (res.code == 200) {
details.datelist = res.data.data.list;
details.detauser = res.data.data;
if (res.data.isHasData == 1) {
details.datelist = res.data.data.list;
details.detauser = res.data.data;
}
} else {
common_vendor.index.showToast({
title: res.msg,

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/PeopleScanUp/PeopleScanUp.wxss vendored

@ -87,7 +87,7 @@
}
.tanchuangbg .inputbox .scvbw {
width: 100%;
height: 360rpx;
height: 450rpx;
margin-top: 30rpx;
}
.tanchuangbg .inputbox .scvbw .scboxitem {

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.wxss vendored

@ -197,7 +197,7 @@
}
.tanchuangbg .inputbox .scvbw.data-v-e9f42dec {
width: 100%;
height: 360rpx;
height: 450rpx;
margin-top: 30rpx;
}
.tanchuangbg .inputbox .scvbw .scboxitem.data-v-e9f42dec {

5
unpackage/dist/dev/mp-weixin/pagesHome/pages/ScanUp/ScanUp.js vendored

@ -37,9 +37,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
details.uplistarr = fn2(details.uplistarr, "orderCode");
} else if (Number(details.upshelfScanType) == 3) {
details.uplistarr = fn2(details.uplistarr, "orderPackageCode");
} else if (Number(details.upshelfScanType) == 4) {
details.uplistarr = fn2(details.uplistarr, "trayCode");
}
} else if (Number(details.upshelfScanType) == 4)
;
});
common_vendor.onLoad((op) => {
details.upshelfScanType = op.type;

50
unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPScanList/SelfPScanList.js vendored

@ -47,12 +47,15 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
completeNum: "",
planNum: "",
signedNum: "",
inventoryNub: "",
scancode: ""
});
const tiplists = common_vendor.ref(null);
common_vendor.onLoad((op) => {
details.billLadingId = op.billLadingId;
initpage();
});
common_vendor.onShow(() => {
common_vendor.index.$on("scancodedate", function(code) {
if (code) {
console.log(code);
@ -61,6 +64,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
});
});
common_vendor.onHide(() => {
common_vendor.index.$off("scancodedate");
});
function showsdqs() {
tiplists.value.setdetails({
isshow: true,
@ -115,6 +121,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
details.orderNum = response.data.orderNum;
details.completeNum = response.data.completeNum;
details.planNum = response.data.planNum;
details.inventoryNub = response.data.inventoryNub;
details.signedNum = response.data.signedNum;
} else if (details.orderType == 2) {
let date = {
@ -164,12 +171,13 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
autoBack: true,
leftIconSize: "35"
}),
b: common_vendor.t(common_vendor.unref(details).orderNum),
c: common_vendor.t(common_vendor.unref(details).completeNum),
d: common_vendor.t(common_vendor.unref(details).planNum),
e: common_vendor.t(common_vendor.unref(details).signedNum),
f: common_vendor.o(checktype),
g: common_vendor.p({
b: common_vendor.t(common_vendor.unref(details).orderNum || 0),
c: common_vendor.t(common_vendor.unref(details).completeNum || 0),
d: common_vendor.t(common_vendor.unref(details).planNum || 0),
e: common_vendor.t(common_vendor.unref(details).signedNum || 0),
f: common_vendor.t(common_vendor.unref(details).inventoryNub || 0),
g: common_vendor.o(checktype),
h: common_vendor.p({
data: common_vendor.unref(typearr),
value: common_vendor.unref(schanvalue),
placeholder: "全部",
@ -177,29 +185,29 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
size: "145",
clearable: true
}),
h: common_vendor.unref(orderCode),
i: common_vendor.o(($event) => common_vendor.isRef(orderCode) ? orderCode.value = $event.detail.value : null),
j: common_vendor.o(initpage),
k: common_vendor.n(common_vendor.unref(orderType) == 1 ? "xz" : ""),
l: common_vendor.o(($event) => setorderStatus(1)),
m: common_vendor.n(common_vendor.unref(orderType) == 2 ? "xz" : ""),
n: common_vendor.o(($event) => setorderStatus(2)),
o: common_vendor.unref(orderType) == 1
i: common_vendor.unref(orderCode),
j: common_vendor.o(($event) => common_vendor.isRef(orderCode) ? orderCode.value = $event.detail.value : null),
k: common_vendor.o(initpage),
l: common_vendor.n(common_vendor.unref(orderType) == 1 ? "xz" : ""),
m: common_vendor.o(($event) => setorderStatus(1)),
n: common_vendor.n(common_vendor.unref(orderType) == 2 ? "xz" : ""),
o: common_vendor.o(($event) => setorderStatus(2)),
p: common_vendor.unref(orderType) == 1
}, common_vendor.unref(orderType) == 1 ? {
p: common_vendor.f(common_vendor.unref(datalist), (item, k0, i0) => {
q: common_vendor.f(common_vendor.unref(datalist), (item, k0, i0) => {
return {
a: common_vendor.t(item.orderCode),
a: common_vendor.t(item.orderSelfNumbering),
b: common_vendor.t(item.planNum),
c: common_vendor.t(item.signedNum),
d: common_vendor.t(item.orderStatusStr),
e: common_vendor.n(item.orderStatusStr == "齐套" ? "tip tp1" : item.orderStatusStr == "部分扫" ? "tip tp3" : "tip tp2")
};
}),
q: common_vendor.o(showsdqs)
r: common_vendor.o(showsdqs)
} : {}, {
r: common_vendor.unref(orderType) == 2
s: common_vendor.unref(orderType) == 2
}, common_vendor.unref(orderType) == 2 ? {
s: common_vendor.f(common_vendor.unref(datalist), (item, k0, i0) => {
t: common_vendor.f(common_vendor.unref(datalist), (item, k0, i0) => {
return {
a: common_vendor.t(item.sku),
b: common_vendor.t(item.descriptionGoods),
@ -208,9 +216,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
e: common_vendor.t(item.quantity)
};
}),
t: common_vendor.o(showsdqs)
v: common_vendor.o(showsdqs)
} : {}, {
v: common_vendor.sr(tiplists, "52919ca0-2", {
w: common_vendor.sr(tiplists, "52919ca0-2", {
"k": "tiplists"
})
});

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPScanList/SelfPScanList.wxml vendored

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="52919ca0-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="hdtpnum"><view><view>订单总数</view><view>{{b}}</view></view><view><view>齐套数</view><view>{{c}}</view></view><view><view>自提件数</view><view>{{d}}</view></view><view><view>签收件数</view><view>{{e}}</view></view></view><view class="scinp"><view>齐套状态</view><view><cus-selects wx:if="{{g}}" bindchange="{{f}}" u-i="52919ca0-1" bind:__l="__l" u-p="{{g}}"></cus-selects></view><view class="inputs"><input placeholder="请输入查询的订单号" value="{{h}}" bindinput="{{i}}"/></view><view class="btscan" bindtap="{{j}}">查询</view></view><view class="tabtip"><view bindtap="{{l}}"><view class="{{k}}">定制品</view></view><view bindtap="{{n}}"><view class="{{m}}">库存品</view></view></view><scroll-view class="scve" scroll-y="true"><view class="mabx"><block wx:if="{{o}}"><view wx:for="{{p}}" wx:for-item="item" class="itec" bindtap="{{q}}"><view class="contenbx1"><view><text style="color:#90A0AF">订单编号:</text>{{item.a}}</view></view><view class="contenbx1"><view><text style="color:#90A0AF">配送数:</text>{{item.b}}</view><view><text style="color:#90A0AF">已扫码数:</text>{{item.c}}</view></view><view class="{{item.e}}">{{item.d}}</view></view></block><block wx:if="{{r}}"><view wx:for="{{s}}" wx:for-item="item" class="itec" bindtap="{{t}}"><view class="contenbx1"><view><text style="color:#90A0AF">SKU:</text>{{item.a}}</view></view><view class="contenbx1"><view><text style="color:#90A0AF">物品:</text>{{item.b}}</view><view><text style="color:#90A0AF">规格:</text>{{item.c}}</view></view><view class="contenbx1"><view><text style="color:#90A0AF">单位:</text>{{item.d}}</view><view><text style="color:#90A0AF">自提数:</text>{{item.e}}</view></view></view></block></view></scroll-view><tiplist class="r" u-r="tiplists" u-i="52919ca0-2" bind:__l="__l"></tiplist><saomiao2 u-i="52919ca0-3" bind:__l="__l"></saomiao2>
<u-navbar wx:if="{{a}}" u-i="52919ca0-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="hdtpnum"><view><view>订单总数</view><view>{{b}}</view></view><view><view>齐套数</view><view>{{c}}</view></view><view><view>自提件数</view><view>{{d}}</view></view><view><view>签收件数</view><view>{{e}}</view></view><view><view>库存品数</view><view>{{f}}</view></view></view><view class="scinp"><view>齐套状态</view><view><cus-selects wx:if="{{h}}" bindchange="{{g}}" u-i="52919ca0-1" bind:__l="__l" u-p="{{h}}"></cus-selects></view><view class="inputs"><input placeholder="请输入查询的订单号" value="{{i}}" bindinput="{{j}}"/></view><view class="btscan" bindtap="{{k}}">查询</view></view><view class="tabtip"><view bindtap="{{m}}"><view class="{{l}}">定制品</view></view><view bindtap="{{o}}"><view class="{{n}}">库存品</view></view></view><scroll-view class="scve" scroll-y="true"><view class="mabx"><block wx:if="{{p}}"><view wx:for="{{q}}" wx:for-item="item" class="itec" bindtap="{{r}}"><view class="contenbx1"><view><text style="color:#90A0AF">订单编号:</text> {{item.a}}</view></view><view class="contenbx1"><view><text style="color:#90A0AF">配送数:</text>{{item.b}}</view><view><text style="color:#90A0AF">已扫码数:</text>{{item.c}}</view></view><view class="{{item.e}}">{{item.d}}</view></view></block><block wx:if="{{s}}"><view wx:for="{{t}}" wx:for-item="item" class="itec" bindtap="{{v}}"><view class="contenbx1"><view><text style="color:#90A0AF">SKU:</text>{{item.a}}</view></view><view class="contenbx1"><view><text style="color:#90A0AF">物品:</text>{{item.b}}</view><view><text style="color:#90A0AF">规格:</text>{{item.c}}</view></view><view class="contenbx1"><view><text style="color:#90A0AF">单位:</text>{{item.d}}</view><view><text style="color:#90A0AF">自提数:</text>{{item.e}}</view></view></view></block></view></scroll-view><tiplist class="r" u-r="tiplists" u-i="52919ca0-2" bind:__l="__l"></tiplist><saomiao2 u-i="52919ca0-3" bind:__l="__l"></saomiao2>

5
unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPickupDetails/SelfPickupDetails.js vendored

@ -64,6 +64,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
common_vendor.onLoad((op) => {
details.billLadingId = op.billLadingId;
initpage();
});
common_vendor.onShow(() => {
common_vendor.index.$on("scancodedate", function(code) {
if (code) {
console.log(code);
@ -72,6 +74,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
});
});
common_vendor.onHide(() => {
common_vendor.index.$off("scancodedate");
});
function showsdqs() {
tiplists.value.setdetails({
isshow: true,

5
unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPickupScan/SelfPickupScan.js vendored

@ -138,8 +138,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
g: common_vendor.t(item.orderNum),
h: common_vendor.t(item.planNum),
i: common_vendor.t(item.signedNum),
j: common_vendor.o(($event) => goselscandetails(item)),
k: common_vendor.o(($event) => goselscan(item))
j: common_vendor.t(item.inventoryNub),
k: common_vendor.o(($event) => goselscandetails(item)),
l: common_vendor.o(($event) => goselscan(item))
};
}),
l: common_vendor.o(jiazai),

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPickupScan/SelfPickupScan.wxml vendored

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="76caf650-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="schbox"><view>自提日期:</view><view bindtap="{{i}}" class="inputsr"><input value="{{b}}" disabled placeholder="请选择时间"/><view catchtap="{{h}}"><u-icon wx:if="{{c}}" bindclick="{{d}}" style="margin-right:10rpx" u-i="76caf650-1" bind:__l="__l" u-p="{{e}}"></u-icon><u-icon wx:else bindclick="{{f}}" style="margin-right:10rpx" u-i="76caf650-2" bind:__l="__l" u-p="{{g||''}}"></u-icon></view></view><view bindtap="{{j}}"> 查询 </view></view><scroll-view scroll-y="true" class="scvbx" bindscrolltolower="{{l}}"><view class="mabxslist"><view wx:for="{{k}}" wx:for-item="item" class="item"><view class="headtop"><view class="type1s"><view><text style="color:#90A0AF">配车类型:</text>{{item.a}}</view><view><text style="color:#90A0AF">配车状态:</text>{{item.b}}</view></view><view class="type1s"><view><text style="color:#90A0AF">车牌号:</text>{{item.c}}</view><view><text style="color:#90A0AF">司机:</text>{{item.d}}</view></view><view class="type1s"><view><text style="color:#90A0AF">装御班组:</text>A班组 </view><view><text style="color:#90A0AF">备货是否完成:</text>是 </view></view><view class="type1s"><view><text style="color:#90A0AF">制单时间:</text>{{item.e}}</view></view><view class="type1s"><view><text style="color:#90A0AF">任务时间:</text>{{item.f}}</view></view><view class="liebs"><view><view>订单总数</view><view>{{item.g}}</view></view><view><view>自提件数</view><view>{{item.h}}</view></view><view><view>签收件数</view><view>{{item.i}}</view></view></view></view><view class="buts"><view bindtap="{{item.j}}">明细扫描</view><view bindtap="{{item.k}}">扫描</view></view></view></view></scroll-view><l-calendar wx:if="{{p}}" bindhide="{{m}}" bindchange="{{n}}" u-i="76caf650-3" bind:__l="__l" bindupdateValue="{{o}}" u-p="{{p}}"></l-calendar>
<u-navbar wx:if="{{a}}" u-i="76caf650-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="schbox"><view>自提日期:</view><view bindtap="{{i}}" class="inputsr"><input value="{{b}}" disabled placeholder="请选择时间"/><view catchtap="{{h}}"><u-icon wx:if="{{c}}" bindclick="{{d}}" style="margin-right:10rpx" u-i="76caf650-1" bind:__l="__l" u-p="{{e}}"></u-icon><u-icon wx:else bindclick="{{f}}" style="margin-right:10rpx" u-i="76caf650-2" bind:__l="__l" u-p="{{g||''}}"></u-icon></view></view><view bindtap="{{j}}"> 查询 </view></view><scroll-view scroll-y="true" class="scvbx" bindscrolltolower="{{l}}"><view class="mabxslist"><view wx:for="{{k}}" wx:for-item="item" class="item"><view class="headtop"><view class="type1s"><view><text style="color:#90A0AF">配车类型:</text>{{item.a}}</view><view><text style="color:#90A0AF">配车状态:</text>{{item.b}}</view></view><view class="type1s"><view><text style="color:#90A0AF">车牌号:</text>{{item.c}}</view><view><text style="color:#90A0AF">司机:</text>{{item.d}}</view></view><view class="type1s"><view><text style="color:#90A0AF">装御班组:</text>A班组 </view><view><text style="color:#90A0AF">备货是否完成:</text>是 </view></view><view class="type1s"><view><text style="color:#90A0AF">制单时间:</text>{{item.e}}</view></view><view class="type1s"><view><text style="color:#90A0AF">任务时间:</text>{{item.f}}</view></view><view class="liebs"><view><view>订单总数</view><view>{{item.g}}</view></view><view><view>自提件数</view><view>{{item.h}}</view></view><view><view>签收件数</view><view>{{item.i}}</view></view><view><view>库存品数</view><view>{{item.j}}</view></view></view></view><view class="buts"><view bindtap="{{item.k}}">明细扫描</view><view bindtap="{{item.l}}">扫描</view></view></view></view></scroll-view><l-calendar wx:if="{{p}}" bindhide="{{m}}" bindchange="{{n}}" u-i="76caf650-3" bind:__l="__l" bindupdateValue="{{o}}" u-p="{{p}}"></l-calendar>

5
unpackage/dist/dev/mp-weixin/pagesHome/pages/SelfPickupScan/SelfPickupScan.wxss vendored

@ -95,9 +95,12 @@
color: #092C4D;
}
.scvbx .mabxslist > .item > .headtop > .liebs > view:nth-of-type(2) > view:nth-of-type(2) {
color: #3AD8BC;
color: #0086F1;
}
.scvbx .mabxslist > .item > .headtop > .liebs > view:nth-of-type(3) > view:nth-of-type(2) {
color: #3AD8BC;
}
.scvbx .mabxslist > .item > .headtop > .liebs > view:nth-of-type(4) > view:nth-of-type(2) {
color: #FA8C16;
}
.scvbx .mabxslist > .item > .headtop > .liebs > view > view:nth-of-type(1) {

61
unpackage/dist/dev/mp-weixin/pagesHome/pages/SetPrice/SetPrice.js vendored

@ -1,6 +1,5 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {};
if (!Array) {
const _easycom_u_navbar2 = common_vendor.resolveComponent("u-navbar");
_easycom_u_navbar2();
@ -9,18 +8,50 @@ const _easycom_u_navbar = () => "../../../uni_modules/uview-plus/components/u-na
if (!Math) {
_easycom_u_navbar();
}
function _sfc_render(_ctx, _cache) {
return {
a: common_vendor.p({
title: "设置服务费",
bgColor: "#D3832A",
leftIconColor: "#ffffff",
titleStyle: "color:#ffffff",
placeholder: true,
autoBack: true,
leftIconSize: "35"
})
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "F:/物流/logPm/pagesHome/pages/SetPrice/SetPrice.vue"]]);
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "SetPrice",
setup(__props) {
let details = common_vendor.reactive({
reservationId: "",
items: {}
});
common_vendor.onLoad((op) => {
details.reservationId = op.reservationId;
details.items = op.item;
});
function goValueaddedServicePage() {
common_vendor.index.navigateTo({
url: "/pagesHome/pages/createAddServe/createAddServe?id=" + details.reservationId
});
}
function goaddserve() {
common_vendor.index.navigateTo({
url: "/pagesHome/pages/createAddServe/createAddServe"
});
}
return (_ctx, _cache) => {
return {
a: common_vendor.p({
title: "增值服务",
bgColor: "#D3832A",
leftIconColor: "#ffffff",
titleStyle: "color:#ffffff",
placeholder: true,
autoBack: true,
leftIconSize: "35"
}),
b: common_vendor.f(3, (item, k0, i0) => {
return {
a: common_vendor.f(3, (item2, k1, i1) => {
return {};
})
};
}),
c: common_vendor.o(goValueaddedServicePage),
d: common_vendor.o(goaddserve)
};
};
}
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "F:/物流/logPm/pagesHome/pages/SetPrice/SetPrice.vue"]]);
wx.createPage(MiniProgramPage);

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/SetPrice/SetPrice.wxml vendored

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="e45ab4e0-0" bind:__l="__l" u-p="{{a}}"></u-navbar>
<u-navbar wx:if="{{a}}" u-i="e45ab4e0-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="bgcolo"></view><view class="card_use"><view class="card_top"><view><view>客户</view><view>张磊</view></view><view><view>签收状态</view><view style="color:#0086F1">配送中</view></view></view><view class="card-content"><view><view>订单总数</view><view>25</view></view><view><view>配送件数</view><view>10</view></view><view><view>扫描件数</view><view>5</view></view></view></view><scroll-view scroll-y="true" class="scvs"><view class="maboxsw"><view wx:for="{{b}}" wx:for-item="item" class="itemboxs"><view class="topdivs"><view><view>超区</view><view>145km</view><view>126元</view></view><image bindtap="{{c}}" src="/pagesHome/static/editorder.png"></image></view><view class="titlor"> 订单列表 </view><view class="orderlists"><view wx:for="{{item.a}}" wx:for-item="item" class="minitem"><view>货物名称:<text style="color:#8D97A3">HTLQ洗衣机C201</text></view><view>订单号:<text style="color:#8D97A3">HTLQ北碚区20230931001</text></view><view>订单号:<text style="color:#8D97A3">HTLQ北碚区20230931001</text></view></view></view></view></view></scroll-view><view class="butadd" bindtap="{{d}}"> 增加增值服务 </view>

195
unpackage/dist/dev/mp-weixin/pagesHome/pages/SetPrice/SetPrice.wxss vendored

@ -0,0 +1,195 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.butadd {
width: 686rpx;
height: 100rpx;
background: #D3832A;
border-radius: 16rpx;
display: flex;
align-items: center;
justify-content: center;
margin: auto;
margin-top: 30rpx;
font-size: 32rpx;
font-weight: 400;
color: #FFFFFF;
}
.bgcolo {
width: 750rpx;
height: 200rpx;
background: linear-gradient(180deg, #D3832A 0%, rgba(211, 131, 42, 0) 100%);
border-radius: 0rpx 0rpx 0rpx 0rpx;
opacity: 1;
position: absolute;
left: 0;
}
.card_use {
width: 686rpx;
height: 280rpx;
background: #FFFFFF;
border-radius: 16rpx;
position: relative;
margin: auto;
margin-top: 40rpx;
padding: 26rpx 22rpx;
box-sizing: border-box;
}
.card_use .card_top {
display: flex;
align-items: center;
}
.card_use .card_top > view {
width: 50%;
display: flex;
align-items: center;
}
.card_use .card_top > view > view:nth-of-type(1) {
font-size: 32rpx;
font-weight: 400;
color: #8D97A3;
margin-right: 30rpx;
}
.card_use .card_top > view > view:nth-of-type(2) {
font-size: 32rpx;
font-weight: 500;
color: #092C4D;
}
.card_use .card-content {
width: 640rpx;
height: 160rpx;
background: #F5F7FB;
border-radius: 8rpx;
margin-top: 24rpx;
display: flex;
align-items: center;
justify-content: space-around;
}
.card_use .card-content > view {
display: flex;
flex-direction: column;
align-items: center;
}
.card_use .card-content > view > view:nth-of-type(1) {
font-size: 28rpx;
font-weight: 400;
color: #020B18;
}
.card_use .card-content > view > view:nth-of-type(2) {
font-size: 36rpx;
font-weight: 400;
color: #178AF2;
margin-top: 20rpx;
}
.scvs {
width: 100%;
height: 52vh;
margin-top: 15px;
}
.scvs .maboxsw .itemboxs {
width: 686rpx;
background: #FFFFFF;
border-radius: 16rpx;
margin: auto;
box-sizing: border-box;
margin-bottom: 16rpx;
}
.scvs .maboxsw .itemboxs:nth-last-child(1) {
margin-bottom: 0;
}
.scvs .maboxsw .itemboxs .topdivs {
width: 100%;
height: 88rpx;
background: linear-gradient(133deg, rgba(250, 140, 22, 0.2) 0%, rgba(250, 140, 22, 0) 100%);
opacity: 1;
display: flex;
align-items: center;
justify-content: space-between;
padding: 20rpx 30rpx;
box-sizing: border-box;
border-radius: 16rpx 16rpx 0 0;
}
.scvs .maboxsw .itemboxs .topdivs > image {
width: 40rpx;
height: 40rpx;
}
.scvs .maboxsw .itemboxs .topdivs > view {
display: flex;
align-items: center;
font-size: 28rpx;
}
.scvs .maboxsw .itemboxs .topdivs > view > view:nth-of-type(1) {
width: 96rpx;
height: 48rpx;
background: #FA8C16;
color: #FFFFFF;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6rpx;
margin-right: 20rpx;
}
.scvs .maboxsw .itemboxs .topdivs > view > view:nth-of-type(2) {
font-size: 28rpx;
font-weight: 400;
color: #8D97A3;
border-right: 1rpx solid #8D97A3;
padding-right: 12rpx;
}
.scvs .maboxsw .itemboxs .topdivs > view > view:nth-of-type(3) {
font-size: 28rpx;
font-weight: 400;
color: #F8544B;
margin-left: 12rpx;
}
.scvs .maboxsw .itemboxs .titlor {
font-size: 34rpx;
font-weight: 600;
color: #092C4D;
padding: 20rpx 32rpx;
box-sizing: border-box;
}
.scvs .maboxsw .itemboxs .orderlists {
display: flex;
flex-direction: column;
width: 630rpx;
margin: auto;
}
.scvs .maboxsw .itemboxs .orderlists > .minitem {
display: flex;
flex-direction: column;
border-bottom: 1rpx solid #EEEEEE;
padding-bottom: 30rpx;
padding-top: 20rpx;
}
.scvs .maboxsw .itemboxs .orderlists > .minitem:nth-last-child(1) {
border-bottom: none;
}
.scvs .maboxsw .itemboxs .orderlists > .minitem > view {
font-size: 28rpx;
font-weight: 400;
color: #092C4D;
margin-bottom: 10rpx;
}

14
unpackage/dist/dev/mp-weixin/pagesHome/pages/inventoryenter/inventoryenter.js vendored

@ -267,16 +267,18 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}),
n: common_vendor.unref(maknumber),
o: common_vendor.o(($event) => common_vendor.isRef(maknumber) ? maknumber.value = $event.detail.value : null),
p: common_vendor.o(($event) => setshowstate(0)),
q: common_vendor.o(confirmlur),
r: common_vendor.o(() => {
p: common_vendor.o(() => {
}),
s: common_vendor.o(($event) => setshowstate(0))
q: common_vendor.o(($event) => setshowstate(0)),
r: common_vendor.o(confirmlur),
s: common_vendor.o(() => {
}),
t: common_vendor.o(($event) => setshowstate(0))
} : {}, {
t: common_vendor.sr(tip, "33d02520-1", {
v: common_vendor.sr(tip, "33d02520-1", {
"k": "tip"
}),
v: common_vendor.sr(tiplists, "33d02520-2", {
w: common_vendor.sr(tiplists, "33d02520-2", {
"k": "tiplists"
})
});

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/inventoryenter/inventoryenter.wxml vendored

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="33d02520-0" bind:__l="__l" u-p="{{a}}"></u-navbar><image mode="widthFix" class="bgimg" src="/pagesHome/static/bgby.png"></image><view class="mabxtop"><view class="types1"><view><view>{{b}}</view><view>托盘码</view></view><view><view>{{c}}</view><view>托盘件数</view></view></view><view class="types1"><view bindtap="{{e}}"><view class="borinut">{{d}}</view><view>商场名称</view></view><view><view>{{f}}</view><view>打托方式</view></view></view><view class="types2"><view bindtap="{{g}}"> 录入库存品 </view></view></view><scroll-view class="scvmabx" scroll-y="true"><view class="maxboxs"><view wx:for="{{h}}" wx:for-item="item" class="items"><view class="tophd1"><view><image src="/pagesHome/static/topicons.png"></image><view>{{item.a}}</view></view><image bindtap="{{item.b}}" src="/pagesHome/static/removeitem.png"></image></view><view class="tophd"><image src="/pagesHome/static/uname.png"></image><view>物料名称:</view><view>{{item.c}}</view></view><view class="tophd"><image src="/pagesHome/static/uname.png"></image><view>SKU:</view><view>{{item.d}}</view></view><view class="tophd"><image src="/pagesHome/static/uname.png"></image><view>物料单位:</view><view>{{item.e}}</view></view><view class="numbxvie"><view><view class="zhon">{{item.f}}</view><view>在库数</view></view><view><view class="yish">{{item.g}}</view><view>已扫</view></view></view></view></view></scroll-view><view wx:if="{{i}}" class="tanchuangbg" bindtap="{{s}}"><view class="inputbox" catchtap="{{r}}"><view class="inputscan"><input placeholder="输入物料编码" value="{{j}}" bindinput="{{k}}"/><view class="scanbt" bindtap="{{l}}">搜索</view></view><scroll-view scroll-y="true" class="scvbw"><view class="scboxitem"><view wx:for="{{m}}" wx:for-item="item" class="items" bindtap="{{item.j}}"><view class="type1s"><view><view>物料编码:</view><view>{{item.a}}</view></view><view><view>物料名称:</view><view>{{item.b}}</view></view></view><view class="type1s"><view><view>物料单位:</view><view>{{item.c}}</view></view><view><view>包装数量:</view><view>{{item.d}}</view></view></view><view class="type1s"><view><view>在库数:</view><view>{{item.e}}{{item.f}}</view></view><view><view>SKU:</view><view>{{item.g}}</view></view></view><view class="rksu"><view><view>数量:</view><input placeholder="请输入数量" value="{{n}}" bindinput="{{o}}"/></view></view><view wx:if="{{item.h}}" class="lisbite"><view wx:for="{{item.i}}" wx:for-item="ite" class="itembox"><view wx:if="{{ite.a}}">库位码:{{ite.b}}</view><view wx:if="{{ite.c}}">托盘码:{{ite.d}}</view></view></view></view></view></scroll-view><view class="btx"><view class="cancel" bindtap="{{p}}">取消</view><view class="confirm" bindtap="{{q}}">确认</view></view></view></view><tips class="r" u-r="tip" u-i="33d02520-1" bind:__l="__l"></tips><tiplist class="r" u-r="tiplists" u-i="33d02520-2" bind:__l="__l"></tiplist>
<u-navbar wx:if="{{a}}" u-i="33d02520-0" bind:__l="__l" u-p="{{a}}"></u-navbar><image mode="widthFix" class="bgimg" src="/pagesHome/static/bgby.png"></image><view class="mabxtop"><view class="types1"><view><view>{{b}}</view><view>托盘码</view></view><view><view>{{c}}</view><view>托盘件数</view></view></view><view class="types1"><view bindtap="{{e}}"><view class="borinut">{{d}}</view><view>商场名称</view></view><view><view>{{f}}</view><view>打托方式</view></view></view><view class="types2"><view bindtap="{{g}}"> 录入库存品 </view></view></view><scroll-view class="scvmabx" scroll-y="true"><view class="maxboxs"><view wx:for="{{h}}" wx:for-item="item" class="items"><view class="tophd1"><view><image src="/pagesHome/static/topicons.png"></image><view>{{item.a}}</view></view><image bindtap="{{item.b}}" src="/pagesHome/static/removeitem.png"></image></view><view class="tophd"><image src="/pagesHome/static/uname.png"></image><view>物料名称:</view><view>{{item.c}}</view></view><view class="tophd"><image src="/pagesHome/static/uname.png"></image><view>SKU:</view><view>{{item.d}}</view></view><view class="tophd"><image src="/pagesHome/static/uname.png"></image><view>物料单位:</view><view>{{item.e}}</view></view><view class="numbxvie"><view><view class="zhon">{{item.f}}</view><view>在库数</view></view><view><view class="yish">{{item.g}}</view><view>已扫</view></view></view></view></view></scroll-view><view wx:if="{{i}}" class="tanchuangbg" bindtap="{{t}}"><view class="inputbox" catchtap="{{s}}"><view class="inputscan"><input placeholder="输入物料编码" value="{{j}}" bindinput="{{k}}"/><view class="scanbt" bindtap="{{l}}">搜索</view></view><scroll-view scroll-y="true" class="scvbw"><view class="scboxitem"><view wx:for="{{m}}" wx:for-item="item" class="items" bindtap="{{item.j}}"><view class="type1s"><view><view>物料编码:</view><view>{{item.a}}</view></view><view><view>物料名称:</view><view>{{item.b}}</view></view></view><view class="type1s"><view><view>物料单位:</view><view>{{item.c}}</view></view><view><view>包装数量:</view><view>{{item.d}}</view></view></view><view class="type1s"><view><view>在库数:</view><view>{{item.e}}{{item.f}}</view></view><view><view>SKU:</view><view>{{item.g}}</view></view></view><view class="rksu" catchtap="{{p}}"><view><view>数量:</view><input placeholder="请输入数量" value="{{n}}" bindinput="{{o}}"/></view></view><view wx:if="{{item.h}}" class="lisbite"><view wx:for="{{item.i}}" wx:for-item="ite" class="itembox"><view wx:if="{{ite.a}}">库位码:{{ite.b}}</view><view wx:if="{{ite.c}}">托盘码:{{ite.d}}</view></view></view></view></view></scroll-view><view class="btx"><view class="cancel" bindtap="{{q}}">取消</view><view class="confirm" bindtap="{{r}}">确认</view></view></view></view><tips class="r" u-r="tip" u-i="33d02520-1" bind:__l="__l"></tips><tiplist class="r" u-r="tiplists" u-i="33d02520-2" bind:__l="__l"></tiplist>

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/inventoryenter/inventoryenter.wxss vendored

@ -405,7 +405,7 @@
}
.tanchuangbg .inputbox .scvbw {
width: 100%;
height: 360rpx;
height: 450rpx;
margin-top: 30rpx;
}
.tanchuangbg .inputbox .scvbw .scboxitem {

20
unpackage/dist/dev/mp-weixin/pagesHome/pages/lnventorysortinglist/lnventorysortinglist.js vendored

@ -75,27 +75,27 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
} else {
if (Number(details.pageType) == 1 && res.data.data.type == 3) {
common_vendor.index.navigateTo({
url: "/pagesHome/pages/inventoryDetail/inventoryDetail?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
url: "/pagesHome/pages/inventoryenter/inventoryenter?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
});
} else if (Number(details.pageType) == 2 && res.data.data.type == 4) {
common_vendor.index.navigateTo({
url: "/pagesHome/pages/inventoryenter/inventoryenter?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
});
} else if (Number(details.pageType) == 2 && res.data.data.type == 3) {
common_vendor.index.showToast({
title: "库存品扫描分拣使用托盘码",
icon: "none"
common_vendor.index.navigateTo({
url: "/pagesHome/pages/inventoryenter/inventoryenter?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
});
return;
} else if (Number(details.pageType) == 1 && res.data.data.type == 4) {
common_vendor.index.showToast({
title: "库存品人工分拣使用托盘码",
icon: "none"
common_vendor.index.navigateTo({
url: "/pagesHome/pages/inventoryenter/inventoryenter?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
});
return;
} else if (res.data.data.type == 1 || res.data.data.type == 2) {
common_vendor.index.showToast({
title: "定制品分拣使用托盘码",
icon: "none"
common_vendor.index.navigateTo({
url: "/pagesHome/pages/inventoryenter/inventoryenter?trayCode=" + details.scancode + "&trayType=" + res.data.data.trayType
});
return;
}
}
}

11
unpackage/dist/dev/mp-weixin/pagesHome/pages/pickingScan/pickingScan.js vendored

@ -59,6 +59,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
});
function init() {
details.currentPage = 1;
details.dataList = [];
initpage();
}
function jiazai() {
@ -100,7 +101,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
function setstate(state) {
details.status = state;
initpage();
init();
}
const { datatime, dataList, show, status } = common_vendor.toRefs(details);
return (_ctx, _cache) => {
@ -140,7 +141,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
m: common_vendor.n(common_vendor.unref(status) == 1 ? "xz" : ""),
n: common_vendor.o(($event) => setstate(1)),
o: common_vendor.f(common_vendor.unref(dataList), (item, k0, i0) => {
return {
return common_vendor.e({
a: common_vendor.t(item.typeServiceStr),
b: common_vendor.t(item.stockupStatusStr),
c: common_vendor.t(item.customer),
@ -151,8 +152,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
h: common_vendor.t(item.planNum),
i: common_vendor.t(item.realNum),
j: common_vendor.t(item.inventoryNub),
k: common_vendor.o(($event) => gostockuplist(item))
};
k: Number(item.stockupStatus) != 40
}, Number(item.stockupStatus) != 40 ? {
l: common_vendor.o(($event) => gostockuplist(item))
} : {});
}),
p: common_vendor.o(jiazai),
q: common_vendor.sr(tip, "7babdaae-3", {

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/pickingScan/pickingScan.wxml vendored

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="7babdaae-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="schbox"><view>拣货日期:</view><view bindtap="{{i}}" class="inputsr"><input value="{{b}}" disabled placeholder="请选择时间"/><view catchtap="{{h}}"><u-icon wx:if="{{c}}" bindclick="{{d}}" style="margin-right:10rpx" u-i="7babdaae-1" bind:__l="__l" u-p="{{e}}"></u-icon><u-icon wx:else bindclick="{{f}}" style="margin-right:10rpx" u-i="7babdaae-2" bind:__l="__l" u-p="{{g||''}}"></u-icon></view></view><view bindtap="{{j}}"> 查询 </view></view><view class="tabtip"><view bindtap="{{l}}"><view class="{{k}}">未完成</view></view><view bindtap="{{n}}"><view class="{{m}}">完成</view></view></view><scroll-view class="sccv" scroll-y="true" bindscrolltolower="{{p}}"><view class="mabx"><view wx:for="{{o}}" wx:for-item="item"><view class="topbox"><view class="type1"><view><text style="color:#90A0AF">配车类型:</text>{{item.a}}</view><view><text style="color:#90A0AF">备货是否完成:</text>{{item.b}}</view></view><view class="type1"><view><text style="color:#90A0AF">客户:</text>{{item.c}}</view><view><text style="color:#90A0AF">备货区域:</text>{{item.d}}</view></view><view class="type3"><view><text style="color:#90A0AF">库位:</text>{{item.e}}</view></view><view class="type3"><view><text style="color:#90A0AF">托盘:</text>{{item.f}}</view></view><view class="type2"><view><view>订单总数</view><view>{{item.g}}</view></view><view><view>计划备货件数</view><view>{{item.h}}</view></view><view><view>备货件数</view><view>{{item.i}}</view></view><view><view>库存品数</view><view>{{item.j}}</view></view></view></view><view class="bts"><view bindtap="{{item.k}}"> 去备货 </view></view></view></view></scroll-view><tips class="r" u-r="tip" u-i="7babdaae-3" bind:__l="__l"></tips><l-calendar wx:if="{{v}}" bindhide="{{r}}" bindchange="{{s}}" u-i="7babdaae-4" bind:__l="__l" bindupdateValue="{{t}}" u-p="{{v}}"></l-calendar>
<u-navbar wx:if="{{a}}" u-i="7babdaae-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="schbox"><view>拣货日期:</view><view bindtap="{{i}}" class="inputsr"><input value="{{b}}" disabled placeholder="请选择时间"/><view catchtap="{{h}}"><u-icon wx:if="{{c}}" bindclick="{{d}}" style="margin-right:10rpx" u-i="7babdaae-1" bind:__l="__l" u-p="{{e}}"></u-icon><u-icon wx:else bindclick="{{f}}" style="margin-right:10rpx" u-i="7babdaae-2" bind:__l="__l" u-p="{{g||''}}"></u-icon></view></view><view bindtap="{{j}}"> 查询 </view></view><view class="tabtip"><view bindtap="{{l}}"><view class="{{k}}">未完成</view></view><view bindtap="{{n}}"><view class="{{m}}">完成</view></view></view><scroll-view class="sccv" scroll-y="true" bindscrolltolower="{{p}}"><view class="mabx"><view wx:for="{{o}}" wx:for-item="item"><view class="topbox"><view class="type1"><view><text style="color:#90A0AF">配车类型:</text>{{item.a}}</view><view><text style="color:#90A0AF">备货是否完成:</text>{{item.b}}</view></view><view class="type1"><view><text style="color:#90A0AF">客户:</text>{{item.c}}</view><view><text style="color:#90A0AF">备货区域:</text>{{item.d}}</view></view><view class="type3"><view><text style="color:#90A0AF">库位:</text>{{item.e}}</view></view><view class="type3"><view><text style="color:#90A0AF">托盘:</text>{{item.f}}</view></view><view class="type2"><view><view>订单总数</view><view>{{item.g}}</view></view><view><view>计划备货件数</view><view>{{item.h}}</view></view><view><view>备货件数</view><view>{{item.i}}</view></view><view><view>库存品数</view><view>{{item.j}}</view></view></view></view><view wx:if="{{item.k}}" class="bts"><view bindtap="{{item.l}}"> 去备货 </view></view></view></view></scroll-view><tips class="r" u-r="tip" u-i="7babdaae-3" bind:__l="__l"></tips><l-calendar wx:if="{{v}}" bindhide="{{r}}" bindchange="{{s}}" u-i="7babdaae-4" bind:__l="__l" bindupdateValue="{{t}}" u-p="{{v}}"></l-calendar>

3
unpackage/dist/dev/mp-weixin/pagesHome/pages/pickingScan/pickingScan.wxss vendored

@ -71,6 +71,9 @@
padding-top: 20rpx;
border-radius: 8rpx;
}
.sccv .mabx > view > view:nth-last-child(1) {
border-bottom: none !important;
}
.sccv .mabx > view .topbox {
display: flex;
flex-direction: column;

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/scansorting/scansorting.js vendored

@ -66,10 +66,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
console.log(res.data);
if (!res.data.isHasData) {
common_vendor.index.setStorageSync("trayCodeType", res.data.data);
common_vendor.index.navigateTo({
url: "/pagesHome/pages/ScanSortingType/ScanSortingType?type=" + details.pageType + "&trayCode=" + details.scancode
});
common_vendor.index.setStorageSync("trayCodeType", res.data.data);
} else {
if (Number(details.pageType) == 1 && res.data.data.type == 1) {
common_vendor.index.navigateTo({

36
unpackage/dist/dev/mp-weixin/pagesHome/pages/setbarcode/setbarcode.js vendored

@ -21,6 +21,7 @@ if (!Math) {
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "setbarcode",
setup(__props) {
const utils = common_vendor.inject("utils");
let details = common_vendor.reactive({
items: {},
reservationId: "",
@ -28,7 +29,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
printlist: [],
packageNum: 0,
goodsAreaName: "",
stockupId: ""
stockupId: "",
stockPrint: 1,
customer: "",
deliveryAddress: ""
});
const tips = common_vendor.ref(null);
common_vendor.onLoad((op) => {
@ -36,7 +40,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
details.items = JSON.parse(op.item);
details.reservationId = op.reservationId;
details.goodsAreaName = op.goodsAreaName;
scandata("1231");
common_vendor.index.$on("scancodedate", function(code) {
if (code) {
console.log(code);
@ -45,14 +48,25 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
});
initpage();
});
function setstockPrint(values) {
details.stockPrint = values;
if (values == 1) {
utils.ttsspke("请扫描原有包条码");
} else {
utils.ttsspke("请扫描打印的包条码");
}
}
async function initpage() {
let data = {
orderStatus: 2,
reservationId: details.reservationId,
stockListId: details.items.stockListId
stockListId: details.items.stockListId,
stockupId: details.stockupId
};
let response = await api_user.distributionStockuporderInfo(data);
details.codelist = response.data.stockList;
details.customer = response.data.customer;
details.deliveryAddress = response.data.deliveryAddress;
}
function showmd() {
tips.value.setdetails({
@ -127,7 +141,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
packetBarCode: code,
stockupArea: details.goodsAreaName,
reservationId: details.reservationId,
stockupId: details.stockupId
stockupId: details.stockupId,
stockPrint: details.stockPrint
};
let res = await api_user.distributionStockupstockupScan(data);
console.log(res);
@ -163,15 +178,18 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
f: common_vendor.t(common_vendor.unref(items).planNum),
g: common_vendor.t(common_vendor.unref(items).cargoUnit),
h: common_vendor.unref(items).unpack == 0
}, common_vendor.unref(items).unpack == 0 ? {} : {}, {
i: common_vendor.o(showmd),
j: common_vendor.f(common_vendor.unref(codelist), (item, index, i0) => {
}, common_vendor.unref(items).unpack == 0 ? {
i: common_vendor.o(($event) => setstockPrint(1))
} : {}, {
j: common_vendor.o(($event) => setstockPrint(2)),
k: common_vendor.o(showmd),
l: common_vendor.f(common_vendor.unref(codelist), (item, index, i0) => {
return {
a: common_vendor.t(index),
a: common_vendor.t(index + 1),
b: common_vendor.t(item.packageCode)
};
}),
k: common_vendor.sr(tips, "420736b0-1", {
m: common_vendor.sr(tips, "420736b0-1", {
"k": "tips"
})
});

2
unpackage/dist/dev/mp-weixin/pagesHome/pages/setbarcode/setbarcode.wxml vendored

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="420736b0-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="head"><view class="type1"><view>货位:<view style="color:#092C4D">{{b}}</view></view><view>物品:<view style="color:#092C4D">{{c}}</view></view></view><view class="type1"><view>SKU:<view style="color:#092C4D">{{d}}</view></view><view>规格:<view style="color:#092C4D">{{e}}</view></view></view><view class="type1"><view>计划数量:<view style="color:#092C4D">{{f}}</view></view><view>单位:<view style="color:#092C4D">{{g}}</view></view></view></view><view class="butsbx"><view wx:if="{{h}}">采集原包条码</view><view bindtap="{{i}}">新生成包码</view></view><scroll-view scroll-y="true" class="scrollv"><view class="mabxs"><view wx:for="{{j}}" wx:for-item="item" class="ite"><view><view>序号:{{item.a}}</view><view>作业时间:2001-12-10</view></view><view><view>包条码:{{item.b}}</view><view></view></view></view></view></scroll-view><tiplist class="r" u-r="tips" u-i="420736b0-1" bind:__l="__l"></tiplist><saomiao2 u-i="420736b0-2" bind:__l="__l"></saomiao2>
<u-navbar wx:if="{{a}}" u-i="420736b0-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="head"><view class="type1"><view>货位:<view style="color:#092C4D">{{b}}</view></view><view>物品:<view style="color:#092C4D">{{c}}</view></view></view><view class="type1"><view>SKU:<view style="color:#092C4D">{{d}}</view></view><view>规格:<view style="color:#092C4D">{{e}}</view></view></view><view class="type1"><view>计划数量:<view style="color:#092C4D">{{f}}</view></view><view>单位:<view style="color:#092C4D">{{g}}</view></view></view></view><view class="butsbx"><view wx:if="{{h}}" bindtap="{{i}}">采集原包条码</view><view bindtap="{{j}}">扫描打印包条</view><view bindtap="{{k}}">新生成包码</view></view><scroll-view scroll-y="true" class="scrollv"><view class="mabxs"><view wx:for="{{l}}" wx:for-item="item" class="ite"><view><view>序号:{{item.a}}</view><view>作业时间:2001-12-10</view></view><view><view>包条码:{{item.b}}</view><view></view></view></view></view></scroll-view><tiplist class="r" u-r="tips" u-i="420736b0-1" bind:__l="__l"></tiplist><saomiao2 u-i="420736b0-2" bind:__l="__l"></saomiao2>

8
unpackage/dist/dev/mp-weixin/utils/request.js vendored

@ -31,9 +31,15 @@ const service = (params) => {
header["Tenant-Id"] = params.data.tenantId;
params.data.password = utils_md5.hexMD5(params.data.password);
}
let urlhd = "";
if (common_vendor.index.getStorageSync("setip")) {
urlhd = common_vendor.index.getStorageSync("setip");
} else {
urlhd = config_host.host;
}
function req() {
common_vendor.index.request({
url: config_host.host + params.url,
url: urlhd + params.url,
data: params.data,
method: params.method,
// dataType: "json",

9
utils/request.js

@ -37,10 +37,15 @@ const service = (params) => {
// title:'请求中',
// mask:true
// })
let urlhd=''
if(uni.getStorageSync('setip')){
urlhd=uni.getStorageSync('setip')
}else{
urlhd=host
}
function req(){
uni.request({
url: host+params.url,
url: urlhd+params.url,
data: params.data,
method: params.method,
// dataType: "json",

1
utils/utils.js

@ -170,7 +170,6 @@ const utils={
TTSSpeech.init((status) => {
if(status === 0){
console.log('引擎初始化成功')
// TTSSpeech.speak({ text:'1我311的的' });
TTSSpeech.setSpeed(100)
TTSSpeech.getInstallTTS(res => {
console.log(JSON.stringify(res));

Loading…
Cancel
Save