Browse Source

修改打托样式

myd
qb 2 years ago
parent
commit
a281fd0aa6
  1. 2
      .hbuilderx/launch.json
  2. 26
      api/user.js
  3. 38
      compoment/InputNum/InputNum.vue
  4. 89
      compoment/tiplist/tiplist.vue
  5. 4
      config/host.js
  6. 6
      interfaces/compoment/InputNum.ts
  7. 28
      interfaces/compoment/tiplist.ts
  8. 6
      interfaces/pagesHome/StockUplist.ts
  9. 305
      pagesHome/pages/DownGoods/DownGoods.vue
  10. 444
      pagesHome/pages/MergeTray/MergeTray.vue
  11. 259
      pagesHome/pages/OrderSortingDetail/OrderSortingDetail.vue
  12. 35
      pagesHome/pages/PeopleScanUp/PeopleScanUp.vue
  13. 54
      pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.vue
  14. 10
      pagesHome/pages/PickingScanList/PickingScanList.vue
  15. 248
      pagesHome/pages/Relocation/Relocation.vue
  16. 349
      pagesHome/pages/RelocationAllocationId/RelocationAllocationId.vue
  17. 164
      pagesHome/pages/StockUplist/StockUplist.vue
  18. 7
      pagesHome/pages/inventoryenter/inventoryenter.vue
  19. 248
      pagesHome/pages/pickingScan/pickingScan.vue
  20. 2
      unpackage/cache/apk/apkurl
  21. 2
      unpackage/cache/apk/cmManifestCache.json
  22. 4
      unpackage/dist/build/app-plus/app-service.js
  23. 2
      unpackage/dist/build/app-plus/pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.css
  24. 16
      unpackage/dist/dev/mp-weixin/api/user.js
  25. 62
      unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.js
  26. 2
      unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.wxml
  27. 18
      unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.wxss
  28. 2
      unpackage/dist/dev/mp-weixin/config/host.js
  29. 162
      unpackage/dist/dev/mp-weixin/pagesHome/pages/DownGoods/DownGoods.js
  30. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/DownGoods/DownGoods.wxml
  31. 28
      unpackage/dist/dev/mp-weixin/pagesHome/pages/DownGoods/DownGoods.wxss
  32. 105
      unpackage/dist/dev/mp-weixin/pagesHome/pages/MergeTray/MergeTray.js
  33. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/MergeTray/MergeTray.wxml
  34. 33
      unpackage/dist/dev/mp-weixin/pagesHome/pages/MergeTray/MergeTray.wxss
  35. 5
      unpackage/dist/dev/mp-weixin/pagesHome/pages/OrderSortingDetail/OrderSortingDetail.js
  36. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/OrderSortingDetail/OrderSortingDetail.wxml
  37. 26
      unpackage/dist/dev/mp-weixin/pagesHome/pages/PeopleScanUp/PeopleScanUp.js
  38. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/PeopleScanUp/PeopleScanUp.wxml
  39. 44
      unpackage/dist/dev/mp-weixin/pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.js
  40. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.wxml
  41. 25
      unpackage/dist/dev/mp-weixin/pagesHome/pages/PickingScanList/PickingScanList.js
  42. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/PickingScanList/PickingScanList.wxml
  43. 113
      unpackage/dist/dev/mp-weixin/pagesHome/pages/Relocation/Relocation.js
  44. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/Relocation/Relocation.wxml
  45. 43
      unpackage/dist/dev/mp-weixin/pagesHome/pages/Relocation/Relocation.wxss
  46. 110
      unpackage/dist/dev/mp-weixin/pagesHome/pages/StockUplist/StockUplist.js
  47. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/StockUplist/StockUplist.wxml
  48. 14
      unpackage/dist/dev/mp-weixin/pagesHome/pages/inventoryenter/inventoryenter.js
  49. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/inventoryenter/inventoryenter.wxml
  50. 57
      unpackage/dist/dev/mp-weixin/pagesHome/pages/pickingScan/pickingScan.js
  51. 2
      unpackage/dist/dev/mp-weixin/pagesHome/pages/pickingScan/pickingScan.wxml

2
.hbuilderx/launch.json

@ -16,7 +16,7 @@
"type" : "uniCloud"
},
{
"playground" : "custom",
"playground" : "standard",
"type" : "uni-app:app-android"
}
]

26
api/user.js

@ -1386,4 +1386,30 @@ export function postAbnormalTruckLoading(data) {
method: "post",
data
});
}
/**
* 获取零担订单物料详情
* @param {Object} data
*/
export function postZeroStockUpData(data) {
return request({
url: `logpm-distribution/app/distributionStockup/zeroStockUpData`,
method: "post",
data
});
}
/**
* 零担备货提交
* @param {Object} data
*/
export function postZeroStockUp(data) {
return request({
url: `logpm-distribution/app/distributionStockup/zeroStockUp`,
method: "post",
data
});
}

38
compoment/InputNum/InputNum.vue

@ -0,0 +1,38 @@
<template>
<input type="number" @input="inputNum" v-model="value" />
</template>
<script setup lang="ts">
import { reactive } from "vue";
// import InputNumType from '@/interfaces/compoment/InputNum';
// const details = reactive<InputNumType>({
// value: '',
// minNum: 0,
// maxNum: 0
// })
defineProps({
value: {
default: 0,
},
maxNum: {
default: 999999
},
minNum: {
default: 0
}
})
function setdetails() {
}
function inputNum() {
console.log('value :>> ', value);
}
defineExpose({ setdetails })
</script>
<style>
</style>

89
compoment/tiplist/tiplist.vue

@ -68,27 +68,6 @@
</view>
</view>
</scroll-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>
@ -97,6 +76,40 @@
<view @click.stop="checkbox(2)" class="confirm">{{confirmTxt||'确认'}}</view>
</view>
</view>
<!-- 输入框列表 -->
<view class="modtips" @click.stop.prevent v-if="tipstate==4">
<view class="title">
{{title||'提示'}}
</view>
<scroll-view scroll-y="true" class="scvboxs">
<view class="inpNumList" @click="checkitem(index)" v-for="(item,index) in inpList">
<view class="inpNum-title">
物料名称: {{item.title}}
</view>
<view class="inpNum-title">
物料总数: {{item.maxNum}}
</view>
<view class="inpNum-value">
<view class="">
物料数量:&nbsp;
</view>
<!-- 当输入框类型为数字类型时 -->
<input class="inpNum" v-if="(item.type).toLocaleLowerCase() === 'number' && !item.disabled"
:placeholder="item.placeholder" :disabled="item.disabled" type="number" v-model="item.value"
@input="inputNum(item)" />
<text v-else-if="item.disabled" style="flex: 1;"> {{item.value}}</text>
<up-input v-else :placeholder="item.placeholder" border="surround" :disabled="item.disabled"
:type="item.type" v-model="item.value" clearable></up-input>
</view>
</view>
</scroll-view>
<view class="buts">
<view @click="checkbox(1)" v-if="isshowcancel" class="cancel">{{cancelTxt||'取消'}}</view>
<view @click="checkbox(2)" class="confirm">{{confirmTxt||'确认'}}</view>
</view>
</view>
</view>
<!-- 预览图片 -->
@ -127,9 +140,11 @@
imglist: [],
maximglength: 3,
checklength: 0,
//
isChange: false,
changeImageList: [],
ImagesRequiredFields: [],
inpList: [],
showPreviewPicture: false,
})
watch(() => { details.checklist }, () => {
@ -222,8 +237,13 @@
function handleShowImage() {
details.showPreviewPicture = !details.showPreviewPicture
}
function inputNum(item) {
item.value = parseInt(item.value)
if (item.value <= item.minNum || isNaN(item.value)) item.value = item.minNum
if (item.value >= item.maxNum) item.value = item.maxNum
}
defineExpose({ setdetails })
const { isonecheck, checklength, imglist, inputtext, checklist, list, isshow, tipstate, title, isshowcancel, placeholder, confirmTxt, cancelTxt, showPreviewPicture, ImagesRequiredFields, maximglength } = toRefs(details)
const { isonecheck, checklength, imglist, inputtext, checklist, list, isshow, tipstate, title, isshowcancel, placeholder, confirmTxt, cancelTxt, showPreviewPicture, ImagesRequiredFields, maximglength, inpList } = toRefs(details)
</script>
<style lang="scss">
@ -432,4 +452,29 @@
padding: 10upx;
border-radius: 10upx;
}
//
.inpNumList {
margin-bottom: 20upx;
border-bottom: 1upx solid #092C4D20;
&>view {
margin-bottom: 10upx;
}
.inpNum-value {
display: flex;
align-items: center;
justify-content: space-between;
.inpNum {
margin-left: 20upx;
flex: 1;
padding: 0 10upx;
border: 1upx solid #000;
}
}
}
</style>

4
config/host.js

@ -8,11 +8,11 @@
// lmy
// const devhost = 'http://192.168.10.123:8889/'
// zhy
const devhost = 'http://192.168.10.48:8888/'
// const devhost = 'http://192.168.10.48:8888/'
// tjj
// const devhost = 'http://192.168.10.29:13000/'
// cyz
// const devhost = 'http://192.168.10.75:8777/'
const devhost = 'http://192.168.10.75:8777/'
// cg
// const devhost='http://192.168.10.200:8888/'
/**

6
interfaces/compoment/InputNum.ts

@ -0,0 +1,6 @@
type inputNumType = {
value : any,
maxNum : number,
minNum : number
}
export default inputNumType

28
interfaces/compoment/tiplist.ts

@ -1,4 +1,29 @@
import { detailsType } from './tips'
interface inpListItem {
/**
*/
title : string,
/**
*/
placeholder ?: string,
/**
*/
disabled ?: boolean,
/**
*/
type ?: string,
/**
*/
value : any,
/**
*/
minNum ?: number,
/**
*/
maxNum ?: number,
}
export interface tiplistType extends detailsType {
/**
* 1.
@ -42,4 +67,7 @@ export interface tiplistType extends detailsType {
/**
* */
showPreviewPicture : boolean,
/**
* */
inpList : inpListItem[];
}

6
interfaces/pagesHome/StockUplist.ts

@ -56,5 +56,9 @@ export interface detailType {
*
*/
scancode : string,
trayId : string
trayId : string,
/**
*
*/
zeroOrderVisibi : boolean
}

305
pagesHome/pages/DownGoods/DownGoods.vue

@ -17,15 +17,6 @@
<input placeholder="扫码或输入托盘码" v-model="trayCode" @blur="inscan" @confirm="inscan" />
</view>
</view>
<!-- <view>
<view>
<image src="/pagesHome/static/topicons.png"></image>
<view>托盘编号</view>
</view>
<view>
汇通龙泉001
</view>
</view> -->
<view>
<view>
<image src="/pagesHome/static/kuicon.png"></image>
@ -36,53 +27,43 @@
</view>
</view>
</view>
<!-- <view class="numvie">
<view>数量</view>
<view>20</view>
</view> -->
</view>
<view class="tbchec" v-if="details.pageType!=2&&details.pageType!=1">
<view :class="!isallcheck?'':'xz'" @click="allquanxuan">
<image :src="!isallcheck?'/pagesHome/static/downnocheck.png':'/pagesHome/static/downcheck.png'"></image>
<view>全选</view>
</view>
<!-- <view>
<image src="/pagesHome/static/downnocheck.png"></image>
<view>全选</view>
</view> -->
</view>
<scroll-view scroll-y="true" class="scvorder" :style="{'--height':pageType=='1'?'60vh':pageType=='2'?'77vh':'65vh'}">
<view class="item2">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>仓库名称{{details.resdata.warehouseName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>货区{{details.resdata.areaTitle}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>货架{{details.resdata.shelfTitle}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>货位{{details.resdata.allocationTitle}}</view>
</view>
<view class="tpbx">
<view style="width: 50%;">包件数{{details.resdata.totalNum}}</view>
<view style="width: 50%;">包件总数{{details.resdata.orderTotalnum}}</view>
</view>
<view class="tpbx">
<view style="width: 50%;">库存数{{details.resdata.stockNum}}</view>
<view style="width: 50%;">库存总数{{details.resdata.stockTotalNum}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>托盘码{{details.resdata.trayCode}}</view>
<view class="item2" v-if="pageType=='2'">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>仓库名称{{details.resdata.warehouseName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>货位信息
<text v-show="details.resdata.areaTitle">{{details.resdata.areaTitle}}</text>
<text v-show="details.resdata.shelfTitle">/{{details.resdata.shelfTitle}}</text>
<text v-show="details.resdata.allocationTitle">/{{details.resdata.allocationTitle}}</text>
</view>
</view>
<view class="tpbx">
<view style="width: 50%;">包件数{{details.resdata.totalNum}}</view>
<view style="width: 50%;">包件总数{{details.resdata.orderTotalnum}}</view>
</view>
<view class="tpbx">
<view style="width: 50%;">库存数{{details.resdata.stockNum}}</view>
<view style="width: 50%;">库存总数{{details.resdata.stockTotalNum}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>托盘码{{details.resdata.trayCode}}</view>
</view>
</view>
<scroll-view scroll-y="true" class="scvorder" :style="{'--height':pageType=='1'?'60vh':pageType=='2'?'77vh':'65vh'}">
<view class="itembox" v-for="(item,index) in datalist" v-if="details.pageType!=2&&details.pageType!=1">
<view class="topon1" @click="checkite(item)">
<view>
@ -143,42 +124,66 @@
</view>
<view class="item2" v-for="(item,index) in datalist" v-else>
<view class="tpbx" v-if="item.goodsType==1">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>服务号{{item.serviceNum}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==1" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==2">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>运单号{{item.waybillNo}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==2">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料编号{{item.materialCode}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料名称{{item.materialName}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>商场名称{{item.marketName}}</view>
<!-- 定制品 -->
<view v-if="item.goodsType === 1">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>服务号{{item.serviceNum}}</view>
</view>
<view class="tpbx" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
<!-- 零担 -->
<view v-if="item.goodsType === 2">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>运单号{{item.waybillNo}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>批次号{{item.incomingBatch}}</view>
<!-- 库存品 -->
<view v-if="item.goodsType === 3">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料编码{{item.materialCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料名称{{item.materialName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>商场名称{{item.marketName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>批次号{{item.incomingBatch}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<view class="viewnum">
<view>总包数{{item.totalNum}}</view>
<view>扫码数{{item.shelfNum}}</view>
@ -209,14 +214,32 @@
<view class="scboxitem">
<view class="items" v-for="(item,index) in codelist">
<view class="type1s">
<view v-if="item.goodsName">
<view>物料名称</view>
<view>{{item.goodsName}}</view>
</view>
<view>
<view>剩余件数</view>
<view>{{item.num}}</view>
</view>
<view>物料名称</view>
<view>{{item.materialName}}</view>
</view>
<view class="type1s">
<view>剩余件数</view>
<view>{{item.num || 0}}</view>
</view>
<view class="type1s">
<view>批次号</view>
<view>{{item.incomingBatch}}</view>
</view>
<view class="type1s">
<view>商场名称</view>
<view>{{item.marketName}}</view>
</view>
<view class="type1s">
<view>仓库名称</view>
<view>{{item.warehouseName}}</view>
</view>
<view class="type1s">
<view>库位信息</view>
<view>{{item.positionCode}}</view>
</view>
<view class="type1s">
<view>托盘信息</view>
<view>{{item.trayCode}}</view>
</view>
<view class="rksu">
<view>
@ -236,7 +259,6 @@
<saomiao2></saomiao2>
<tips ref="tip"></tips>
<tiplist ref="tiplists"></tiplist>
<button @click="moni">模拟</button>
</template>
<script lang="ts" setup>
@ -614,11 +636,6 @@
// details.checkinarr.splice(details.checkinarr.indexOf(index),1)
// }
// }
function moni() {
details.scancode = '1696511288072474638'
scandata()
}
const {
allocaTitle,
checkmarkindex,
@ -754,16 +771,17 @@
>.type1s {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20upx;
>view {
width: 50%;
display: flex;
align-items: center;
justify-content: flex-start;
font-size: 28upx;
&:nth-child(1) {
width: fit-content;
white-space: nowrap;
flex: none;
}
>view:nth-of-type(1) {
color: #90A0AF;
}
@ -993,61 +1011,62 @@
}
}
}
}
.item2 {
width: 686upx;
margin: auto;
padding: 0 24upx;
.item2 {
width: 686upx;
margin: auto;
padding: 0 24upx;
box-sizing: border-box;
background-color: #FFFFFF;
border-radius: 30upx;
position: relative;
margin-bottom: 30upx;
.qtimgzt {
width: 96upx;
height: 96upx;
position: absolute;
right: 0;
top: 0;
}
.tpbx {
display: flex;
align-items: center;
padding: 18upx 24upx;
box-sizing: border-box;
background-color: #FFFFFF;
border-radius: 30upx;
position: relative;
margin-bottom: 30upx;
.qtimgzt {
width: 96upx;
height: 96upx;
position: absolute;
right: 0;
top: 0;
}
border-bottom: 4upx solid #EEEEEE;
>.tpbx {
display: flex;
align-items: center;
padding: 18upx 24upx;
box-sizing: border-box;
border-bottom: 4upx solid #EEEEEE;
>image {
flex: none;
width: 64upx;
height: 64upx;
margin-right: 15upx;
}
>image {
width: 64upx;
height: 64upx;
margin-right: 15upx;
}
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
>view {
.numb {
font-size: 28upx;
font-weight: 400;
color: #020B18;
.numb {
font-size: 28upx;
color: #178AF2;
}
color: #178AF2;
}
}
}
>.viewnum {
height: 100upx;
display: flex;
align-items: center;
justify-content: space-around;
>.viewnum {
height: 100upx;
display: flex;
align-items: center;
justify-content: space-around;
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
}
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
}
}
}

444
pagesHome/pages/MergeTray/MergeTray.vue

@ -1,19 +1,18 @@
<template>
<u-navbar title="合托"
bgColor='#D3832A' leftIconColor='#ffffff'
titleStyle='color:#ffffff' placeholder :autoBack="true" leftIconSize='35'></u-navbar>
<u-navbar title="合托" bgColor='#D3832A' leftIconColor='#ffffff' titleStyle='color:#ffffff' placeholder
:autoBack="true" leftIconSize='35'></u-navbar>
<view class="topbos">
<view class="srview">
<view>解绑托盘码</view>
<view>
<input placeholder="请扫描或输入" v-model="mergeTray" @focus="setstate(1)"/>
<input placeholder="请扫描或输入" v-model="mergeTray" @focus="setstate(1)" />
<view class="sbm" @click="scandata">确定</view>
</view>
</view>
<view class="srview">
<view>合并托盘码</view>
<view>
<input placeholder="请扫描或输入" v-model="newmergeTray" @focus="setstate(2)"/>
<input placeholder="请扫描或输入" v-model="newmergeTray" @focus="setstate(2)" />
<view class="sbm" @click="scandata">确定</view>
</view>
</view>
@ -32,76 +31,103 @@
托盘数量{{(tabberstate==1?(beilist?.totalNum||beilist.stockNum):(newbeilist?.totalNum||beilist.stockNum))||0}}
</view>
<scroll-view scroll-y="true" class="scvorder">
<view class="itembox" v-for="(item,index) in (beilist?.list||[])" v-if="tabberstate==1">
<view class="topon1">
<view>{{index+1}}</view>
<!-- <view>
<view :class="item.isFleeing=='0'?'xzc':''">正常</view>
<view :class="item.isFleeing=='1'?'xze':''">异常</view>
<template v-if="renderList">
<view class="itembox" v-for="(item,index) in renderList">
<!-- 计数 -->
<!-- <view class="topon1">
<view>{{index+1}}</view>
</view> -->
<!-- 定制品 -->
<view v-if="item.goodsType === 1">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>服务号{{item.serviceNum}}</view>
</view>
<view class="tpbx" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单号{{item.orderCode}}</view>
</view>
<!-- <view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>仓库地址{{dtilobj.warehouseName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位信息{{dtilobj.areaTitle + '-' + dtilobj.allocationTitle}}</view>
</view> -->
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<!-- 零担 -->
<view v-if="item.goodsType === 2">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>运单号{{item.waybillNo}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单号{{item.orderCode}}</view>
</view>
<!-- <view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>仓库地址{{dtilobj.warehouseName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位信息{{dtilobj.areaTitle + '-' + dtilobj.allocationTitle}}</view>
</view> -->
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<!-- 库存品 -->
<view v-if="item.goodsType === 3">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料编码{{item.materialCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料名称{{item.materialName}}</view>
</view>
<!-- <view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>仓库地址{{dtilobj.warehouseName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位信息{{dtilobj.areaTitle + '-' + dtilobj.allocationTitle}}</view>
</view> -->
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单号{{item.orderCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>商场名称{{item.marketName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>批次号{{item.incomingBatch}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<view class="viewnum">
<view>总包数{{item.totalNum}}</view>
<view>已扫数量{{item.shelfNum}}</view>
</view>
</view>
<view class="topon2" v-if="item.orderCode" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>订单号{{item.orderCode}}</view>
</view>
<view class="topon2" v-if="item.code">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>包条码{{item.code}}</view>
</view>
<view class="topon2" v-if="item.goodsType==3">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>物料名称{{item.materialName}}</view>
</view>
<view class="topon2" v-if="item.goodsType==3">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>商场名称{{item.marketName}}</view>
</view>
<view class="topon2" v-if="item.goodsType==3">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>托盘码{{item.trayCode}}</view>
</view>
<view class="topon2" v-if="item.num||item.shelfNum">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>录入数量{{item.num||item.shelfNum}}</view>
</view>
<view class="topon2" v-if="item.totalNum">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>总数{{item.totalNum}}</view>
</view>
</view>
<view class="itembox" v-for="(item,index) in (newbeilist?.list||[])" v-if="tabberstate==2">
<view class="topon1">
<view>{{index+1}}</view>
<!-- <view>
<view :class="item.isFleeing=='0'?'xzc':''">正常</view>
<view :class="item.isFleeing=='1'?'xze':''">异常</view>
</view> -->
</view>
<view class="topon2" v-if="item.orderCode" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>订单号{{item.orderCode}}</view>
</view>
<view class="topon2" v-if="item.code">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>包条码{{item.code}}</view>
</view>
<view class="topon2" v-if="item.goodsType==3">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>物料名称{{item.materialName}}</view>
</view>
<view class="topon2" v-if="item.goodsType==3">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>商场名称{{item.marketName}}</view>
</view>
<view class="topon2" v-if="item.goodsType==3">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>托盘码{{item.trayCode}}</view>
</view>
<view class="topon2" v-if="item.num">
<image src="/pagesHome/static/scanicon1.png"></image>
<view>录入数量{{item.num}}</view>
</view>
</view>
</template>
</scroll-view>
<view class="butys">
<view class="qut">取消</view>
@ -124,16 +150,17 @@
onUnload
} from '@dcloudio/uni-app'
import { reactive, ref, toRefs } from "vue";
import utils from '@/utils/utils.js';
const tip=ref(null)
const details=reactive({
scantype:1,
mergeTray:'',//
newmergeTray:'',//
scancode:'',
tabberstate:1,
beilist:{} as any,
newbeilist:{} as any,
import utils from '@/utils/utils.js';
const tip = ref(null)
const details = reactive({
scantype: 1,
mergeTray: '',//
newmergeTray: '',//
scancode: '',
tabberstate: 1,
beilist: {} as any,
newbeilist: {} as any,
renderList: []
})
onLoad((op) => {
// details.upshelfScanType = op.type
@ -150,104 +177,108 @@
// },4500)
uni.$on('scancodedate', function (code) {
if (code) {
// console.log(code);
details.scancode = code
scandata()
}
})
})
function setstate(state:number){
details.scantype=state
function setstate(state : number) {
details.scantype = state
}
function goorderdetail(item){
function goorderdetail(item) {
uni.navigateTo({
url:'/pagesHome/pages/orderDetails/orderDetails?orderCode='+item.orderCode
url: '/pagesHome/pages/orderDetails/orderDetails?orderCode=' + item.orderCode
})
}
async function scandata(){
async function scandata() {
// let res=await
let res=null
if(details.scantype==1){
if(details.mergeTray){
details.scancode=details.mergeTray
let res = null
if (details.scantype == 1) {
if (details.mergeTray) {
details.scancode = details.mergeTray
}
let data={
trayCode:details.scancode
let data = {
trayCode: details.scancode
}
res=await warehouseTrayTypescanSourceTrayCode(data)
}else if(details.scantype==2){
if(details.newmergeTray){
details.scancode=details.newmergeTray
res = await warehouseTrayTypescanSourceTrayCode(data)
} else if (details.scantype == 2) {
if (details.newmergeTray) {
details.scancode = details.newmergeTray
}
let data={
trayCode:details.scancode
let data = {
trayCode: details.scancode
}
res=await warehouseTrayTypescanTargetTrayCode(data)
res = await warehouseTrayTypescanTargetTrayCode(data)
}
if(res.code==200){
if(details.scantype==1){
details.beilist=res.data
details.mergeTray=details.scancode
details.scantype=2
}else if(details.scantype==2){
details.newbeilist=res.data
details.newmergeTray=details.scancode
details.scantype=1
if (res.code == 200) {
if (details.scantype == 1) {
details.beilist = res.data
details.mergeTray = details.scancode
details.scantype = 2
} else if (details.scantype == 2) {
details.newbeilist = res.data
details.newmergeTray = details.scancode
details.scantype = 1
}
}else{
// ;
details.renderList = details.tabberstate === 1 ? details.beilist.list : details.newbeilist.list
} else {
}
console.log(res);
}
function settabberstate(state:number){
details.tabberstate=state
function settabberstate(state : number) {
details.tabberstate = state
if (state === 1 && details.beilist.list) details.renderList = details.beilist.list
else if (state === 2 && details.newbeilist.list) details.renderList = details.newbeilist.list
else details.renderList = []
}
function godetails(){
function godetails() {
// uni.navigateTo({
// url:'/pagesHome/pages/MergeTrayDetails/MergeTrayDetails'
// })
if(!details.newmergeTray){
if (!details.newmergeTray) {
utils.ttsspke('请扫描解绑托盘')
uni.showToast({
title:'请扫描解绑托盘',
icon:'none'
title: '请扫描解绑托盘',
icon: 'none'
})
return
}
if(!details.mergeTray){
if (!details.mergeTray) {
utils.ttsspke('请扫描合并托盘')
uni.showToast({
title:'请扫描合并托盘',
icon:'none'
title: '请扫描合并托盘',
icon: 'none'
})
return
}
tip.value.setdetails({
isshow:true,
content:'是否确认合并?',
confirmTxt:'合并',
success:async ()=>{
let data={
sourceTrayCode:details.mergeTray,
targetTrayCode:details.newmergeTray
isshow: true,
content: '是否确认合并?',
confirmTxt: '合并',
success: async () => {
let data = {
sourceTrayCode: details.mergeTray,
targetTrayCode: details.newmergeTray
}
let res=await warehouseTrayTypemergeTray(data)
if(res.code==200){
let res = await warehouseTrayTypemergeTray(data)
if (res.code == 200) {
utils.ttsspke('合托成功')
uni.navigateTo({
url:'/pagesHome/pages/MergeTrayDetails/MergeTrayDetails?tray='+details.newmergeTray
url: '/pagesHome/pages/MergeTrayDetails/MergeTrayDetails?tray=' + details.newmergeTray
})
}
tip.value.setdetails({isshow:false})
tip.value.setdetails({ isshow: false })
},
cancel:()=>{
tip.value.setdetails({isshow:false})
cancel: () => {
tip.value.setdetails({ isshow: false })
},
close:()=>{
tip.value.setdetails({isshow:false})
close: () => {
tip.value.setdetails({ isshow: false })
},
})
}
const {
beilist,
newbeilist,
@ -256,16 +287,18 @@
scantype,
scancode,
tabberstate,
}=toRefs(details)
renderList
} = toRefs(details)
</script>
<style lang="scss">
.butys{
.butys {
display: flex;
align-items: center;
margin-top: 20upx;
justify-content: space-around;
>.conf{
>.conf {
width: 320upx;
height: 100upx;
border-radius: 20upx;
@ -277,7 +310,8 @@
color: #FFFFFF;
background-color: #D3832A;
}
>.qut{
>.qut {
width: 320upx;
height: 100upx;
border-radius: 20upx;
@ -290,11 +324,13 @@
background-color: #FFFFFF;
}
}
.scvorder{
.scvorder {
width: 100%;
margin-top: 20upx;
height: 47vh;
.itembox{
.itembox {
width: 686upx;
border-radius: 20upx;
padding: 0 20upx;
@ -302,14 +338,16 @@
background-color: #ffffff;
margin: auto;
margin-bottom: 20upx;
>.topon1{
>.topon1 {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20upx 10upx;
box-sizing: border-box;
border-bottom: 4upx solid #EEEEEE;
>view:nth-of-type(1){
>view:nth-of-type(1) {
width: 50rpx;
height: 50rpx;
background: #178AF220;
@ -321,10 +359,12 @@
font-weight: 500;
color: #178AF2;
}
>view:nth-of-type(2){
>view:nth-of-type(2) {
display: flex;
align-items: center;
>view{
>view {
width: 136upx;
height: 64upx;
border-radius: 8upx;
@ -336,37 +376,44 @@
color: #90A0AF;
background-color: #F5F5F6;
margin-right: 20upx;
&:nth-last-child(1){
&:nth-last-child(1) {
margin-right: 0upx;
}
}
.xzc{
.xzc {
background-color: #178AF2 !important;
color: #ffffff !important;
}
.xze{
.xze {
background-color: #F8544B !important;
color: #ffffff !important;
}
>image{
>image {
width: 64upx;
height: 64upx;
}
}
}
>.topon2{
>.topon2 {
display: flex;
align-items: center;
justify-content: flex-start;
padding: 20upx 10upx;
box-sizing: border-box;
border-bottom: 4upx solid #EEEEEE;
>image{
>image {
width: 64upx;
height: 64upx;
margin-right: 20upx;
}
>view{
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
@ -375,7 +422,48 @@
}
}
}
.tarynumvw{
.tpbx {
display: flex;
align-items: center;
padding: 18upx 24upx;
box-sizing: border-box;
border-bottom: 4upx solid #EEEEEE;
>image {
flex: none;
width: 64upx;
height: 64upx;
margin-right: 15upx;
}
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
.numb {
font-size: 28upx;
color: #178AF2;
}
}
}
.viewnum {
height: 100upx;
display: flex;
align-items: center;
justify-content: space-around;
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
}
}
.tarynumvw {
width: 100%;
padding: 24upx 70upx;
box-sizing: border-box;
@ -383,33 +471,38 @@
margin-top: 4upx;
box-sizing: border-box;
}
.tabsetnumb{
.tabsetnumb {
display: flex;
align-items: center;
justify-content: space-between;
background-color: #ffffff;
margin-top: 20upx;
.xz{
>view:nth-of-type(1){
.xz {
>view:nth-of-type(1) {
color: #D3832A !important;
}
>view:nth-of-type(2){
>view:nth-of-type(2) {
background-color: #D3832A !important;
}
}
>view{
>view {
width: 50%;
display: flex;
flex-direction: column;
align-items: center;
>view:nth-of-type(1){
>view:nth-of-type(1) {
font-size: 32upx;
font-weight: 400;
color: #020B18;
padding: 30upx 0;
}
>view:nth-of-type(2){
>view:nth-of-type(2) {
width: 96upx;
height: 8upx;
background-color: #D3832A00;
@ -417,17 +510,20 @@
}
}
}
.topbos{
.topbos {
display: flex;
flex-direction: column;
>.srview{
>.srview {
display: flex;
align-items: center;
padding: 26upx 32upx;
box-sizing: border-box;
background-color: #ffffff;
margin-bottom: 4upx;
.sbm{
.sbm {
width: 150upx;
height: 64upx;
display: flex;
@ -437,23 +533,27 @@
color: #ffffff;
border-radius: 10upx;
}
&:nth-last-child(1){
&:nth-last-child(1) {
margin-bottom: 0;
}
>view:nth-of-type(1){
>view:nth-of-type(1) {
width: 190upx;
font-size: 28upx
}
>view:nth-of-type(2){
>view:nth-of-type(2) {
font-size: 28upx;
flex: 1;
display: flex;
align-items: center;
>input{
>input {
flex: 1;
font-size: 28upx;
}
}
}
}
</style>
</style>

259
pagesHome/pages/OrderSortingDetail/OrderSortingDetail.vue

@ -1,14 +1,7 @@
<template>
<!-- <u-navbar title="分拣" placeholder border=true :autoBack="true" leftIconSize='35'></u-navbar> -->
<u-navbar
title="扫描"
placeholder
:autoBack="true"
leftIconSize='35'
bgColor='#d3832a'
leftIconColor='#ffffff'
titleStyle='color:#ffffff'
></u-navbar>
<u-navbar title="扫描" placeholder :autoBack="true" leftIconSize='35' bgColor='#d3832a' leftIconColor='#ffffff'
titleStyle='color:#ffffff'></u-navbar>
<image mode="widthFix" class="bgimg" src="/pagesHome/static/bgby.png"></image>
<!-- <view class="headtop">
<view>
@ -56,7 +49,7 @@
<view>打托方式码板打托</view>
</view>
</view> -->
<scroll-view class="scvmabx" scroll-y="true">
<view class="maxboxs">
<view class="items chuanhuo" @click="godetaillist(item)" v-for="item in datelist">
@ -66,6 +59,10 @@
<view :style="item.isFleeing?'color: #ff0000;':''">{{item.dataCode}}{{item.isFleeing?'(窜)':''}}</view>
<image @click="removeitem(item)" src="/pagesHome/static/removeitem.png"></image>
</view>
<view class="tophd" @click.stop.prevent>
<view>服务号</view>
<view>{{''}}</view>
</view>
<view class="numbxvie">
<view>
<view class="zhon">{{item.orderTotalNum}}</view>
@ -103,23 +100,23 @@
} from '@dcloudio/uni-app'
import utils from '@/utils/utils.js'
import { reactive, ref, toRefs, watchEffect } from "vue";
let details=reactive({
trayCode:'',
trayType:'',
scancode:'',
datelist:[],
detauser:null as any,
trayCodevalue:'',
iscan:false
let details = reactive({
trayCode: '',
trayType: '',
scancode: '',
datelist: [],
detauser: null as any,
trayCodevalue: '',
iscan: false
})
let tip=ref(null)
onLoad((op)=>{
details.trayCode=op.trayCode
details.trayType=op.trayType
if(!op.trayType){
let tip = ref(null)
onLoad((op) => {
details.trayCode = op.trayCode
details.trayType = op.trayType
if (!op.trayType) {
uni.showToast({
title:'获取打托方式出错',
icon:'none'
title: '获取打托方式出错',
icon: 'none'
})
}
// setTimeout(()=>{
@ -127,7 +124,7 @@
// scandata()
// },3000)
// setTimeout(()=>{
// details.scancode='23080206190-1'
// scandata()
// },6000)
@ -139,84 +136,84 @@
// }
// })
// }
})
onShow(()=>{
uni.$on('scancodedate', function(code) {
onShow(() => {
uni.$on('scancodedate', function (code) {
if (code) {
console.log(code);
details.scancode=code
details.scancode = code
scandata()
details.iscan=true
details.iscan = true
}
})
initlist()
})
onHide(()=>{
onHide(() => {
uni.$off('scancodedate')
})
async function godetaillist(item){
async function godetaillist(item) {
uni.navigateTo({
url:'/pagesHome/pages/OrderSortingDetailList/OrderSortingDetailList?orderCode='
+item.dataCode+'&trayCode='
+details.trayCode
url: '/pagesHome/pages/OrderSortingDetailList/OrderSortingDetailList?orderCode='
+ item.dataCode + '&trayCode='
+ details.trayCode
})
}
function removeitem(item){
function removeitem(item) {
tip.value.setdetails({
title:'提示',
content:'确认删除该订单与托盘码的绑定?',
confirmTxt:'确认',
isshow:true,
isshowcancel:true,
success:async ()=>{
let data={
trayCode:details.trayCode,
orderCode:item.dataCode,
title: '提示',
content: '确认删除该订单与托盘码的绑定?',
confirmTxt: '确认',
isshow: true,
isshowcancel: true,
success: async () => {
let data = {
trayCode: details.trayCode,
orderCode: item.dataCode,
}
let res=await warehouseTrayTypedeleteOrderCode(data)
let res = await warehouseTrayTypedeleteOrderCode(data)
initlist()
tip.value.setisshow(false)
},
cancel:()=>{
cancel: () => {
tip.value.setisshow(false)
},
close:()=>{
close: () => {
tip.value.setisshow(false)
}
})
}
async function initlist(){
let data={
trayCode:details.trayCode
async function initlist() {
let data = {
trayCode: details.trayCode
}
let res=await warehouseTrayTypeorderScanTrayCode(data)
console.log(res.data,'resresresres');
if(res.code==200){
if(res.data.isHasData==1){
details.datelist=res.data.data.list
details.detauser=res.data.data
}else{
res.data.data.map(item=>{
if(item.dictKey==details.trayType){
details.trayCodevalue=item.dictValue
let res = await warehouseTrayTypeorderScanTrayCode(data)
console.log(res.data, 'resresresres');
if (res.code == 200) {
if (res.data.isHasData == 1) {
details.datelist = res.data.data.list
details.detauser = res.data.data
} else {
res.data.data.map(item => {
if (item.dictKey == details.trayType) {
details.trayCodevalue = item.dictValue
}
})
}
if(details?.detauser?.trayNum&&details?.detauser?.trayNum>0&&details.iscan){
utils.ttsspke(details.detauser.trayNum +'件')
if (details?.detauser?.trayNum && details?.detauser?.trayNum > 0 && details.iscan) {
utils.ttsspke(details.detauser.trayNum + '件')
}
}else {
} else {
}
}
async function scandata(){
let data={
trayType:details.trayType,
trayCode:details.trayCode,
orderPackageCode:details.scancode,
async function scandata() {
let data = {
trayType: details.trayType,
trayCode: details.trayCode,
orderPackageCode: details.scancode,
}
let response=await warehouseTrayTypeorderScanOrderPackageCode(data)
let response = await warehouseTrayTypeorderScanOrderPackageCode(data)
console.log(response);
initlist()
utils.ttsspke('')
@ -226,14 +223,14 @@
// utils.ttsspke((detauser?.trayNum||0)+'')
// }
// })
function initpage(){
function initpage() {
}
const { datelist , detauser }=toRefs(details)
const { datelist, detauser } = toRefs(details)
</script>
<style lang="scss">
.mabxtop{
.mabxtop {
position: relative;
width: 684upx;
// height: 348upx;
@ -247,34 +244,40 @@
flex-direction: column;
align-items: center;
justify-content: center;
>view{
>view {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 50upx;
&:nth-last-child(1){
&:nth-last-child(1) {
margin-bottom: 0;
}
>view{
&:nth-of-type(1){
>view {
&:nth-of-type(1) {
width: 70%;
}
&:nth-of-type(2){
&:nth-of-type(2) {
width: 30%;
}
display: flex;
flex-direction: column;
align-items: flex-start;
>view:nth-of-type(1){
>view:nth-of-type(1) {
font-size: 32upx;
font-weight: 400;
color: #020B18;
word-wrap: break-word;
word-break: break-all;
}
>view:nth-of-type(2){
>view:nth-of-type(2) {
font-size: 28upx;
font-weight: 400;
color: #90A0AF;
@ -282,41 +285,48 @@
}
}
}
.bgimg{
.bgimg {
position: fixed;
left: 0;
top: 0;
width: 100%;
}
.scvmabx{
.scvmabx {
width: 684rpx;
height: 45vh;
margin: auto;
margin-top: 20upx;
.maxboxs{
.maxboxs {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
.chuanhuo{
border: #ff0000 ;
.chuanhuo {
border: #ff0000;
}
.weiqt{
.weiqt {
position: absolute;
right: 0;
top: 0;
width: 70upx;
height: 70upx;
}
.qitao{
.qitao {
position: absolute;
right: 0;
top: 0;
width: 70upx;
height: 70upx;
}
>.items{
>.items {
width: 690upx;
display: flex;
flex-direction: column;
@ -327,11 +337,12 @@
border-radius: 10upx;
margin-bottom: 30upx;
position: relative;
&:nth-last-child(1){
&:nth-last-child(1) {
margin-bottom: 20upx;
}
.tophd{
.tophd {
width: 100%;
display: flex;
align-items: flex-start;
@ -340,51 +351,62 @@
box-sizing: border-box;
padding-top: 30upx;
border-bottom: 4upx solid #EEEEEE;
>image{
>image {
width: 48upx;
height: 48upx;
margin-right: 10upx;
box-sizing: border-box;
}
>view{
>view {
font-size: 32upx;
color: #020B18;
font-weight: 400;
word-wrap: break-word;
word-break: break-all;
&:nth-of-type(1){
&:nth-of-type(1) {
width: 130upx;
}
}
>view:nth-of-type(2){
>view:nth-of-type(2) {
flex: 1;
}
}
.numbxvie{
.numbxvie {
width: 100%;
display: flex;
align-items: center;
justify-content: space-around;
padding: 15upx 25upx;
box-sizing: border-box;
.zhon{
.zhon {
color: #D3832A;
}
.yish{
.yish {
color: #1197EB;
}
.weish{
.weish {
color: #020B18;
}
>view{
>view {
display: flex;
flex-direction: column;
align-items: center;
>view:nth-of-type(1){
>view:nth-of-type(1) {
font-size: 36upx;
margin-bottom: 12upx;
}
>view:nth-of-type(2){
>view:nth-of-type(2) {
font-size: 28upx;
}
}
@ -392,6 +414,7 @@
}
}
}
.headtop {
width: 684upx;
padding: 20upx;
@ -406,15 +429,18 @@
margin: auto;
border-radius: 20upx;
margin-top: 30upx;
>view{
>view {
flex: 1;
>input{
>input {
flex: 1;
font-size: 28upx;
}
}
}
.hedtopt{
.hedtopt {
display: flex;
align-items: center;
justify-content: center;
@ -422,7 +448,8 @@
background-color: #ffffff;
padding: 36upx 32upx;
box-sizing: border-box;
.typto{
.typto {
display: flex;
align-items: center;
justify-content: space-between;
@ -431,13 +458,15 @@
font-weight: 400;
color: #092C4D;
margin-bottom: 20upx;
&:nth-last-child(1){
&:nth-last-child(1) {
margin-bottom: 0;
}
>view{
>view {
flex: 1;
}
}
}
</style>
</style>

35
pagesHome/pages/PeopleScanUp/PeopleScanUp.vue

@ -201,38 +201,40 @@
<view class="items" @click="setchecl(index)" v-for="(item,index) in codelist">
<view class="type1s">
<view>
<view>订单号</view>
<view>{{item.orderCode}}</view>
<view class="title">物料编码</view>
<view>{{item.materialCode||'暂无数据'}}</view>
</view>
</view>
<view class="type1s">
<view>
<view class="title">剩余件数</view>
<view>{{item.residueNumber||'暂无数据'}}</view>
</view>
<view>
<view class="title">总件数</view>
<view>{{item.totalNumber||'暂无数据'}}</view>
<view class="title">物料名称</view>
<view>{{item.materialName||'暂无数据'}}</view>
</view>
</view>
<view class="type1s">
<view>
<view class="title">单号</view>
<view>{{item.waybillCode||'暂无数据'}}</view>
<view>单号</view>
<view>{{item.orderCode}}</view>
</view>
</view>
<view class="type1s">
<view>
<view class="title">物料名称</view>
<view>{{item.materialName||'暂无数据'}}</view>
<view class="title">剩余件数</view>
<view>{{item.residueNumber||0}}</view>
</view>
<view>
<view class="title">总件数</view>
<view>{{item.totalNumber||0}}</view>
</view>
</view>
<view class="type1s">
<view>
<view class="title">物料编码</view>
<view>{{item.materialCode||'暂无数据'}}</view>
<view class="title">运单号</view>
<view>{{item.waybillCode||'暂无数据'}}</view>
</view>
</view>
<view class="rksu" @click.stop.prevent>
<view>
<view class="title">入库数</view>
@ -241,7 +243,10 @@
</view>
<view class="lisbite" v-if="checkinarr.indexOf(index)!=-1">
<view class="itembox" v-for="ite in item.list">
<view v-if="ite.areaName||ite.allocationName">库位{{ite.areaName+'-'+ite.allocationName}}</view>
<view>库位
<text v-if="ite.areaName">{{ite.areaName}}</text>
<text v-if="ite.allocationName">{{'-'+ite.allocationName}}</text>
</view>
<view>托盘码{{ite.trayCode}}</view>
<view>数量{{ite.num}}</view>
</view>

54
pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.vue

@ -138,10 +138,16 @@
<view>{{item.orderTotalNum}}</view>
</view>
</view>
<view class="type1s">
<view>
<view>剩余件数</view>
<view>{{item.residueNum}}</view>
</view>
</view>
<view class="rksu">
<view>
<view>入库数</view>
<input placeholder="请输入入库数" v-model="item.number" />
<input placeholder="请输入入库数" v-model="item.number" type="number" @input="inputNum(item)" />
</view>
</view>
<view class="lisbite" v-if="checkinarr.indexOf(index)!=-1">
@ -251,31 +257,11 @@
}
async function confirmlist() {
let zeroList = []
// 退
let isfl = false
details.codelist.map(item => {
details.codelist.forEach(item => {
console.log(item.number, item.orderTotalNum, '////////////');
if (item.number == 0) {
isfl = true
tip.value.setdetails({
title: '警告',
content: '不能大于订单总数',
confirmTxt: '确认',
isshow: true,
isshowcancel: false,
success: () => {
// let obj=details.codelist[index]
// obj.value=details.codelist[index]['orderTotalNum']
// details.codelist.splice(index,1,obj)
// event.detail.value=details.codelist[index]['orderTotalNum']
tip.value.setisshow(false)
},
cancel: () => {
tip.value.setisshow(false)
},
close: () => {
tip.value.setisshow(false)
}
})
return
}
if (item.number > item.orderTotalNum) {
@ -287,10 +273,6 @@
isshow: true,
isshowcancel: false,
success: () => {
// let obj=details.codelist[index]
// obj.value=details.codelist[index]['orderTotalNum']
// details.codelist.splice(index,1,obj)
// event.detail.value=details.codelist[index]['orderTotalNum']
tip.value.setisshow(false)
},
cancel: () => {
@ -327,9 +309,7 @@
details.waybillCode = ''
}
}
function stop() {
}
function inputtxt(event, index) {
if (details.codelist[index]['orderTotalNum'] < Number(event.detail.value)) {
tip.value.setdetails({
@ -408,6 +388,22 @@
function setshowstate(state : number) {
details.showstate = state
}
//
let isClick = null
function inputNum(item) {
if (isClick) clearTimeout(isClick)
isClick = setTimeout(() => {
item.number = parseInt(item.number)
// NaN, item.number0
if (item.number !== item.number) item.number = 0
//
if (item.number >= item.residueNum) item.number = item.residueNum
//
if (item.number <= 0) item.number = 0
}, 500)
}
const { checkinarr, Remarktext, datalist, warehouseTray, showstate, waybillCode, codelist } = toRefs(details)
</script>

10
pagesHome/pages/PickingScanList/PickingScanList.vue

@ -1,7 +1,6 @@
<template>
<!-- <u-navbar title="配送客户扫描" placeholder border=true :autoBack="true" leftIconSize='35'></u-navbar> -->
<u-navbar title="拣货客户列表" bgColor='#D3832A' leftIconColor='#ffffff' titleStyle='color:#ffffff' placeholder
:autoBack="true" leftIconSize='35'></u-navbar>
@leftClick="backPreviousPage" leftIconSize='35'></u-navbar>
<view class="hedtopt">
<view class="typto">
<view>备货区域<text class="vibx" @click="showlist">{{items.stockupArea}}</text></view>
@ -189,6 +188,13 @@
}
})
}
//
function backPreviousPage() {
uni.redirectTo({
url: '/pagesHome/pages/pickingScan/pickingScan'
})
}
</script>
<style lang="scss">

248
pagesHome/pages/Relocation/Relocation.vue

@ -48,73 +48,102 @@
<view class="scview">
<scroll-view class="sclcs" scroll-y="true">
<view class="visc">
<view class="item2" v-for="item in scanlist" v-if="pagetype==1">
<view class="tpbx" v-if="item.goodsType==1">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>服务号{{item.serviceNum}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==1" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==2">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>运单号{{item.waybillNo}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==2" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料编号{{item.materialCode}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料名称{{item.materialName}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>商场名称{{item.marketName}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>批次号{{item.incomingBatch}}</view>
</view>
<view class="tpbx" v-if="item.trayCode">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>托盘码{{item.trayCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位{{obldate.areaName+'-'+obldate.allocationName}}</view>
</view>
<view class="viewnum">
<view>总包数{{item.totalNum}}</view>
<view>在托数{{item.shelfNum}}</view>
</view>
<image class="qtimgzt"
:src="item.totalNum==item.shelfNum?'/pagesHome/static/qitao.png':'/pagesHome/static/weiqitao.png'">
</image>
</view>
<view class="item2" v-for="item in scanlist" v-if="pagetype==2">
<view class="tpbx" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>包条码{{item.orderPackageCode}}</view>
<template v-if="pagetype==1">
<view class="item2" v-for="(item,index) in scanlist">
<!-- 定制品 -->
<view v-if="item.goodsType === 1">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>服务号{{item.serviceNum}}</view>
</view>
<view class="tpbx" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<!-- 零担 -->
<view v-if="item.goodsType === 2">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>运单号{{item.waybillNo}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<!-- 库存品 -->
<view v-if="item.goodsType === 3">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料编码{{item.materialCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料名称{{item.materialName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>仓库地址{{obldate.warehouseName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位信息{{obldate.areaName + '-' + obldate.allocationName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>商场名称{{item.marketName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>批次号{{item.incomingBatch}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<view class="viewnum">
<view>总包数{{item.totalNum}}</view>
<view>扫码数{{item.shelfNum}}</view>
</view>
<image class="qtimgzt"
:src="item.totalNum==item.shelfNum?'/pagesHome/static/qitao.png':'/pagesHome/static/weiqitao.png'">
</image>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位{{item.positionCode}}</view>
</template>
<template v-if="pagetype==2">
<view class="item2" v-for="item in scanlist">
<view class="tpbx" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>包条码{{item.orderPackageCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位{{item.positionCode}}</view>
</view>
</view>
</view>
</template>
</view>
</scroll-view>
</view>
@ -230,21 +259,10 @@
obldate: {} as any,
codenumer: 0,
isshowtot: false,
})
onLoad((op) => {
details.pagetype = op.type
details.scancode = '1697135045583261698'
scandata()
// setTimeout(() => {
// details.scancode = 'HTCQ000006'
// scandata()
// }, 2500)
// setTimeout(()=>{
// details.scancode='23072506122-2'
// scandata()
// },1500)
uni.$on('scancodedate', function (code) {
if (code) {
// console.log(code);
@ -253,11 +271,11 @@
}
})
})
function goorderdetail(item){
uni.navigateTo({
url:'/pagesHome/pages/orderDetails/orderDetails?orderCode='+item.orderCode
})
}
function goorderdetail(item) {
uni.navigateTo({
url: '/pagesHome/pages/orderDetails/orderDetails?orderCode=' + item.orderCode
})
}
const traynumber = computed(() => {
let numbers = 0
details.scanlist.map(item => {
@ -277,6 +295,7 @@
})
async function scandata() {
let res = null
// ,
if (!details.allocationId) {
let data = {
allocationId: details.scancode
@ -297,6 +316,7 @@
if (res.code == 200) {
details.trayCode = details.scancode
details.scanlist = res.data.list
console.log('details.scanlist :>> ', details.scanlist);
details.obldate = res.data
}
@ -353,6 +373,7 @@
}
details.isshowtot = flg
}
const {
obldate,
isshowtot,
@ -615,6 +636,7 @@
&:nth-of-type(1) {
margin-bottom: 30upx;
}
&:nth-of-type(2) {
display: flex;
align-items: center;
@ -732,7 +754,8 @@
}
}
}
.item2{
.item2 {
width: 686upx;
margin: auto;
padding: 0 24upx;
@ -741,47 +764,29 @@
border-radius: 30upx;
position: relative;
margin-bottom: 30upx;
.qtimgzt{
.qtimgzt {
width: 96upx;
height: 96upx;
position: absolute;
right: 0;
top: 0;
}
>.tpbx{
display: flex;
align-items: center;
padding: 18upx 24upx;
box-sizing: border-box;
border-bottom: 4upx solid #EEEEEE;
>image{
width: 64upx;
height: 64upx;
margin-right: 15upx;
}
>view{
font-size: 28upx;
font-weight: 400;
color: #020B18;
.numb{
font-size: 28upx;
color: #178AF2;
}
}
}
>.viewnum{
>.viewnum {
height: 100upx;
display: flex;
align-items: center;
justify-content: space-around;
>view{
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
}
}
}
.item2 {
width: 686upx;
padding: 0 24upx;
@ -829,6 +834,33 @@
}
}
}
.tpbx {
display: flex;
align-items: center;
padding: 18upx 24upx;
box-sizing: border-box;
border-bottom: 4upx solid #EEEEEE;
>image {
flex: none;
width: 64upx;
height: 64upx;
margin-right: 15upx;
}
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
.numb {
font-size: 28upx;
color: #178AF2;
}
}
}
}
}

349
pagesHome/pages/RelocationAllocationId/RelocationAllocationId.vue

@ -1,6 +1,6 @@
<template>
<u-navbar :title="pagetype=='1'?'托盘移库':'按件移库'" bgColor='#D3832A' leftIconColor='#ffffff' titleStyle='color:#ffffff'
placeholder :autoBack="true" leftIconSize='35'></u-navbar>
<u-navbar title="按库位移库" bgColor='#D3832A' leftIconColor='#ffffff' titleStyle='color:#ffffff' placeholder
:autoBack="true" leftIconSize='35'></u-navbar>
<image mode="widthFix" class="bgimg" src="/pagesHome/static/bgby.png"></image>
<view class="scanqcview">
<image src="/pagesHome/static/scanqc.png"></image>
@ -59,73 +59,99 @@
<view class="scview">
<scroll-view class="sclcs" scroll-y="true">
<view class="visc">
<view class="item2" v-for="item in scanlist">
<view class="tpbx" v-if="item.goodsType==1">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>服务号{{item.serviceNum}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==1" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==2">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>运单号{{item.waybillNo}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==2" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料编号{{item.materialCode}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料名称{{item.materialName}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>商场名称{{item.marketName}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx" v-if="item.goodsType==3">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>批次号{{item.incomingBatch}}</view>
<view class="item2" v-for="(item,index) in scanlist">
<!-- 定制品 -->
<view v-if="item.goodsType === 1">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>服务号{{item.serviceNum}}</view>
</view>
<view class="tpbx" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<!-- <view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>仓库地址{{dtilobj.warehouseName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位信息{{dtilobj.areaTitle + '-' + dtilobj.allocationTitle}}</view>
</view> -->
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<view class="tpbx" v-if="item.trayCode">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>托盘码{{item.trayCode}}</view>
<!-- 零担 -->
<view v-if="item.goodsType === 2">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>运单号{{item.waybillNo}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<!-- <view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>仓库地址{{dtilobj.warehouseName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位信息{{dtilobj.areaTitle + '-' + dtilobj.allocationTitle}}</view>
</view> -->
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位{{(dtilobj?.areaTitle||'')+'-'+(dtilobj?.shelfTitle||"")+'-'+(dtilobj?.allocationTitle||'')}}</view>
<!-- 库存品 -->
<view v-if="item.goodsType === 3">
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料编码{{item.materialCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>物料名称{{item.materialName}}</view>
</view>
<!-- <view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>仓库地址{{dtilobj.warehouseName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位信息{{dtilobj.areaTitle + '-' + dtilobj.allocationTitle}}</view>
</view> -->
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>商场名称{{item.marketName}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>批次号{{item.incomingBatch}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>剩余数量{{item.totalNum-item.shelfNum}}</view>
</view>
</view>
<view class="viewnum">
<view>总包数{{item.totalNum}}</view>
<view>在托数{{item.shelfNum}}</view>
<view>扫码{{item.shelfNum}}</view>
</view>
<image class="qtimgzt"
:src="item.totalNum==item.shelfNum?'/pagesHome/static/qitao.png':'/pagesHome/static/weiqitao.png'">
</image>
</view>
<view class="item2" v-for="item in scanlist" v-if="pagetype==2">
<view class="tpbx" @click.stop="goorderdetail(item)">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>订单自编号{{item.orderCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>包条码{{item.orderPackageCode}}</view>
</view>
<view class="tpbx">
<image src="/pagesHome/static/kuweiicon.png"></image>
<view>库位{{item.positionCode}}</view>
</view>
</view>
</view>
</scroll-view>
</view>
@ -183,54 +209,50 @@
onUnload
} from '@dcloudio/uni-app'
import { computed, reactive, ref, toRefs, watchEffect } from "vue";
import utils from '../../../utils/utils';
import utils from '../../../utils/utils';
const tip = ref(null)
let details = reactive({
scancode1: '',
scancode: '',
pagetype: '',
allocationId: '',
targetAllocationId:'',
targetAllocationId: '',
dtilobj: {} as any,
trayCode: '',
scanlist: [],
obldate: {} as any,
codenumer: 0,
isshowtot: false,
})
onLoad((op) => {
details.pagetype = op.type
// details.scancode = '1696511288072474630'
// scandata()
// setTimeout(() => {
// details.scancode1 = '1696511288072474637'
// scandata()
// }, 2500)
// setTimeout(()=>{
// details.scancode='23072506122-2'
// scandata()
// },1500)
utils.ttsspke('请先扫描要移动的库位,再扫描目标库位')
})
// ,
onHide(() => {
uni.$off('scancodedate')
})
//
onShow(() => {
uni.$on('scancodedate', function (code) {
if (code) {
// console.log(code);
if(!details.allocationId){
if (!details.allocationId) {
details.scancode = code
}else if(!details.targetAllocationId){
} else if (!details.targetAllocationId) {
details.scancode1 = code
}
scandata()
}
})
})
function goorderdetail(item){
uni.navigateTo({
url:'/pagesHome/pages/orderDetails/orderDetails?orderCode='+item.orderCode
})
}
function goorderdetail(item) {
uni.navigateTo({
url: '/pagesHome/pages/orderDetails/orderDetails?orderCode=' + item.orderCode
})
}
const traynumber = computed(() => {
let numbers = 0
details.scanlist.map(item => {
@ -248,10 +270,10 @@ import utils from '../../../utils/utils';
})
console.log(details.codenumer);
})
async function scandata(flg?:boolean,type?:number) {
async function scandata(flg ?: boolean, type ?: number) {
let res = null
if(flg){
if (type==1) {
if (flg) {
if (type == 1) {
let data = {
allocationId: details.scancode
}
@ -263,19 +285,19 @@ import utils from '../../../utils/utils';
// details.scancode = ''
}
return
}else{
let data = {
allocationId: details.scancode1,
}
res = await warehouseUpdownTypemoveAllocationScanAllocation(data)
if (res.code == 200) {
details.targetAllocationId = res.data.allocationId
details.obldate = res.data
}
} else {
let data = {
allocationId: details.scancode1,
}
res = await warehouseUpdownTypemoveAllocationScanAllocation(data)
if (res.code == 200) {
details.targetAllocationId = res.data.allocationId
details.obldate = res.data
}
}
return
}
if (!details.allocationId) {
let data = {
allocationId: details.scancode
@ -285,18 +307,20 @@ import utils from '../../../utils/utils';
details.dtilobj = res.data
details.allocationId = res.data.allocationId
details.scanlist = res.data.list
console.log('res1 :>> ', res);
// details.scancode = ''
}
return
}else{
let data = {
allocationId: details.scancode1,
}
res = await warehouseUpdownTypemoveAllocationScanAllocation(data)
if (res.code == 200) {
details.targetAllocationId = res.data.allocationId
details.obldate = res.data
}
} else {
let data = {
allocationId: details.scancode1,
}
res = await warehouseUpdownTypemoveAllocationScanAllocation(data)
if (res.code == 200) {
details.targetAllocationId = res.data.allocationId
details.obldate = res.data
console.log('res2 :>> ', res);
}
}
// if (details.pagetype == '1') {
// let data = {
@ -356,6 +380,7 @@ import utils from '../../../utils/utils';
}
details.isshowtot = flg
}
const {
scancode1,
obldate,
@ -598,35 +623,6 @@ import utils from '../../../utils/utils';
}
}
.tuopanview {
position: relative;
display: flex;
flex-direction: column;
width: 686upx;
// height: 160upx;
background: #FFFFFF;
border-radius: 8upx;
margin: auto;
margin-top: 30upx;
padding: 30upx 24upx;
box-sizing: border-box;
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
&:nth-of-type(1) {
margin-bottom: 30upx;
}
&:nth-of-type(2) {
display: flex;
align-items: center;
justify-content: space-between;
}
}
}
.butbox {
display: flex;
align-items: center;
@ -736,7 +732,8 @@ import utils from '../../../utils/utils';
}
}
}
.item2{
.item2 {
width: 686upx;
margin: auto;
padding: 0 24upx;
@ -745,91 +742,51 @@ import utils from '../../../utils/utils';
border-radius: 30upx;
position: relative;
margin-bottom: 30upx;
.qtimgzt{
.qtimgzt {
width: 96upx;
height: 96upx;
position: absolute;
right: 0;
top: 0;
}
>.tpbx{
display: flex;
align-items: center;
padding: 18upx 24upx;
box-sizing: border-box;
border-bottom: 4upx solid #EEEEEE;
>image{
width: 64upx;
height: 64upx;
margin-right: 15upx;
}
>view{
font-size: 28upx;
font-weight: 400;
color: #020B18;
.numb{
font-size: 28upx;
color: #178AF2;
}
}
}
>.viewnum{
>.viewnum {
height: 100upx;
display: flex;
align-items: center;
justify-content: space-around;
>view{
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
}
}
}
.item2 {
width: 686upx;
padding: 0 24upx;
box-sizing: border-box;
background-color: #FFFFFF;
border-radius: 30upx;
position: relative;
margin-bottom: 30upx;
>.tpbx {
display: flex;
align-items: center;
padding: 18upx 24upx;
box-sizing: border-box;
border-bottom: 4upx solid #EEEEEE;
>image {
width: 64upx;
height: 64upx;
margin-right: 15upx;
}
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
.tpbx {
display: flex;
align-items: center;
padding: 18upx 24upx;
box-sizing: border-box;
border-bottom: 4upx solid #EEEEEE;
.numb {
font-size: 28upx;
color: #178AF2;
}
}
>image {
flex: none;
width: 64upx;
height: 64upx;
margin-right: 15upx;
}
>.viewnum {
height: 100upx;
display: flex;
align-items: center;
justify-content: space-around;
>view {
font-size: 28upx;
font-weight: 400;
color: #020B18;
>view {
.numb {
font-size: 28upx;
font-weight: 400;
color: #020B18;
color: #178AF2;
}
}
}

164
pagesHome/pages/StockUplist/StockUplist.vue

@ -8,8 +8,8 @@
<view>备货区域{{user.goodsAreaName}}</view>
</view>
<view class="type1">
<view>计划件数{{user.planNum}}</view>
<view>扫码件数{{user.scanNum}}</view>
<view>计划件数{{user.planNum || 0}}</view>
<view>备货件数{{user.scanNum || 0}}</view>
</view>
</view>
<view class="tabtip">
@ -42,8 +42,8 @@
</view>
</view>
<view>
<view><text style="color: #90A0AF;">计划件数</text>{{item.planNum}}</view>
<view><text style="color: #90A0AF;">扫描件数</text>{{item.scanNum}}</view>
<view><text style="color: #90A0AF;">计划件数</text>{{item.planNum || 0}}</view>
<view><text style="color: #90A0AF;">扫描件数</text>{{item.scanNum || 0}}</view>
</view>
</view>
<view class="buttts">
@ -79,7 +79,7 @@
<view><text style="color: #90A0AF;">规格</text>{{item.cargoNorms}}</view>
</view>
<view>
<view><text style="color: #90A0AF;">计划数量</text>{{item.planNum}}</view>
<view><text style="color: #90A0AF;">计划数量</text>{{item.planNum || 0}}</view>
<view><text style="color: #90A0AF;">单位</text>{{item.cargoUnit}}</view>
</view>
</view>
@ -93,32 +93,36 @@
</view>
</view>
<!-- 零担 -->
<view class="item" v-if="orderStatus==3" v-for="item in zeroOrderList">
<view class="toptitl">
<view class="toplft">
库位号{{item.allocation}}
</view>
<view class="tis bf">
按件扫描
</view>
</view>
<view class="boxcontt">
<view>
<view><text style="color: #90A0AF;">托盘号</text>{{item.pallet}}</view>
<view @click.stop="goorderdetail(item)"><text style="color: #90A0AF;">订单自编码</text>{{item.orderCode}}
<template v-if="orderStatus==3">
<view class="item" v-for="item in zeroOrderList">
<view class="toptitl">
<view class="toplft">
库位号{{item.allocation}}
</view>
<view class="tis bf">
按件扫描
</view>
</view>
<view>
<view><text style="color: #90A0AF;">计划件数</text>{{item.planNum}}</view>
<view><text style="color: #90A0AF;">扫描件数</text>{{item.scanNum}}</view>
<view class="boxcontt">
<view>
<view><text style="color: #90A0AF;">托盘号</text>{{item.pallet}}</view>
<view @click.stop="goorderdetail(item)"><text
style="color: #90A0AF;">订单自编码</text>{{item.orderCode}}
</view>
</view>
<view>
<view><text style="color: #90A0AF;">计划件数</text>{{item.planNum || 0}}</view>
<view><text style="color: #90A0AF;">扫描件数</text>{{item.scanNum || 0}}</view>
</view>
</view>
</view>
<view class="buttts">
<view class="anj" @click="goZeroDetail(item)">
{{item.completeStact?'查看明细':'去备货'}}
<view class="buttts">
<view class="anj" @click="showZeroOrderDetails(item)">
{{item.completeStact?'查看明细':'去备货'}}
</view>
</view>
</view>
</view>
</template>
<up-button type="primary" text="确定"></up-button>
</view>
</scroll-view>
<tiplist ref="tiplists"></tiplist>
@ -137,7 +141,9 @@
import {
distributionStockuporderList,
distributionStockupscanningCode,
distributionStockuplocationSelection
distributionStockuplocationSelection,
postZeroStockUpData,
postZeroStockUp
} from '@/api/user.js'
import { reactive, toRefs, ref, inject } from "vue";
const utils = inject('utils') as any
@ -159,7 +165,8 @@
items: {},
isscan: false,
scancode: '',
trayId: ''
trayId: '',
zeroOrderVisibi: false,
})
onLoad((op) => {
details.reservationId = op.id
@ -205,6 +212,8 @@
}
details.orderList = []
let response = await distributionStockuporderList(data)
console.log('response :>> ', response);
console.log('details.orderStatus :>> ', details.orderStatus);
details.user.consignee = response.data?.consignee
details.user.goodsAreaName = response.data?.goodsAreaName
details.user.planNum = response.data?.planNum
@ -228,20 +237,6 @@
})
}
//
function goZeroDetail(item : any) {
uni.navigateTo({
url: '/pagesHome/pages/StockUpListZero/StockUpListZero?stockArticleId='
+ (item.stockArticleId || '') +
'&orderStatus=' +
details.orderStatus + '&reservationId=' + details.reservationId +
'&allocation=' + item.allocation + '&pallet=' + item.pallet + '&orderCode=' + item.orderCode
+ '&stockupId=' + details.stockupId + '&allocationId=' + item.allocationId
+ '&typeService=' + details.items.typeService
+ '&status=' + (item.completeStact ? '1' : '0')
})
}
async function ckscanningCode(item : any) {
details.isscan = item.taryLean
details.trayId = item.trayId
@ -325,7 +320,90 @@
if (res.audio) utils.ttsspke(res.audio)
initpage()
}
const { user, orderList, orderStatus, stockList } = toRefs(details)
/**
*/
async function showZeroOrderDetails(item) {
console.log('item :>> ', item);
let data = {
typeService: details.items.typeService,
stockupId: details.stockupId,
allocationId: item.allocationId,
orderCode: item.orderCode,
stockArticleId: item.stockArticleId
}
const res = await postZeroStockUpData(data)
let inpList = []
const { code } = res
if (code === 200) {
console.log('res.data :>> ', res.data);
inpList = res.data.map(val => {
return {
id: val.id,
title: val.categoryName,
value: val.quantity,
maxNum: val.quantity,
minNum: 0,
type: 'Number',
disabled: item.completeStact,
allocationId: item.allocationId,
orderCode: item.orderCode,
stockArticleId: val.stockArticleId
}
})
}
tiplists.value.setdetails({
title: '设置零担物料数量',
isshow: true,
tipstate: 4,
inpList,
inputtext: '',
confirmTxt: '确认选择',
isonecheck: true,
success: async (deta) => {
console.log('deta :>> ', deta);
if (deta.inpList.length === 0) return tiplists.value.setdetails({ isshow: false })
let data = {
reservationId: details.reservationId,
typeService: details.items.typeService,
stockupId: details.stockupId,
allocationId: deta.inpList[0].allocationId,
orderCode: deta.inpList[0].orderCode,
stockArticleId: deta.inpList[0].stockArticleId,
list: []
}
data.list = deta.inpList.map(val => {
console.log(val)
return {
firsts: val.title,
id: val.id,
quantity: val.value,
stockArticleId: val.stockArticleId,
}
})
const res = await postZeroStockUp(data)
console.log('res :>> ', res);
/* if (deta.checklist.length == 0) {
uni.showToast({
title: '请选择货位',
icon: 'none'
})
return
} */
tiplists.value.setdetails({ isshow: false })
},
cancel: (details) => {
tiplists.value.setdetails({ isshow: false })
},
close: (details) => {
tiplists.value.setdetails({ isshow: false })
}
})
}
const { user, orderList, orderStatus, stockList, zeroOrderList } = toRefs(details)
</script>
<style lang="scss">

7
pagesHome/pages/inventoryenter/inventoryenter.vue

@ -118,7 +118,7 @@
</view>
<view class="type1s">
<view>
<view>在库数</view>
<view>剩余数量</view>
<view>{{item.quantityStock}}{{item.cargoUnit}}</view>
</view>
<view>
@ -134,7 +134,10 @@
</view>
<view class="lisbite" v-if="checkinarr.indexOf(index)!=-1">
<view class="itembox" v-for="ite in item.positionList">
<view v-if="ite.areaName||ite.allocationName">库位{{ite.areaName+'-'+ite.allocationName}}</view>
<view>库位
<text v-if="ite.areaName">{{ite.areaName}}</text>
<text v-if="ite.allocationName">{{'-'+ite.allocationName}}</text>
</view>
<view>托盘码{{ite.trayCode}}</view>
<view>数量{{ite.num}}</view>
</view>

248
pagesHome/pages/pickingScan/pickingScan.vue

@ -1,16 +1,16 @@
<template>
<!-- <u-navbar title="拣货扫描" placeholder border=true :autoBack="true" leftIconSize='35'></u-navbar> -->
<u-navbar title="拣货扫描"
bgColor='#D3832A' leftIconColor='#ffffff'
titleStyle='color:#ffffff' placeholder
:autoBack="true" leftIconSize='35'></u-navbar>
<u-navbar title="拣货扫描" bgColor='#D3832A' leftIconColor='#ffffff' titleStyle='color:#ffffff' placeholder
@leftClick="backPreviousPage" leftIconSize='35'></u-navbar>
<view class="schbox">
<view>拣货日期</view>
<view @click='showCalendar' class="inputsr">
<input :value='datatime' disabled placeholder="请选择时间"/>
<input :value='datatime' disabled placeholder="请选择时间" />
<view @click.stop.prevent>
<u-icon @click='showCalendar' style="margin-right: 10rpx;" v-if="!datatime" name="calendar" color="#999999" size="50"></u-icon>
<u-icon @click="cleartime" style="margin-right: 10rpx;" v-else name="close-circle" color="#999999" size="40"></u-icon>
<u-icon @click='showCalendar' style="margin-right: 10rpx;" v-if="!datatime" name="calendar" color="#999999"
size="50"></u-icon>
<u-icon @click="cleartime" style="margin-right: 10rpx;" v-else name="close-circle" color="#999999"
size="40"></u-icon>
</view>
</view>
<view @click="init">
@ -27,7 +27,7 @@
</view>
<scroll-view class="sccv" scroll-y="true" @scrolltolower="jiazai">
<view class="mabx">
<view v-for="item in dataList">
<view v-for="item in dataList" :key="item">
<view class="topbox">
<view class="type1">
<view>
@ -74,7 +74,7 @@
</view>
</view>
</view>
<view class="bts" v-if="Number(item.stockupStatus)!=40">
<!-- <view @click="submitsuccess">
备货完成
@ -87,7 +87,8 @@
</view>
</scroll-view>
<tips ref="tip"></tips>
<l-calendar v-model:value="show" :initStartDate='date[0]' :initEndDate='date[1]' @hide='showCalendar' @change="onConfirm"></l-calendar>
<l-calendar v-model:value="show" :initStartDate='date[0]' :initEndDate='date[1]' @hide='showCalendar'
@change="onConfirm"></l-calendar>
<!-- <hd-calendar mode="range" color='#D3832A' minDate='2023-01-01' @confirm="onConfirm" /> -->
</template>
@ -103,122 +104,134 @@
import { timeType } from '@/interfaces/pagesHome/allType'
import { inject, reactive, ref, toRefs, watchEffect } from "vue";
// const functions=inject('functions')
let details=reactive<pageData>({
datatime:'',
dataList:[],
show:false,
currentPage:1,
size:10,
stockupDate:'',
status:0,
let details = reactive<pageData>({
datatime: '',
dataList: [],
show: false,
currentPage: 1,
size: 10,
stockupDate: '',
status: 0,
})
let tip=ref(null)
const date = ref<number|string[]>([])
function showCalendar(){
details.show=!details.show
let tip = ref(null)
const date = ref<number | string[]>([])
function showCalendar() {
details.show = !details.show
}
function onConfirm(e:any) {
function onConfirm(e : any) {
console.log(e);
date.value[0]=e.startDate
date.value[1]=e.endDate
details.datatime=date.value[0]+' 至 '+date.value[1]
date.value[0] = e.startDate
date.value[1] = e.endDate
details.datatime = date.value[0] + ' 至 ' + date.value[1]
// details.datatime=(uni as any).$u.timeFormat(date.value[0], 'yyyy-mm-dd')+' '+(uni as any).$u.timeFormat(date.value[1], 'yyyy-mm-dd')
}
watchEffect(()=>{
if((date.value as []).length!=0){
details.datatime=date.value[0]+' 至 '+date.value[1]
watchEffect(() => {
if ((date.value as []).length != 0) {
details.datatime = date.value[0] + ' 至 ' + date.value[1]
}
})
onShow(()=>{
onShow(() => {
init()
})
onLoad(()=>{
details.currentPage=1
date.value[0]=(uni as any).$u.timeFormat((new Date().valueOf()-1000*60*60*24*3), 'yyyy-mm-dd')
date.value[1]=(uni as any).$u.timeFormat((new Date().valueOf()), 'yyyy-mm-dd')
onLoad(() => {
details.currentPage = 1
date.value[0] = (uni as any).$u.timeFormat((new Date().valueOf() - 1000 * 60 * 60 * 24 * 3), 'yyyy-mm-dd')
date.value[1] = (uni as any).$u.timeFormat((new Date().valueOf()), 'yyyy-mm-dd')
// initpage()
})
function init(){
details.currentPage=1
details.dataList=[]
function init() {
details.currentPage = 1
details.dataList = []
initpage()
}
function jiazai(){
function jiazai() {
details.currentPage++
initpage()
}
async function initpage(){
let data={
current:details.currentPage,
size:details.size,
stockupDateStart:date.value[0],
stockupDateEnd:date.value[1],
status:details.status,
async function initpage() {
let data = {
current: details.currentPage,
size: details.size,
stockupDateStart: date.value[0],
stockupDateEnd: date.value[1],
status: details.status,
}
// for(let i=0;i<=1900;i++){
// await distributionStockuppageList(data)
// }
let response=await distributionStockuppageList(data)
if(details.currentPage==1){
details.dataList=response.data.records
}else{
if(response.data.records.lngth==0){
let response = await distributionStockuppageList(data)
if (details.currentPage == 1) {
details.dataList = response.data.records
} else {
if (response.data.records.lngth == 0) {
uni.showToast({
title:'已经到底了。',
icon:'none'
title: '已经到底了。',
icon: 'none'
})
details.currentPage--
return
}
details.dataList=details.dataList.concat(response.data.records)
details.dataList = details.dataList.concat(response.data.records)
}
// details.dataList=response.data.records
}
function checktime(event:timeType){
function checktime(event : timeType) {
console.log(event);
details.datatime = (uni as any).$u.timeFormat(event.value, 'yyyy-mm-dd');
details.show=false
details.show = false
console.log(details.datatime);
}
function gostockuplist(item:any){
uni.navigateTo({
url:'/pagesHome/pages/PickingScanList/PickingScanList?id='+item.id+'&stockupArea='+item.stockupArea
function gostockuplist(item : any) {
// uni.navigateTo({
// url: '/pagesHome/pages/PickingScanList/PickingScanList?id=' + item.id + '&stockupArea=' + item.stockupArea,
// })
uni.redirectTo({
url: '/pagesHome/pages/PickingScanList/PickingScanList?id=' + item.id + '&stockupArea=' + item.stockupArea,
})
}
function cleartime(){
function cleartime() {
// console.log(1231211);
details.datatime=''
date.value=[]
details.datatime = ''
date.value = []
init()
}
function setstate(state:number){
details.status=state
function setstate(state : number) {
details.status = state
init()
}
function submitsuccess(){
function submitsuccess() {
tip.value.setdetails({
title:'提示',
content:'确认备货完成?',
confirmTxt:'确认',
isshow:true,
isshowcancel:true,
success:()=>{
title: '提示',
content: '确认备货完成?',
confirmTxt: '确认',
isshow: true,
isshowcancel: true,
success: () => {
tip.value.setisshow(false)
},
cancel:()=>{
cancel: () => {
tip.value.setisshow(false)
},
close:()=>{
close: () => {
tip.value.setisshow(false)
}
})
}
const {datatime,dataList,show,status}=toRefs(details)
//
function backPreviousPage() {
uni.reLaunch({
url: '/pages/index/index'
})
}
const { datatime, dataList, show, status } = toRefs(details)
</script>
<style lang="scss">
.inputsr{
.inputsr {
width: 400upx !important;
height: 64upx;
background: #F5F5F6;
@ -234,16 +247,19 @@
font-size: 26upx;
font-weight: 400;
color: #092C4D;
>input{
>input {
flex: 1;
font-size: 26upx;
}
}
.sccv{
.sccv {
width: 100%;
height: 74vh;
margin-top: 20upx;
.mabx{
.mabx {
display: flex;
flex-direction: column;
align-items: center;
@ -251,7 +267,8 @@
box-sizing: border-box;
padding: 20upx 32upx;
padding-top: 0upx;
>view{
>view {
width: 686upx;
background: #FFFFFF;
display: flex;
@ -263,15 +280,18 @@
margin-bottom: 20upx;
padding-top: 20upx;
border-radius: 8upx;
>view:nth-last-child(1){
>view:nth-last-child(1) {
border-bottom: none !important;
}
.topbox{
.topbox {
display: flex;
flex-direction: column;
padding: 24upx;
border-bottom: 2upx solid #EEEEEE;
>.type1{
>.type1 {
width: 100%;
display: flex;
align-items: center;
@ -279,11 +299,13 @@
margin-bottom: 20upx;
font-size: 28upx;
color: #161616;
>view{
>view {
width: 50%;
}
}
>.type2{
>.type2 {
width: 100%;
display: flex;
align-items: center;
@ -292,38 +314,45 @@
font-size: 28upx;
color: #161616;
margin-top: 20upx;
>view{
>view {
display: flex;
flex-direction: column;
align-items: center;
>view:nth-of-type(1){
>view:nth-of-type(1) {
font-size: 28upx;
font-weight: 400;
color: #092C4D;
}
&:nth-of-type(1){
>view:nth-of-type(2){
&:nth-of-type(1) {
>view:nth-of-type(2) {
color: #092C4D;
}
}
&:nth-of-type(2){
>view:nth-of-type(2){
&:nth-of-type(2) {
>view:nth-of-type(2) {
color: #3AD8BC;
}
}
&:nth-of-type(3){
>view:nth-of-type(2){
&:nth-of-type(3) {
>view:nth-of-type(2) {
color: #FA8C16;
}
}
>view:nth-of-type(2){
>view:nth-of-type(2) {
font-size: 36upx;
margin-top: 10upx;
}
}
}
>.type3{
>.type3 {
width: 100%;
display: flex;
align-items: center;
@ -333,13 +362,14 @@
color: #161616;
}
}
>.bts{
>.bts {
display: flex;
align-items: center;
justify-content: center;
margin-top: 20upx;
>view:nth-of-type(1){
>view:nth-of-type(1) {
width: 204upx;
height: 64upx;
background: #FFFFFF;
@ -352,9 +382,10 @@
font-size: 28upx;
font-weight: 400;
color: #0086F1;
}
>view:nth-of-type(2){
>view:nth-of-type(2) {
width: 204upx;
height: 64upx;
background: #FFFFFF;
@ -373,11 +404,13 @@
}
}
}
.tabtip{
.tabtip {
display: flex;
align-items: center;
justify-content: space-between;
>view{
>view {
width: 50%;
display: flex;
align-items: center;
@ -386,7 +419,8 @@
font-size: 32upx;
font-weight: 400;
color: #90A0AF;
>view{
>view {
height: 80upx;
border-bottom: 8upx solid #ffffff;
display: flex;
@ -394,12 +428,14 @@
justify-content: center;
}
}
.xz{
.xz {
color: #D3832A;
border-bottom: 8upx solid #D3832A;
// border-radius: 5upx;
}
}
.schbox {
display: flex;
align-items: center;
@ -407,17 +443,19 @@
padding: 15upx 32upx;
box-sizing: border-box;
background-color: #ffffff;
>view:nth-of-type(1) {
// width: 150upx;
font-size: 28upx;
font-weight: 400;
color: #092C4D;
}
>view:nth-of-type(2) {
width: 380upx;
// height: 64upx;
}
>view:nth-of-type(3) {
width: 128upx;
height: 64upx;

2
unpackage/cache/apk/apkurl vendored

@ -1 +1 @@
https://ide.dcloud.net.cn/build/download/c94d6fd0-669b-11ee-be39-25e827bc06ea
https://ide.dcloud.net.cn/build/download/0ea4dce0-6711-11ee-9f3d-8b8c9a06d23f

2
unpackage/cache/apk/cmManifestCache.json vendored

File diff suppressed because one or more lines are too long

4
unpackage/dist/build/app-plus/app-service.js vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

16
unpackage/dist/dev/mp-weixin/api/user.js vendored

@ -770,6 +770,20 @@ function postAbnormalTruckLoading(data) {
data
});
}
function postZeroStockUpData(data) {
return utils_request.service({
url: `logpm-distribution/app/distributionStockup/zeroStockUpData`,
method: "post",
data
});
}
function postZeroStockUp(data) {
return utils_request.service({
url: `logpm-distribution/app/distributionStockup/zeroStockUp`,
method: "post",
data
});
}
exports.AppPdaversiondetail = AppPdaversiondetail;
exports.BatchPrintPackages = BatchPrintPackages;
exports.addvalueaddvalueInfo = addvalueaddvalueInfo;
@ -811,6 +825,8 @@ exports.distributionTrayDetail = distributionTrayDetail;
exports.getMyWarehouseList = getMyWarehouseList;
exports.oauthtoken = oauthtoken;
exports.postAbnormalTruckLoading = postAbnormalTruckLoading;
exports.postZeroStockUp = postZeroStockUp;
exports.postZeroStockUpData = postZeroStockUpData;
exports.preserveCurrentWarehouse = preserveCurrentWarehouse;
exports.signforUpdatePicture = signforUpdatePicture;
exports.signforcustom = signforcustom;

62
unpackage/dist/dev/mp-weixin/compoment/tiplist/tiplist.js vendored

@ -5,6 +5,10 @@ const utils_functions = require("../../utils/functions.js");
require("../../utils/IDCardVerification.js");
require("../../utils/base64.js");
require("../../config/host.js");
if (!Array) {
const _component_up_input = common_vendor.resolveComponent("up-input");
_component_up_input();
}
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "tiplist",
setup(__props, { expose }) {
@ -26,9 +30,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
imglist: [],
maximglength: 3,
checklength: 0,
// 是否是图片列表的修改提交
isChange: false,
changeImageList: [],
ImagesRequiredFields: [],
inpList: [],
showPreviewPicture: false
});
common_vendor.watch(() => {
@ -106,8 +112,15 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
function handleShowImage() {
details.showPreviewPicture = !details.showPreviewPicture;
}
function inputNum(item) {
item.value = parseInt(item.value);
if (item.value <= item.minNum || isNaN(item.value))
item.value = item.minNum;
if (item.value >= item.maxNum)
item.value = item.maxNum;
}
expose({ setdetails });
const { isonecheck, checklength, imglist, inputtext, checklist, list, isshow, tipstate, title, isshowcancel, placeholder, confirmTxt, cancelTxt, showPreviewPicture, ImagesRequiredFields, maximglength } = common_vendor.toRefs(details);
const { isonecheck, checklength, imglist, inputtext, checklist, list, isshow, tipstate, title, isshowcancel, placeholder, confirmTxt, cancelTxt, showPreviewPicture, ImagesRequiredFields, maximglength, inpList } = common_vendor.toRefs(details);
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.unref(isshow)
@ -192,11 +205,52 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
N: common_vendor.o(() => {
})
}) : {}, {
O: common_vendor.o(($event) => checkbox(0))
O: common_vendor.unref(tipstate) == 4
}, common_vendor.unref(tipstate) == 4 ? common_vendor.e({
P: common_vendor.t(common_vendor.unref(title) || "提示"),
Q: common_vendor.f(common_vendor.unref(inpList), (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.title),
b: common_vendor.t(item.maxNum),
c: item.type.toLocaleLowerCase() === "number" && !item.disabled
}, item.type.toLocaleLowerCase() === "number" && !item.disabled ? {
d: item.placeholder,
e: item.disabled,
f: common_vendor.o([($event) => item.value = $event.detail.value, ($event) => inputNum(item)]),
g: item.value
} : item.disabled ? {
i: common_vendor.t(item.value)
} : {
j: "32d33a44-0-" + i0,
k: common_vendor.o(($event) => item.value = $event),
l: common_vendor.p({
placeholder: item.placeholder,
border: "surround",
disabled: item.disabled,
type: item.type,
clearable: true,
modelValue: item.value
})
}, {
h: item.disabled,
m: common_vendor.o(($event) => checkitem(index))
});
}),
R: common_vendor.unref(isshowcancel)
}, common_vendor.unref(isshowcancel) ? {
S: common_vendor.t(common_vendor.unref(cancelTxt) || "取消"),
T: common_vendor.o(($event) => checkbox(1))
} : {}, {
U: common_vendor.t(common_vendor.unref(confirmTxt) || "确认"),
V: common_vendor.o(($event) => checkbox(2)),
W: common_vendor.o(() => {
})
}) : {}, {
X: common_vendor.o(($event) => checkbox(0))
}) : {}, {
P: common_vendor.unref(showPreviewPicture)
Y: common_vendor.unref(showPreviewPicture)
}, common_vendor.unref(showPreviewPicture) ? {
Q: common_vendor.o(handleShowImage)
Z: common_vendor.o(handleShowImage)
} : {});
};
}

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

@ -1 +1 @@
<view wx:if="{{a}}" class="maboxbg" bindtap="{{O}}"><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="{{z}}"><view class="title">{{n}}</view><view wx:if="{{o}}" class="selviebx"><view wx:if="{{p}}" bindtap="{{q}}">全选</view><view wx:else bindtap="{{r}}">全不选</view></view><view class="listcheck"><view wx:for="{{s}}" wx:for-item="item" bindtap="{{item.c}}"><image src="{{item.a}}"></image><view>{{item.b}}</view></view></view><view class="buts"><view wx:if="{{t}}" bindtap="{{w}}" class="cancel">{{v}}</view><view bindtap="{{y}}" class="confirm">{{x}}</view></view></view><view wx:if="{{A}}" class="modtips" catchtap="{{N}}"><view class="title">{{B}}</view><scroll-view scroll-y="true" class="scvboxs"><view wx:for="{{C}}" wx:for-item="item" wx:key="g"><view style="display:flex;justify-content:space-between;align-items:center"><text class="{{['tpstitl', item.b && 'start', item.c && 'showTitle']}}">{{item.a}}</text><text bindtap="{{item.d}}" class="showImageBtn">预览模版</text></view><view class="imgbx"><view wx:for="{{item.e}}" wx:for-item="value"><image src="{{value.a}}"></image><image bindtap="{{value.b}}" src="{{D}}"></image></view><view wx:if="{{E}}" bindtap="{{item.f}}"><image src="/static/add.png"></image></view></view></view></scroll-view><view class="inputbx"><input placeholder="{{F}}" value="{{G}}" bindinput="{{H}}"/></view><view class="buts"><view wx:if="{{I}}" bindtap="{{K}}" class="cancel">{{J}}</view><view catchtap="{{M}}" class="confirm">{{L}}</view></view></view></view><view wx:if="{{P}}" class="previewPicture-container" catchtap="{{Q}}"><image src="/static/changku.png" class="previewPicture" alt=""></image></view>
<view wx:if="{{a}}" class="maboxbg" bindtap="{{X}}"><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="{{z}}"><view class="title">{{n}}</view><view wx:if="{{o}}" class="selviebx"><view wx:if="{{p}}" bindtap="{{q}}">全选</view><view wx:else bindtap="{{r}}">全不选</view></view><view class="listcheck"><view wx:for="{{s}}" wx:for-item="item" bindtap="{{item.c}}"><image src="{{item.a}}"></image><view>{{item.b}}</view></view></view><view class="buts"><view wx:if="{{t}}" bindtap="{{w}}" class="cancel">{{v}}</view><view bindtap="{{y}}" class="confirm">{{x}}</view></view></view><view wx:if="{{A}}" class="modtips" catchtap="{{N}}"><view class="title">{{B}}</view><scroll-view scroll-y="true" class="scvboxs"><view wx:for="{{C}}" wx:for-item="item" wx:key="g"><view style="display:flex;justify-content:space-between;align-items:center"><text class="{{['tpstitl', item.b && 'start', item.c && 'showTitle']}}">{{item.a}}</text><text bindtap="{{item.d}}" class="showImageBtn">预览模版</text></view><view class="imgbx"><view wx:for="{{item.e}}" wx:for-item="value"><image src="{{value.a}}"></image><image bindtap="{{value.b}}" src="{{D}}"></image></view><view wx:if="{{E}}" bindtap="{{item.f}}"><image src="/static/add.png"></image></view></view></view></scroll-view><view class="inputbx"><input placeholder="{{F}}" value="{{G}}" bindinput="{{H}}"/></view><view class="buts"><view wx:if="{{I}}" bindtap="{{K}}" class="cancel">{{J}}</view><view catchtap="{{M}}" class="confirm">{{L}}</view></view></view><view wx:if="{{O}}" class="modtips" catchtap="{{W}}"><view class="title">{{P}}</view><scroll-view scroll-y="true" class="scvboxs"><view wx:for="{{Q}}" wx:for-item="item" class="inpNumList" bindtap="{{item.m}}"><view class="inpNum-title"> 物料名称: {{item.a}}</view><view class="inpNum-title"> 物料总数: {{item.b}}</view><view class="inpNum-value"><view class=""> 物料数量:  </view><input wx:if="{{item.c}}" class="inpNum" placeholder="{{item.d}}" disabled="{{item.e}}" type="number" bindinput="{{item.f}}" value="{{item.g}}"/><text wx:elif="{{item.h}}" style="flex:1">{{item.i}}</text><up-input wx:else u-i="{{item.j}}" bind:__l="__l" bindupdateModelValue="{{item.k}}" u-p="{{item.l||''}}"></up-input></view></view></scroll-view><view class="buts"><view wx:if="{{R}}" bindtap="{{T}}" class="cancel">{{S}}</view><view bindtap="{{V}}" class="confirm">{{U}}</view></view></view></view><view wx:if="{{Y}}" class="previewPicture-container" catchtap="{{Z}}"><image src="/static/changku.png" class="previewPicture" alt=""></image></view>

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

@ -196,4 +196,22 @@
color: #d3832a;
padding: 10rpx;
border-radius: 10rpx;
}
.inpNumList {
margin-bottom: 20rpx;
border-bottom: 1rpx solid #092C4D20;
}
.inpNumList > view {
margin-bottom: 10rpx;
}
.inpNumList .inpNum-value {
display: flex;
align-items: center;
justify-content: space-between;
}
.inpNumList .inpNum-value .inpNum {
margin-left: 20rpx;
flex: 1;
padding: 0 10rpx;
border: 1rpx solid #000;
}

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

@ -1,5 +1,5 @@
"use strict";
const devhost = "http://192.168.10.48:8888/";
const devhost = "http://192.168.10.75:8777/";
const imghost = "";
const host = devhost;
const APPKEY = "h5u:h5u_secret";

162
unpackage/dist/dev/mp-weixin/pagesHome/pages/DownGoods/DownGoods.js vendored

@ -350,10 +350,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
});
}
function moni() {
details.scancode = "1696511288072474638";
scandata();
}
const {
allocaTitle,
checkmarkindex,
@ -395,18 +391,24 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
j: common_vendor.n(!common_vendor.unref(isallcheck) ? "" : "xz"),
k: common_vendor.o(allquanxuan)
} : {}, {
l: common_vendor.t(details.resdata.warehouseName),
m: common_vendor.t(details.resdata.areaTitle),
n: common_vendor.t(details.resdata.shelfTitle),
o: common_vendor.t(details.resdata.allocationTitle),
p: common_vendor.t(details.resdata.totalNum),
q: common_vendor.t(details.resdata.orderTotalnum),
r: common_vendor.t(details.resdata.stockNum),
s: common_vendor.t(details.resdata.stockTotalNum),
t: common_vendor.t(details.resdata.trayCode),
v: details.pageType != 2 && details.pageType != 1
l: common_vendor.unref(pageType) == "2"
}, common_vendor.unref(pageType) == "2" ? {
m: common_vendor.t(details.resdata.warehouseName),
n: common_vendor.t(details.resdata.areaTitle),
o: details.resdata.areaTitle,
p: common_vendor.t(details.resdata.shelfTitle),
q: details.resdata.shelfTitle,
r: common_vendor.t(details.resdata.allocationTitle),
s: details.resdata.allocationTitle,
t: common_vendor.t(details.resdata.totalNum),
v: common_vendor.t(details.resdata.orderTotalnum),
w: common_vendor.t(details.resdata.stockNum),
x: common_vendor.t(details.resdata.stockTotalNum),
y: common_vendor.t(details.resdata.trayCode)
} : {}, {
z: details.pageType != 2 && details.pageType != 1
}, details.pageType != 2 && details.pageType != 1 ? {
w: common_vendor.f(common_vendor.unref(datalist), (item, index, i0) => {
A: common_vendor.f(common_vendor.unref(datalist), (item, index, i0) => {
return common_vendor.e(details.pageType != 2 && details.pageType != 1 ? {
a: common_vendor.unref(checkdatalist).indexOf(item) == -1 ? "/pagesHome/static/downnocheck.png" : "/pagesHome/static/downcheck.png"
} : {}, {
@ -451,99 +453,85 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
y: common_vendor.t(item.enterNum)
});
}),
x: details.pageType != 2 && details.pageType != 1
B: details.pageType != 2 && details.pageType != 1
} : {
y: common_vendor.f(common_vendor.unref(datalist), (item, index, i0) => {
C: common_vendor.f(common_vendor.unref(datalist), (item, index, i0) => {
return common_vendor.e({
a: item.goodsType == 1
}, item.goodsType == 1 ? {
b: common_vendor.t(item.serviceNum)
} : {}, {
c: item.goodsType == 1
}, item.goodsType == 1 ? {
d: common_vendor.t(item.orderCode),
e: common_vendor.o(($event) => goorderdetail(item))
} : {}, {
f: item.goodsType == 2
}, item.goodsType == 2 ? {
g: common_vendor.t(item.waybillNo)
} : {}, {
h: item.goodsType == 2
}, item.goodsType == 2 ? {
i: common_vendor.t(item.orderCode)
} : {}, {
j: item.goodsType == 3
}, item.goodsType == 3 ? {
k: common_vendor.t(item.materialCode)
} : {}, {
l: item.goodsType == 3
}, item.goodsType == 3 ? {
m: common_vendor.t(item.materialName)
a: item.goodsType === 1
}, item.goodsType === 1 ? {
b: common_vendor.t(item.serviceNum),
c: common_vendor.t(item.orderCode),
d: common_vendor.o(($event) => goorderdetail(item)),
e: common_vendor.t(item.totalNum - item.shelfNum)
} : {}, {
n: item.goodsType == 3
}, item.goodsType == 3 ? {
o: common_vendor.t(item.marketName)
f: item.goodsType === 2
}, item.goodsType === 2 ? {
g: common_vendor.t(item.waybillNo),
h: common_vendor.t(item.orderCode),
i: common_vendor.t(item.totalNum - item.shelfNum)
} : {}, {
p: item.goodsType == 3
}, item.goodsType == 3 ? {
q: common_vendor.t(item.orderCode)
j: item.goodsType === 3
}, item.goodsType === 3 ? {
k: common_vendor.t(item.materialCode),
l: common_vendor.t(item.materialName),
m: common_vendor.t(item.orderCode),
n: common_vendor.t(item.marketName),
o: common_vendor.t(item.incomingBatch),
p: common_vendor.t(item.totalNum - item.shelfNum)
} : {}, {
r: item.goodsType == 3
}, item.goodsType == 3 ? {
s: common_vendor.t(item.incomingBatch)
} : {}, {
t: common_vendor.t(item.totalNum),
v: common_vendor.t(item.shelfNum),
w: item.totalNum == item.shelfNum ? "/pagesHome/static/qitao.png" : "/pagesHome/static/weiqitao.png"
q: common_vendor.t(item.totalNum),
r: common_vendor.t(item.shelfNum),
s: item.totalNum == item.shelfNum ? "/pagesHome/static/qitao.png" : "/pagesHome/static/weiqitao.png"
});
})
}, {
z: common_vendor.unref(pageType) == "1" ? "60vh" : common_vendor.unref(pageType) == "2" ? "77vh" : "65vh",
A: common_vendor.unref(pageType) == "1" || common_vendor.unref(pageType) == "2" || common_vendor.unref(pageType) == "3"
D: common_vendor.unref(pageType) == "1" ? "60vh" : common_vendor.unref(pageType) == "2" ? "77vh" : "65vh",
E: common_vendor.unref(pageType) == "1" || common_vendor.unref(pageType) == "2" || common_vendor.unref(pageType) == "3"
}, common_vendor.unref(pageType) == "1" || common_vendor.unref(pageType) == "2" || common_vendor.unref(pageType) == "3" ? {
B: common_vendor.o(backun)
F: common_vendor.o(backun)
} : {
C: common_vendor.o(($event) => setshowstate(2))
G: common_vendor.o(($event) => setshowstate(2))
}, {
D: common_vendor.o(downs),
E: common_vendor.unref(showstate)
H: common_vendor.o(downs),
I: common_vendor.unref(showstate)
}, common_vendor.unref(showstate) ? common_vendor.e({
F: common_vendor.unref(showstate) == 2
J: common_vendor.unref(showstate) == 2
}, common_vendor.unref(showstate) == 2 ? common_vendor.e({
G: common_vendor.t(common_vendor.unref(typelist)[common_vendor.unref(checkmakindex)] || "请选择下架类型"),
H: common_vendor.o(checkmake),
I: details.pageType == "4"
K: common_vendor.t(common_vendor.unref(typelist)[common_vendor.unref(checkmakindex)] || "请选择下架类型"),
L: common_vendor.o(checkmake),
M: details.pageType == "4"
}, details.pageType == "4" ? {
J: common_vendor.t(((_a = common_vendor.unref(Marketlist)[common_vendor.unref(checkmarkindex)]) == null ? void 0 : _a.marketName) || "没有商场"),
K: common_vendor.o(checkmarke)
N: common_vendor.t(((_a = common_vendor.unref(Marketlist)[common_vendor.unref(checkmarkindex)]) == null ? void 0 : _a.marketName) || "没有商场"),
O: common_vendor.o(checkmarke)
} : {}, {
L: "输入" + common_vendor.unref(typelist)[common_vendor.unref(checkmakindex)],
M: common_vendor.unref(scancode),
N: common_vendor.o(($event) => common_vendor.isRef(scancode) ? scancode.value = $event.detail.value : null),
O: common_vendor.o(scandata),
P: common_vendor.f(common_vendor.unref(codelist), (item, index, i0) => {
return common_vendor.e({
a: item.goodsName
}, item.goodsName ? {
b: common_vendor.t(item.goodsName)
} : {}, {
c: common_vendor.t(item.num),
d: item.enterNum,
e: common_vendor.o(($event) => item.enterNum = $event.detail.value)
});
P: "输入" + common_vendor.unref(typelist)[common_vendor.unref(checkmakindex)],
Q: common_vendor.unref(scancode),
R: common_vendor.o(($event) => common_vendor.isRef(scancode) ? scancode.value = $event.detail.value : null),
S: common_vendor.o(scandata),
T: common_vendor.f(common_vendor.unref(codelist), (item, index, i0) => {
return {
a: common_vendor.t(item.materialName),
b: common_vendor.t(item.num || 0),
c: common_vendor.t(item.incomingBatch),
d: common_vendor.t(item.marketName),
e: common_vendor.t(item.warehouseName),
f: common_vendor.t(item.positionCode),
g: common_vendor.t(item.trayCode),
h: item.enterNum,
i: common_vendor.o(($event) => item.enterNum = $event.detail.value)
};
}),
Q: common_vendor.o(($event) => setshowstate(0)),
R: common_vendor.o(confirmlist),
S: common_vendor.o(() => {
U: common_vendor.o(($event) => setshowstate(0)),
V: common_vendor.o(confirmlist),
W: common_vendor.o(() => {
})
}) : {}) : {}, {
T: common_vendor.sr(tip, "d94b6424-2", {
X: common_vendor.sr(tip, "d94b6424-2", {
"k": "tip"
}),
U: common_vendor.sr(tiplists, "d94b6424-3", {
Y: common_vendor.sr(tiplists, "d94b6424-3", {
"k": "tiplists"
}),
V: common_vendor.o(moni)
})
});
};
}

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

File diff suppressed because one or more lines are too long

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

@ -131,16 +131,17 @@
.tanchuangbg .inputbox .scvbw .scboxitem .items > .type1s {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20rpx;
}
.tanchuangbg .inputbox .scvbw .scboxitem .items > .type1s > view {
width: 50%;
display: flex;
align-items: center;
justify-content: flex-start;
font-size: 28rpx;
}
.tanchuangbg .inputbox .scvbw .scboxitem .items > .type1s > view:nth-child(1) {
width: -webkit-fit-content;
width: fit-content;
white-space: nowrap;
flex: none;
}
.tanchuangbg .inputbox .scvbw .scboxitem .items > .type1s > view > view:nth-of-type(1) {
color: #90A0AF;
}
@ -332,7 +333,7 @@
color: #020B18;
flex: 1;
}
.scvorder .item2 {
.item2 {
width: 686rpx;
margin: auto;
padding: 0 24rpx;
@ -342,41 +343,42 @@
position: relative;
margin-bottom: 30rpx;
}
.scvorder .item2 .qtimgzt {
.item2 .qtimgzt {
width: 96rpx;
height: 96rpx;
position: absolute;
right: 0;
top: 0;
}
.scvorder .item2 > .tpbx {
.item2 .tpbx {
display: flex;
align-items: center;
padding: 18rpx 24rpx;
box-sizing: border-box;
border-bottom: 4rpx solid #EEEEEE;
}
.scvorder .item2 > .tpbx > image {
.item2 .tpbx > image {
flex: none;
width: 64rpx;
height: 64rpx;
margin-right: 15rpx;
}
.scvorder .item2 > .tpbx > view {
.item2 .tpbx > view {
font-size: 28rpx;
font-weight: 400;
color: #020B18;
}
.scvorder .item2 > .tpbx > view .numb {
.item2 .tpbx > view .numb {
font-size: 28rpx;
color: #178AF2;
}
.scvorder .item2 > .viewnum {
.item2 > .viewnum {
height: 100rpx;
display: flex;
align-items: center;
justify-content: space-around;
}
.scvorder .item2 > .viewnum > view {
.item2 > .viewnum > view {
font-size: 28rpx;
font-weight: 400;
color: #020B18;

105
unpackage/dist/dev/mp-weixin/pagesHome/pages/MergeTray/MergeTray.js vendored

@ -32,7 +32,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
scancode: "",
tabberstate: 1,
beilist: {},
newbeilist: {}
newbeilist: {},
renderList: []
});
common_vendor.onLoad((op) => {
common_vendor.index.$on("scancodedate", function(code) {
@ -79,11 +80,17 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
details.newmergeTray = details.scancode;
details.scantype = 1;
}
details.renderList = details.tabberstate === 1 ? details.beilist.list : details.newbeilist.list;
}
console.log(res);
}
function settabberstate(state) {
details.tabberstate = state;
if (state === 1 && details.beilist.list)
details.renderList = details.beilist.list;
else if (state === 2 && details.newbeilist.list)
details.renderList = details.newbeilist.list;
else
details.renderList = [];
}
function godetails() {
if (!details.newmergeTray) {
@ -135,10 +142,11 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
mergeTray,
scantype,
scancode,
tabberstate
tabberstate,
renderList
} = common_vendor.toRefs(details);
return (_ctx, _cache) => {
var _a, _b, _c, _d;
var _a, _b;
return common_vendor.e({
a: common_vendor.p({
title: "合托",
@ -162,76 +170,39 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
l: common_vendor.o(($event) => settabberstate(2)),
m: common_vendor.n(common_vendor.unref(tabberstate) == 2 ? "xz" : ""),
n: common_vendor.t((common_vendor.unref(tabberstate) == 1 ? ((_a = common_vendor.unref(beilist)) == null ? void 0 : _a.totalNum) || common_vendor.unref(beilist).stockNum : ((_b = common_vendor.unref(newbeilist)) == null ? void 0 : _b.totalNum) || common_vendor.unref(beilist).stockNum) || 0),
o: common_vendor.unref(tabberstate) == 1
}, common_vendor.unref(tabberstate) == 1 ? {
p: common_vendor.f(((_c = common_vendor.unref(beilist)) == null ? void 0 : _c.list) || [], (item, index, i0) => {
o: common_vendor.unref(renderList)
}, common_vendor.unref(renderList) ? {
p: common_vendor.f(common_vendor.unref(renderList), (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(index + 1),
b: item.orderCode
}, item.orderCode ? {
a: item.goodsType === 1
}, item.goodsType === 1 ? {
b: common_vendor.t(item.serviceNum),
c: common_vendor.t(item.orderCode),
d: common_vendor.o(($event) => goorderdetail(item))
d: common_vendor.o(($event) => goorderdetail(item)),
e: common_vendor.t(item.totalNum - item.shelfNum)
} : {}, {
e: item.code
}, item.code ? {
f: common_vendor.t(item.code)
f: item.goodsType === 2
}, item.goodsType === 2 ? {
g: common_vendor.t(item.waybillNo),
h: common_vendor.t(item.orderCode),
i: common_vendor.t(item.totalNum - item.shelfNum)
} : {}, {
g: item.goodsType == 3
}, item.goodsType == 3 ? {
h: common_vendor.t(item.materialName)
j: item.goodsType === 3
}, item.goodsType === 3 ? {
k: common_vendor.t(item.materialCode),
l: common_vendor.t(item.materialName),
m: common_vendor.t(item.orderCode),
n: common_vendor.t(item.marketName),
o: common_vendor.t(item.incomingBatch),
p: common_vendor.t(item.totalNum - item.shelfNum)
} : {}, {
i: item.goodsType == 3
}, item.goodsType == 3 ? {
j: common_vendor.t(item.marketName)
} : {}, {
k: item.goodsType == 3
}, item.goodsType == 3 ? {
l: common_vendor.t(item.trayCode)
} : {}, {
m: item.num || item.shelfNum
}, item.num || item.shelfNum ? {
n: common_vendor.t(item.num || item.shelfNum)
} : {}, {
o: item.totalNum
}, item.totalNum ? {
p: common_vendor.t(item.totalNum)
} : {});
})
} : {}, {
q: common_vendor.unref(tabberstate) == 2
}, common_vendor.unref(tabberstate) == 2 ? {
r: common_vendor.f(((_d = common_vendor.unref(newbeilist)) == null ? void 0 : _d.list) || [], (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(index + 1),
b: item.orderCode
}, item.orderCode ? {
c: common_vendor.t(item.orderCode),
d: common_vendor.o(($event) => goorderdetail(item))
} : {}, {
e: item.code
}, item.code ? {
f: common_vendor.t(item.code)
} : {}, {
g: item.goodsType == 3
}, item.goodsType == 3 ? {
h: common_vendor.t(item.materialName)
} : {}, {
i: item.goodsType == 3
}, item.goodsType == 3 ? {
j: common_vendor.t(item.marketName)
} : {}, {
k: item.goodsType == 3
}, item.goodsType == 3 ? {
l: common_vendor.t(item.trayCode)
} : {}, {
m: item.num
}, item.num ? {
n: common_vendor.t(item.num)
} : {});
q: common_vendor.t(item.totalNum),
r: common_vendor.t(item.shelfNum)
});
})
} : {}, {
s: common_vendor.o(godetails),
t: common_vendor.sr(tip, "b653fa3c-1", {
q: common_vendor.o(godetails),
r: common_vendor.sr(tip, "b653fa3c-1", {
"k": "tip"
})
});

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

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="b653fa3c-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="topbos"><view class="srview"><view>解绑托盘码</view><view><input placeholder="请扫描或输入" bindfocus="{{b}}" value="{{c}}" bindinput="{{d}}"/><view class="sbm" bindtap="{{e}}">确定</view></view></view><view class="srview"><view>合并托盘码</view><view><input placeholder="请扫描或输入" bindfocus="{{f}}" value="{{g}}" bindinput="{{h}}"/><view class="sbm" bindtap="{{i}}">确定</view></view></view></view><view class="tabsetnumb"><view bindtap="{{j}}" class="{{k}}"><view>解绑托盘数据</view><view></view></view><view bindtap="{{l}}" class="{{m}}"><view>合并托盘数据</view><view></view></view></view><view class="tarynumvw"> 托盘数量:{{n}}</view><scroll-view scroll-y="true" class="scvorder"><block wx:if="{{o}}"><view wx:for="{{p}}" wx:for-item="item" class="itembox"><view class="topon1"><view>{{item.a}}</view></view><view wx:if="{{item.b}}" class="topon2" catchtap="{{item.d}}"><image src="/pagesHome/static/scanicon1.png"></image><view>订单号:{{item.c}}</view></view><view wx:if="{{item.e}}" class="topon2"><image src="/pagesHome/static/scanicon1.png"></image><view>包条码:{{item.f}}</view></view><view wx:if="{{item.g}}" class="topon2"><image src="/pagesHome/static/scanicon1.png"></image><view>物料名称:{{item.h}}</view></view><view wx:if="{{item.i}}" class="topon2"><image src="/pagesHome/static/scanicon1.png"></image><view>商场名称:{{item.j}}</view></view><view wx:if="{{item.k}}" class="topon2"><image src="/pagesHome/static/scanicon1.png"></image><view>托盘码:{{item.l}}</view></view><view wx:if="{{item.m}}" class="topon2"><image src="/pagesHome/static/scanicon1.png"></image><view>录入数量:{{item.n}}</view></view><view wx:if="{{item.o}}" class="topon2"><image src="/pagesHome/static/scanicon1.png"></image><view>总数:{{item.p}}</view></view></view></block><block wx:if="{{q}}"><view wx:for="{{r}}" wx:for-item="item" class="itembox"><view class="topon1"><view>{{item.a}}</view></view><view wx:if="{{item.b}}" class="topon2" catchtap="{{item.d}}"><image src="/pagesHome/static/scanicon1.png"></image><view>订单号:{{item.c}}</view></view><view wx:if="{{item.e}}" class="topon2"><image src="/pagesHome/static/scanicon1.png"></image><view>包条码:{{item.f}}</view></view><view wx:if="{{item.g}}" class="topon2"><image src="/pagesHome/static/scanicon1.png"></image><view>物料名称:{{item.h}}</view></view><view wx:if="{{item.i}}" class="topon2"><image src="/pagesHome/static/scanicon1.png"></image><view>商场名称:{{item.j}}</view></view><view wx:if="{{item.k}}" class="topon2"><image src="/pagesHome/static/scanicon1.png"></image><view>托盘码:{{item.l}}</view></view><view wx:if="{{item.m}}" class="topon2"><image src="/pagesHome/static/scanicon1.png"></image><view>录入数量:{{item.n}}</view></view></view></block></scroll-view><view class="butys"><view class="qut">取消</view><view class="conf" bindtap="{{s}}">确认合并</view></view><tips class="r" u-r="tip" u-i="b653fa3c-1" bind:__l="__l"></tips><saomiao2 u-i="b653fa3c-2" bind:__l="__l"></saomiao2>
<u-navbar wx:if="{{a}}" u-i="b653fa3c-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="topbos"><view class="srview"><view>解绑托盘码</view><view><input placeholder="请扫描或输入" bindfocus="{{b}}" value="{{c}}" bindinput="{{d}}"/><view class="sbm" bindtap="{{e}}">确定</view></view></view><view class="srview"><view>合并托盘码</view><view><input placeholder="请扫描或输入" bindfocus="{{f}}" value="{{g}}" bindinput="{{h}}"/><view class="sbm" bindtap="{{i}}">确定</view></view></view></view><view class="tabsetnumb"><view bindtap="{{j}}" class="{{k}}"><view>解绑托盘数据</view><view></view></view><view bindtap="{{l}}" class="{{m}}"><view>合并托盘数据</view><view></view></view></view><view class="tarynumvw"> 托盘数量:{{n}}</view><scroll-view scroll-y="true" class="scvorder"><block wx:if="{{o}}"><view wx:for="{{p}}" wx:for-item="item" class="itembox"><view wx:if="{{item.a}}"><view class="tpbx"><image src="/pagesHome/static/kuweiicon.png"></image><view>服务号:{{item.b}}</view></view><view class="tpbx" catchtap="{{item.d}}"><image src="/pagesHome/static/kuweiicon.png"></image><view>订单号:{{item.c}}</view></view><view class="tpbx"><image src="/pagesHome/static/kuweiicon.png"></image><view>剩余数量:{{item.e}}</view></view></view><view wx:if="{{item.f}}"><view class="tpbx"><image src="/pagesHome/static/kuweiicon.png"></image><view>运单号:{{item.g}}</view></view><view class="tpbx"><image src="/pagesHome/static/kuweiicon.png"></image><view>订单号:{{item.h}}</view></view><view class="tpbx"><image src="/pagesHome/static/kuweiicon.png"></image><view>剩余数量:{{item.i}}</view></view></view><view wx:if="{{item.j}}"><view class="tpbx"><image src="/pagesHome/static/kuweiicon.png"></image><view>物料编码:{{item.k}}</view></view><view class="tpbx"><image src="/pagesHome/static/kuweiicon.png"></image><view>物料名称:{{item.l}}</view></view><view class="tpbx"><image src="/pagesHome/static/kuweiicon.png"></image><view>订单号:{{item.m}}</view></view><view class="tpbx"><image src="/pagesHome/static/kuweiicon.png"></image><view>商场名称:{{item.n}}</view></view><view class="tpbx"><image src="/pagesHome/static/kuweiicon.png"></image><view>批次号:{{item.o}}</view></view><view class="tpbx"><image src="/pagesHome/static/kuweiicon.png"></image><view>剩余数量:{{item.p}}</view></view></view><view class="viewnum"><view>总包数:{{item.q}}</view><view>已扫数量:{{item.r}}</view></view></view></block></scroll-view><view class="butys"><view class="qut">取消</view><view class="conf" bindtap="{{q}}">确认合并</view></view><tips class="r" u-r="tip" u-i="b653fa3c-1" bind:__l="__l"></tips><saomiao2 u-i="b653fa3c-2" bind:__l="__l"></saomiao2>

33
unpackage/dist/dev/mp-weixin/pagesHome/pages/MergeTray/MergeTray.wxss vendored

@ -138,6 +138,39 @@
color: #020B18;
flex: 1;
}
.tpbx {
display: flex;
align-items: center;
padding: 18rpx 24rpx;
box-sizing: border-box;
border-bottom: 4rpx solid #EEEEEE;
}
.tpbx > image {
flex: none;
width: 64rpx;
height: 64rpx;
margin-right: 15rpx;
}
.tpbx > view {
font-size: 28rpx;
font-weight: 400;
color: #020B18;
}
.tpbx > view .numb {
font-size: 28rpx;
color: #178AF2;
}
.viewnum {
height: 100rpx;
display: flex;
align-items: center;
justify-content: space-around;
}
.viewnum > view {
font-size: 28rpx;
font-weight: 400;
color: #020B18;
}
.tarynumvw {
width: 100%;
padding: 24rpx 70rpx;

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

@ -153,7 +153,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}),
h: common_vendor.o(() => {
}),
i: common_vendor.sr(tip, "47005da4-2", {
i: common_vendor.t(""),
j: common_vendor.o(() => {
}),
k: common_vendor.sr(tip, "47005da4-2", {
"k": "tip"
})
};

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

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="47005da4-0" bind:__l="__l" u-p="{{a}}"></u-navbar><image mode="widthFix" class="bgimg" src="/pagesHome/static/bgby.png"></image><view class="mabxtop"><view><view><view>{{b}}</view><view>托盘码</view></view><view><view>{{c}}</view><view>托盘件数</view></view></view><view><view><view>{{d}}</view><view>名称</view></view><view><view>{{e}}</view><view>总件数</view></view></view><view><view><view>{{f}}</view><view>打托方式</view></view></view></view><scroll-view class="scvmabx" scroll-y="true"><view class="maxboxs"><view wx:for="{{g}}" wx:for-item="item" class="items chuanhuo" bindtap="{{item.i}}"><view class="tophd" catchtap="{{h}}"><image src="/pagesHome/static/topicons.png"></image><view>订单号:</view><view style="{{item.c}}">{{item.a}}{{item.b}}</view><image bindtap="{{item.d}}" src="/pagesHome/static/removeitem.png"></image></view><view class="numbxvie"><view><view class="zhon">{{item.e}}</view><view>总数</view></view><view><view class="yish">{{item.f}}</view><view>已扫</view></view><view><view class="weish">{{item.g}}</view><view>未扫</view></view></view><image wx:if="{{item.h}}" class="weiqt" src="/pagesHome/static/weiqitao.png"></image><image wx:else class="qitao" src="/pagesHome/static/qitao.png"></image></view></view></scroll-view><saomiao2 u-i="47005da4-1" bind:__l="__l"></saomiao2><tips class="r" u-r="tip" u-i="47005da4-2" bind:__l="__l"></tips>
<u-navbar wx:if="{{a}}" u-i="47005da4-0" bind:__l="__l" u-p="{{a}}"></u-navbar><image mode="widthFix" class="bgimg" src="/pagesHome/static/bgby.png"></image><view class="mabxtop"><view><view><view>{{b}}</view><view>托盘码</view></view><view><view>{{c}}</view><view>托盘件数</view></view></view><view><view><view>{{d}}</view><view>名称</view></view><view><view>{{e}}</view><view>总件数</view></view></view><view><view><view>{{f}}</view><view>打托方式</view></view></view></view><scroll-view class="scvmabx" scroll-y="true"><view class="maxboxs"><view wx:for="{{g}}" wx:for-item="item" class="items chuanhuo" bindtap="{{item.i}}"><view class="tophd" catchtap="{{h}}"><image src="/pagesHome/static/topicons.png"></image><view>订单号:</view><view style="{{item.c}}">{{item.a}}{{item.b}}</view><image bindtap="{{item.d}}" src="/pagesHome/static/removeitem.png"></image></view><view class="tophd" catchtap="{{j}}"><view>服务号:</view><view>{{i}}</view></view><view class="numbxvie"><view><view class="zhon">{{item.e}}</view><view>总数</view></view><view><view class="yish">{{item.f}}</view><view>已扫</view></view><view><view class="weish">{{item.g}}</view><view>未扫</view></view></view><image wx:if="{{item.h}}" class="weiqt" src="/pagesHome/static/weiqitao.png"></image><image wx:else class="qitao" src="/pagesHome/static/qitao.png"></image></view></view></scroll-view><saomiao2 u-i="47005da4-1" bind:__l="__l"></saomiao2><tips class="r" u-r="tip" u-i="47005da4-2" bind:__l="__l"></tips>

26
unpackage/dist/dev/mp-weixin/pagesHome/pages/PeopleScanUp/PeopleScanUp.js vendored

@ -406,24 +406,28 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
M: common_vendor.o(scanlist),
N: common_vendor.f(common_vendor.unref(codelist), (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.orderCode),
b: common_vendor.t(item.residueNumber || "暂无数据"),
c: common_vendor.t(item.totalNumber || "暂无数据"),
d: common_vendor.t(item.waybillCode || "暂无数据"),
e: common_vendor.t(item.materialName || "暂无数据"),
f: common_vendor.t(item.materialCode || "暂无数据"),
a: common_vendor.t(item.materialCode || "暂无数据"),
b: common_vendor.t(item.materialName || "暂无数据"),
c: common_vendor.t(item.orderCode),
d: common_vendor.t(item.residueNumber || 0),
e: common_vendor.t(item.totalNumber || 0),
f: common_vendor.t(item.waybillCode || "暂无数据"),
g: item.enterNum,
h: common_vendor.o(($event) => item.enterNum = $event.detail.value),
i: common_vendor.unref(checkinarr).indexOf(index) != -1
}, common_vendor.unref(checkinarr).indexOf(index) != -1 ? {
j: common_vendor.f(item.list, (ite, k1, i1) => {
return common_vendor.e({
a: ite.areaName || ite.allocationName
}, ite.areaName || ite.allocationName ? {
b: common_vendor.t(ite.areaName + "-" + ite.allocationName)
a: ite.areaName
}, ite.areaName ? {
b: common_vendor.t(ite.areaName)
} : {}, {
c: ite.allocationName
}, ite.allocationName ? {
d: common_vendor.t("-" + ite.allocationName)
} : {}, {
c: common_vendor.t(ite.trayCode),
d: common_vendor.t(ite.num)
e: common_vendor.t(ite.trayCode),
f: common_vendor.t(ite.num)
});
})
} : {}, {

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

File diff suppressed because one or more lines are too long

44
unpackage/dist/dev/mp-weixin/pagesHome/pages/PeopleSortingDetail/PeopleSortingDetail.js vendored

@ -87,26 +87,9 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
async function confirmlist() {
let zeroList = [];
let isfl = false;
details.codelist.map((item) => {
details.codelist.forEach((item) => {
console.log(item.number, item.orderTotalNum, "////////////");
if (item.number == 0) {
isfl = true;
tip.value.setdetails({
title: "警告",
content: "不能大于订单总数",
confirmTxt: "确认",
isshow: true,
isshowcancel: false,
success: () => {
tip.value.setisshow(false);
},
cancel: () => {
tip.value.setisshow(false);
},
close: () => {
tip.value.setisshow(false);
}
});
return;
}
if (item.number > item.orderTotalNum) {
@ -200,6 +183,20 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
function setshowstate(state) {
details.showstate = state;
}
let isClick = null;
function inputNum(item) {
if (isClick)
clearTimeout(isClick);
isClick = setTimeout(() => {
item.number = parseInt(item.number);
if (item.number !== item.number)
item.number = 0;
if (item.number >= item.residueNum)
item.number = item.residueNum;
if (item.number <= 0)
item.number = 0;
}, 500);
}
const { checkinarr, Remarktext, datalist, warehouseTray, showstate, waybillCode, codelist } = common_vendor.toRefs(details);
return (_ctx, _cache) => {
return common_vendor.e({
@ -249,11 +246,12 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
return common_vendor.e({
a: common_vendor.t(item.dataCode),
b: common_vendor.t(item.orderTotalNum),
c: item.number,
d: common_vendor.o(($event) => item.number = $event.detail.value),
e: common_vendor.unref(checkinarr).indexOf(index) != -1
c: common_vendor.t(item.residueNum),
d: common_vendor.o([($event) => item.number = $event.detail.value, ($event) => inputNum(item)]),
e: item.number,
f: common_vendor.unref(checkinarr).indexOf(index) != -1
}, common_vendor.unref(checkinarr).indexOf(index) != -1 ? {
f: common_vendor.f(item.positionList, (ite, k1, i1) => {
g: common_vendor.f(item.positionList, (ite, k1, i1) => {
return common_vendor.e({
a: ite.allocationName
}, ite.allocationName ? {
@ -264,7 +262,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
});
})
} : {}, {
g: common_vendor.o(($event) => setchecl(index))
h: common_vendor.o(($event) => setchecl(index))
});
}),
x: common_vendor.o(($event) => setshowstate(0)),

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

@ -1 +1 @@
<u-navbar wx:if="{{a}}" class="data-v-e9f42dec" u-i="e9f42dec-0" bind:__l="__l" u-p="{{a}}"></u-navbar><image mode="widthFix" class="bgimg data-v-e9f42dec" src="/pagesHome/static/bgby.png"></image><view class="mabxtop data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{b}}</view><view class="data-v-e9f42dec">托盘码</view></view><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{c}}</view><view class="data-v-e9f42dec">托盘件数</view></view></view><view class="data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{d}}</view><view class="data-v-e9f42dec">名称</view></view><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{e}}</view><view class="data-v-e9f42dec">总件数</view></view></view><view class="data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{f}}</view><view class="data-v-e9f42dec">打托方式</view></view></view><view class="beizhut data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{g}}</view><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">备注</view><image class="data-v-e9f42dec" bindtap="{{h}}" src="/pagesHome/static/editicon.png"></image></view></view></view></view><scroll-view class="scvmabx data-v-e9f42dec" scroll-y="true"><view class="maxboxs data-v-e9f42dec"><view wx:for="{{i}}" wx:for-item="item" class="items data-v-e9f42dec"><view class="tophd data-v-e9f42dec"><view class="data-v-e9f42dec"><image class="data-v-e9f42dec" src="/pagesHome/static/dan.png"></image><view class="data-v-e9f42dec"></view><view class="data-v-e9f42dec">{{item.a}}</view></view><image class="data-v-e9f42dec" bindtap="{{item.b}}" src="/pagesHome/static/removeitem.png"></image></view><view class="numbxvie data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="zhon data-v-e9f42dec">{{item.c}}</view><view class="data-v-e9f42dec">总数</view></view><view class="data-v-e9f42dec"><view class="yish data-v-e9f42dec">{{item.d}}</view><view class="data-v-e9f42dec">已扫</view></view><view class="data-v-e9f42dec"><view class="weish data-v-e9f42dec">{{item.e}}</view><view class="data-v-e9f42dec">未扫</view></view></view></view></view></scroll-view><view class="buts data-v-e9f42dec" bindtap="{{j}}">继续录入</view><view wx:if="{{k}}" class="tanchuangbg data-v-e9f42dec" bindtap="{{A}}"><view wx:if="{{l}}" class="tanbx data-v-e9f42dec" catchtap="{{q}}"><view class="titlran data-v-e9f42dec">备注</view><view class="textareabx data-v-e9f42dec"><block wx:if="{{r0}}"><textarea class="data-v-e9f42dec" maxlength="-1" placeholder="请输入备注" value="{{m}}" bindinput="{{n}}"></textarea></block></view><view class="btx data-v-e9f42dec"><view class="cancel data-v-e9f42dec" bindtap="{{o}}">取消</view><view class="confirm data-v-e9f42dec" bindtap="{{p}}">确认</view></view></view><view wx:if="{{r}}" class="inputbox data-v-e9f42dec" catchtap="{{z}}"><view class="inputscan data-v-e9f42dec"><input class="data-v-e9f42dec" placeholder="输入运单号" value="{{s}}" bindinput="{{t}}"/><view class="scanbt data-v-e9f42dec" bindtap="{{v}}">搜索</view></view><scroll-view scroll-y="true" class="scvbw data-v-e9f42dec"><view class="scboxitem data-v-e9f42dec"><view wx:for="{{w}}" wx:for-item="item" class="items data-v-e9f42dec" bindtap="{{item.g}}"><view class="type1s data-v-e9f42dec"><view class="data-v-e9f42dec">订单号:</view><view class="data-v-e9f42dec">{{item.a}}</view></view><view class="type1s data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">总件数:</view><view class="data-v-e9f42dec">{{item.b}}件</view></view></view><view class="rksu data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">入库数:</view><input class="data-v-e9f42dec" placeholder="请输入入库数" value="{{item.c}}" bindinput="{{item.d}}"/></view></view><view wx:if="{{item.e}}" class="lisbite data-v-e9f42dec"><view wx:for="{{item.f}}" wx:for-item="ite" class="itembox data-v-e9f42dec"><view wx:if="{{ite.a}}" class="data-v-e9f42dec">库位码:{{ite.b}}</view><view class="data-v-e9f42dec">托盘码:{{ite.c}}</view><view class="data-v-e9f42dec">数量:{{ite.d}}</view></view></view></view></view></scroll-view><view class="btx data-v-e9f42dec"><view class="cancel data-v-e9f42dec" bindtap="{{x}}">取消</view><view class="confirm data-v-e9f42dec" bindtap="{{y}}">确认</view></view></view></view><tips class="r data-v-e9f42dec" u-r="tip" u-i="e9f42dec-1" bind:__l="__l"></tips><saomiao2 class="data-v-e9f42dec" u-i="e9f42dec-2" bind:__l="__l"></saomiao2>
<u-navbar wx:if="{{a}}" class="data-v-e9f42dec" u-i="e9f42dec-0" bind:__l="__l" u-p="{{a}}"></u-navbar><image mode="widthFix" class="bgimg data-v-e9f42dec" src="/pagesHome/static/bgby.png"></image><view class="mabxtop data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{b}}</view><view class="data-v-e9f42dec">托盘码</view></view><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{c}}</view><view class="data-v-e9f42dec">托盘件数</view></view></view><view class="data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{d}}</view><view class="data-v-e9f42dec">名称</view></view><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{e}}</view><view class="data-v-e9f42dec">总件数</view></view></view><view class="data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{f}}</view><view class="data-v-e9f42dec">打托方式</view></view></view><view class="beizhut data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">{{g}}</view><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">备注</view><image class="data-v-e9f42dec" bindtap="{{h}}" src="/pagesHome/static/editicon.png"></image></view></view></view></view><scroll-view class="scvmabx data-v-e9f42dec" scroll-y="true"><view class="maxboxs data-v-e9f42dec"><view wx:for="{{i}}" wx:for-item="item" class="items data-v-e9f42dec"><view class="tophd data-v-e9f42dec"><view class="data-v-e9f42dec"><image class="data-v-e9f42dec" src="/pagesHome/static/dan.png"></image><view class="data-v-e9f42dec"></view><view class="data-v-e9f42dec">{{item.a}}</view></view><image class="data-v-e9f42dec" bindtap="{{item.b}}" src="/pagesHome/static/removeitem.png"></image></view><view class="numbxvie data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="zhon data-v-e9f42dec">{{item.c}}</view><view class="data-v-e9f42dec">总数</view></view><view class="data-v-e9f42dec"><view class="yish data-v-e9f42dec">{{item.d}}</view><view class="data-v-e9f42dec">已扫</view></view><view class="data-v-e9f42dec"><view class="weish data-v-e9f42dec">{{item.e}}</view><view class="data-v-e9f42dec">未扫</view></view></view></view></view></scroll-view><view class="buts data-v-e9f42dec" bindtap="{{j}}">继续录入</view><view wx:if="{{k}}" class="tanchuangbg data-v-e9f42dec" bindtap="{{A}}"><view wx:if="{{l}}" class="tanbx data-v-e9f42dec" catchtap="{{q}}"><view class="titlran data-v-e9f42dec">备注</view><view class="textareabx data-v-e9f42dec"><block wx:if="{{r0}}"><textarea class="data-v-e9f42dec" maxlength="-1" placeholder="请输入备注" value="{{m}}" bindinput="{{n}}"></textarea></block></view><view class="btx data-v-e9f42dec"><view class="cancel data-v-e9f42dec" bindtap="{{o}}">取消</view><view class="confirm data-v-e9f42dec" bindtap="{{p}}">确认</view></view></view><view wx:if="{{r}}" class="inputbox data-v-e9f42dec" catchtap="{{z}}"><view class="inputscan data-v-e9f42dec"><input class="data-v-e9f42dec" placeholder="输入运单号" value="{{s}}" bindinput="{{t}}"/><view class="scanbt data-v-e9f42dec" bindtap="{{v}}">搜索</view></view><scroll-view scroll-y="true" class="scvbw data-v-e9f42dec"><view class="scboxitem data-v-e9f42dec"><view wx:for="{{w}}" wx:for-item="item" class="items data-v-e9f42dec" bindtap="{{item.h}}"><view class="type1s data-v-e9f42dec"><view class="data-v-e9f42dec">订单号:</view><view class="data-v-e9f42dec">{{item.a}}</view></view><view class="type1s data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">总件数:</view><view class="data-v-e9f42dec">{{item.b}}件</view></view></view><view class="type1s data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">剩余件数:</view><view class="data-v-e9f42dec">{{item.c}}件</view></view></view><view class="rksu data-v-e9f42dec"><view class="data-v-e9f42dec"><view class="data-v-e9f42dec">入库数:</view><input class="data-v-e9f42dec" placeholder="请输入入库数" type="number" bindinput="{{item.d}}" value="{{item.e}}"/></view></view><view wx:if="{{item.f}}" class="lisbite data-v-e9f42dec"><view wx:for="{{item.g}}" wx:for-item="ite" class="itembox data-v-e9f42dec"><view wx:if="{{ite.a}}" class="data-v-e9f42dec">库位码:{{ite.b}}</view><view class="data-v-e9f42dec">托盘码:{{ite.c}}</view><view class="data-v-e9f42dec">数量:{{ite.d}}</view></view></view></view></view></scroll-view><view class="btx data-v-e9f42dec"><view class="cancel data-v-e9f42dec" bindtap="{{x}}">取消</view><view class="confirm data-v-e9f42dec" bindtap="{{y}}">确认</view></view></view></view><tips class="r data-v-e9f42dec" u-r="tip" u-i="e9f42dec-1" bind:__l="__l"></tips><saomiao2 class="data-v-e9f42dec" u-i="e9f42dec-2" bind:__l="__l"></saomiao2>

25
unpackage/dist/dev/mp-weixin/pagesHome/pages/PickingScanList/PickingScanList.js vendored

@ -140,23 +140,28 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
});
}
function backPreviousPage() {
common_vendor.index.redirectTo({
url: "/pagesHome/pages/pickingScan/pickingScan"
});
}
return (_ctx, _cache) => {
return {
a: common_vendor.p({
a: common_vendor.o(backPreviousPage),
b: common_vendor.p({
title: "拣货客户列表",
bgColor: "#D3832A",
leftIconColor: "#ffffff",
titleStyle: "color:#ffffff",
placeholder: true,
autoBack: true,
leftIconSize: "35"
}),
b: common_vendor.t(common_vendor.unref(items).stockupArea),
c: common_vendor.o(showlist),
d: common_vendor.t(common_vendor.unref(items).stockupCode),
e: common_vendor.t(common_vendor.unref(items).stockupStatusStr),
f: common_vendor.t(common_vendor.unref(items).typeServiceStr),
g: common_vendor.f(common_vendor.unref(datalist), (item, k0, i0) => {
c: common_vendor.t(common_vendor.unref(items).stockupArea),
d: common_vendor.o(showlist),
e: common_vendor.t(common_vendor.unref(items).stockupCode),
f: common_vendor.t(common_vendor.unref(items).stockupStatusStr),
g: common_vendor.t(common_vendor.unref(items).typeServiceStr),
h: common_vendor.f(common_vendor.unref(datalist), (item, k0, i0) => {
return {
a: common_vendor.t(item.customer),
b: common_vendor.t(item.stockupStatusStr),
@ -166,10 +171,10 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
f: common_vendor.o(($event) => goCustomerOrdersDetails(item))
};
}),
h: common_vendor.sr(tiplists, "4ad682fe-2", {
i: common_vendor.sr(tiplists, "4ad682fe-2", {
"k": "tiplists"
}),
i: common_vendor.sr(tips2, "4ad682fe-3", {
j: common_vendor.sr(tips2, "4ad682fe-3", {
"k": "tips"
})
};

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

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="4ad682fe-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="hedtopt"><view class="typto"><view>备货区域:<text class="vibx" bindtap="{{c}}">{{b}}</text></view></view><view class="typto"><view>备货编码:{{d}}</view></view><view class="typto"><view>备货状态:{{e}}</view><view>备货类型:{{f}}</view></view></view><scroll-view class="scoolv" scroll-y="true"><view class="minbx"><view wx:for="{{g}}" wx:for-item="item" class="its" bindtap="{{item.f}}"><view class="titl"> 客户:{{item.a}}</view><view class="contsx"><view><view><text style="color:#90A0AF">备货是否完成:</text>{{item.b}}</view><view><text style="color:#90A0AF">备货类型:</text>{{item.c}}</view></view><view><view><view>订单总数</view><view>{{item.d}}</view></view><view><view>计划件数</view><view>{{item.e}}</view></view></view></view></view></view></scroll-view><saomiao2 u-i="4ad682fe-1" bind:__l="__l"></saomiao2><tiplist class="r" u-r="tiplists" u-i="4ad682fe-2" bind:__l="__l"></tiplist><tips class="r" u-r="tips" u-i="4ad682fe-3" bind:__l="__l"></tips>
<u-navbar wx:if="{{b}}" bindleftClick="{{a}}" u-i="4ad682fe-0" bind:__l="__l" u-p="{{b}}"></u-navbar><view class="hedtopt"><view class="typto"><view>备货区域:<text class="vibx" bindtap="{{d}}">{{c}}</text></view></view><view class="typto"><view>备货编码:{{e}}</view></view><view class="typto"><view>备货状态:{{f}}</view><view>备货类型:{{g}}</view></view></view><scroll-view class="scoolv" scroll-y="true"><view class="minbx"><view wx:for="{{h}}" wx:for-item="item" class="its" bindtap="{{item.f}}"><view class="titl"> 客户:{{item.a}}</view><view class="contsx"><view><view><text style="color:#90A0AF">备货是否完成:</text>{{item.b}}</view><view><text style="color:#90A0AF">备货类型:</text>{{item.c}}</view></view><view><view><view>订单总数</view><view>{{item.d}}</view></view><view><view>计划件数</view><view>{{item.e}}</view></view></view></view></view></view></scroll-view><saomiao2 u-i="4ad682fe-1" bind:__l="__l"></saomiao2><tiplist class="r" u-r="tiplists" u-i="4ad682fe-2" bind:__l="__l"></tiplist><tips class="r" u-r="tips" u-i="4ad682fe-3" bind:__l="__l"></tips>

113
unpackage/dist/dev/mp-weixin/pagesHome/pages/Relocation/Relocation.js vendored

@ -35,8 +35,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
});
common_vendor.onLoad((op) => {
details.pagetype = op.type;
details.scancode = "1697135045583261698";
scandata();
common_vendor.index.$on("scancodedate", function(code) {
if (code) {
details.scancode = code;
@ -88,6 +86,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
if (res.code == 200) {
details.trayCode = details.scancode;
details.scanlist = res.data.list;
console.log("details.scanlist :>> ", details.scanlist);
details.obldate = res.data;
}
} else if (details.pagetype == "2") {
@ -179,61 +178,41 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
} : {}, {
l: common_vendor.unref(pagetype) == 1
}, common_vendor.unref(pagetype) == 1 ? {
m: common_vendor.f(common_vendor.unref(scanlist), (item, k0, i0) => {
m: common_vendor.f(common_vendor.unref(scanlist), (item, index, i0) => {
return common_vendor.e({
a: item.goodsType == 1
}, item.goodsType == 1 ? {
b: common_vendor.t(item.serviceNum)
a: item.goodsType === 1
}, item.goodsType === 1 ? {
b: common_vendor.t(item.serviceNum),
c: common_vendor.t(item.orderCode),
d: common_vendor.o(($event) => goorderdetail(item)),
e: common_vendor.t(item.totalNum - item.shelfNum)
} : {}, {
c: item.goodsType == 1
}, item.goodsType == 1 ? {
d: common_vendor.t(item.orderCode),
e: common_vendor.o(($event) => goorderdetail(item))
f: item.goodsType === 2
}, item.goodsType === 2 ? {
g: common_vendor.t(item.waybillNo),
h: common_vendor.t(item.orderCode),
i: common_vendor.t(item.totalNum - item.shelfNum)
} : {}, {
f: item.goodsType == 2
}, item.goodsType == 2 ? {
g: common_vendor.t(item.waybillNo)
j: item.goodsType === 3
}, item.goodsType === 3 ? {
k: common_vendor.t(item.materialCode),
l: common_vendor.t(item.materialName),
m: common_vendor.t(common_vendor.unref(obldate).warehouseName),
n: common_vendor.t(common_vendor.unref(obldate).areaName + "-" + common_vendor.unref(obldate).allocationName),
o: common_vendor.t(item.orderCode),
p: common_vendor.t(item.marketName),
q: common_vendor.t(item.incomingBatch),
r: common_vendor.t(item.totalNum - item.shelfNum)
} : {}, {
h: item.goodsType == 2
}, item.goodsType == 2 ? {
i: common_vendor.t(item.orderCode),
j: common_vendor.o(($event) => goorderdetail(item))
} : {}, {
k: item.goodsType == 3
}, item.goodsType == 3 ? {
l: common_vendor.t(item.materialCode)
} : {}, {
m: item.goodsType == 3
}, item.goodsType == 3 ? {
n: common_vendor.t(item.materialName)
} : {}, {
o: item.goodsType == 3
}, item.goodsType == 3 ? {
p: common_vendor.t(item.marketName)
} : {}, {
q: item.goodsType == 3
}, item.goodsType == 3 ? {
r: common_vendor.t(item.orderCode),
s: common_vendor.o(($event) => goorderdetail(item))
} : {}, {
t: item.goodsType == 3
}, item.goodsType == 3 ? {
v: common_vendor.t(item.incomingBatch)
} : {}, {
w: item.trayCode
}, item.trayCode ? {
x: common_vendor.t(item.trayCode)
} : {}, {
y: common_vendor.t(item.totalNum),
z: common_vendor.t(item.shelfNum),
A: item.totalNum == item.shelfNum ? "/pagesHome/static/qitao.png" : "/pagesHome/static/weiqitao.png"
s: common_vendor.t(item.totalNum),
t: common_vendor.t(item.shelfNum),
v: item.totalNum == item.shelfNum ? "/pagesHome/static/qitao.png" : "/pagesHome/static/weiqitao.png"
});
}),
n: common_vendor.t(common_vendor.unref(obldate).areaName + "-" + common_vendor.unref(obldate).allocationName)
})
} : {}, {
o: common_vendor.unref(pagetype) == 2
n: common_vendor.unref(pagetype) == 2
}, common_vendor.unref(pagetype) == 2 ? {
p: common_vendor.f(common_vendor.unref(scanlist), (item, k0, i0) => {
o: common_vendor.f(common_vendor.unref(scanlist), (item, k0, i0) => {
return {
a: common_vendor.t(item.orderCode),
b: common_vendor.o(($event) => goorderdetail(item)),
@ -242,30 +221,30 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
};
})
} : {}, {
q: common_vendor.o(($event) => setstate(true)),
r: common_vendor.unref(isshowtot)
p: common_vendor.o(($event) => setstate(true)),
q: common_vendor.unref(isshowtot)
}, common_vendor.unref(isshowtot) ? common_vendor.e({
s: common_vendor.unref(pagetype) == "1"
r: common_vendor.unref(pagetype) == "1"
}, common_vendor.unref(pagetype) == "1" ? {
t: common_vendor.t((((_g = common_vendor.unref(obldate)) == null ? void 0 : _g.areaName) || "") + "-" + (((_h = common_vendor.unref(obldate)) == null ? void 0 : _h.shelfName) || "") + "-" + (((_i = common_vendor.unref(obldate)) == null ? void 0 : _i.allocationName) || "")),
v: common_vendor.t(common_vendor.unref(trayCode)),
w: common_vendor.t(common_vendor.unref(traynumber)),
x: common_vendor.t((((_j = common_vendor.unref(dtilobj)) == null ? void 0 : _j.areaTitle) || "") + "-" + (((_k = common_vendor.unref(dtilobj)) == null ? void 0 : _k.shelfTitle) || "") + "-" + (((_l = common_vendor.unref(dtilobj)) == null ? void 0 : _l.allocationTitle) || "")),
y: common_vendor.o(($event) => setstate(false)),
z: common_vendor.o(uplist)
s: common_vendor.t((((_g = common_vendor.unref(obldate)) == null ? void 0 : _g.areaName) || "") + "-" + (((_h = common_vendor.unref(obldate)) == null ? void 0 : _h.shelfName) || "") + "-" + (((_i = common_vendor.unref(obldate)) == null ? void 0 : _i.allocationName) || "")),
t: common_vendor.t(common_vendor.unref(trayCode)),
v: common_vendor.t(common_vendor.unref(traynumber)),
w: common_vendor.t((((_j = common_vendor.unref(dtilobj)) == null ? void 0 : _j.areaTitle) || "") + "-" + (((_k = common_vendor.unref(dtilobj)) == null ? void 0 : _k.shelfTitle) || "") + "-" + (((_l = common_vendor.unref(dtilobj)) == null ? void 0 : _l.allocationTitle) || "")),
x: common_vendor.o(($event) => setstate(false)),
y: common_vendor.o(uplist)
} : {}, {
A: common_vendor.unref(pagetype) == "2"
z: common_vendor.unref(pagetype) == "2"
}, common_vendor.unref(pagetype) == "2" ? common_vendor.e({
B: common_vendor.t(common_vendor.unref(traynumber)),
C: common_vendor.t((((_m = common_vendor.unref(dtilobj)) == null ? void 0 : _m.areaTitle) || "") + "-" + (((_n = common_vendor.unref(dtilobj)) == null ? void 0 : _n.shelfTitle) || "") + "-" + (((_o = common_vendor.unref(dtilobj)) == null ? void 0 : _o.allocationTitle) || "")),
D: common_vendor.unref(dtilobj).trayCode
A: common_vendor.t(common_vendor.unref(traynumber)),
B: common_vendor.t((((_m = common_vendor.unref(dtilobj)) == null ? void 0 : _m.areaTitle) || "") + "-" + (((_n = common_vendor.unref(dtilobj)) == null ? void 0 : _n.shelfTitle) || "") + "-" + (((_o = common_vendor.unref(dtilobj)) == null ? void 0 : _o.allocationTitle) || "")),
C: common_vendor.unref(dtilobj).trayCode
}, common_vendor.unref(dtilobj).trayCode ? {
E: common_vendor.t((_p = common_vendor.unref(dtilobj)) == null ? void 0 : _p.trayCode)
D: common_vendor.t((_p = common_vendor.unref(dtilobj)) == null ? void 0 : _p.trayCode)
} : {}, {
F: common_vendor.o(($event) => setstate(false)),
G: common_vendor.o(uplist)
E: common_vendor.o(($event) => setstate(false)),
F: common_vendor.o(uplist)
}) : {}) : {}, {
H: common_vendor.sr(tip, "7685f104-2", {
G: common_vendor.sr(tip, "7685f104-2", {
"k": "tip"
})
});

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

File diff suppressed because one or more lines are too long

43
unpackage/dist/dev/mp-weixin/pagesHome/pages/Relocation/Relocation.wxss vendored

@ -355,27 +355,6 @@
right: 0;
top: 0;
}
.sclcs .visc .item2 > .tpbx {
display: flex;
align-items: center;
padding: 18rpx 24rpx;
box-sizing: border-box;
border-bottom: 4rpx solid #EEEEEE;
}
.sclcs .visc .item2 > .tpbx > image {
width: 64rpx;
height: 64rpx;
margin-right: 15rpx;
}
.sclcs .visc .item2 > .tpbx > view {
font-size: 28rpx;
font-weight: 400;
color: #020B18;
}
.sclcs .visc .item2 > .tpbx > view .numb {
font-size: 28rpx;
color: #178AF2;
}
.sclcs .visc .item2 > .viewnum {
height: 100rpx;
display: flex;
@ -428,6 +407,28 @@
font-weight: 400;
color: #020B18;
}
.sclcs .visc .tpbx {
display: flex;
align-items: center;
padding: 18rpx 24rpx;
box-sizing: border-box;
border-bottom: 4rpx solid #EEEEEE;
}
.sclcs .visc .tpbx > image {
flex: none;
width: 64rpx;
height: 64rpx;
margin-right: 15rpx;
}
.sclcs .visc .tpbx > view {
font-size: 28rpx;
font-weight: 400;
color: #020B18;
}
.sclcs .visc .tpbx > view .numb {
font-size: 28rpx;
color: #178AF2;
}
.tabchecklist {
width: 684rpx;
height: 100rpx;

110
unpackage/dist/dev/mp-weixin/pagesHome/pages/StockUplist/StockUplist.js vendored

@ -10,8 +10,9 @@ require("../../../config/host.js");
require("../../../utils/md5.js");
if (!Array) {
const _easycom_u_navbar2 = common_vendor.resolveComponent("u-navbar");
const _component_up_button = common_vendor.resolveComponent("up-button");
const _component_tiplist = common_vendor.resolveComponent("tiplist");
(_easycom_u_navbar2 + _component_tiplist)();
(_easycom_u_navbar2 + _component_up_button + _component_tiplist)();
}
const _easycom_u_navbar = () => "../../../uni_modules/uview-plus/components/u-navbar/u-navbar.js";
if (!Math) {
@ -39,7 +40,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
items: {},
isscan: false,
scancode: "",
trayId: ""
trayId: "",
zeroOrderVisibi: false
});
common_vendor.onLoad((op) => {
details.reservationId = op.id;
@ -84,6 +86,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
details.orderList = [];
let response = await api_user.distributionStockuporderList(data);
console.log("response :>> ", response);
console.log("details.orderStatus :>> ", details.orderStatus);
details.user.consignee = (_a = response.data) == null ? void 0 : _a.consignee;
details.user.goodsAreaName = (_b = response.data) == null ? void 0 : _b.goodsAreaName;
details.user.planNum = (_c = response.data) == null ? void 0 : _c.planNum;
@ -99,11 +103,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
url: "/pagesHome/pages/StockUplistScandetails/StockUplistScandetails?stockArticleId=" + (item.stockArticleId || "") + "&orderStatus=" + details.orderStatus + "&reservationId=" + details.reservationId + "&allocation=" + item.allocation + "&pallet=" + item.pallet + "&orderCode=" + item.orderCode + "&stockupId=" + details.stockupId + "&allocationId=" + item.allocationId + "&typeService=" + details.items.typeService + "&status=" + (item.completeStact ? "1" : "0")
});
}
function goZeroDetail(item) {
common_vendor.index.navigateTo({
url: "/pagesHome/pages/StockUpListZero/StockUpListZero?stockArticleId=" + (item.stockArticleId || "") + "&orderStatus=" + details.orderStatus + "&reservationId=" + details.reservationId + "&allocation=" + item.allocation + "&pallet=" + item.pallet + "&orderCode=" + item.orderCode + "&stockupId=" + details.stockupId + "&allocationId=" + item.allocationId + "&typeService=" + details.items.typeService + "&status=" + (item.completeStact ? "1" : "0")
});
}
async function ckscanningCode(item) {
details.isscan = item.taryLean;
details.trayId = item.trayId;
@ -169,7 +168,78 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
utils.ttsspke(res.audio);
initpage();
}
const { user, orderList, orderStatus, stockList } = common_vendor.toRefs(details);
async function showZeroOrderDetails(item) {
console.log("item :>> ", item);
let data = {
typeService: details.items.typeService,
stockupId: details.stockupId,
allocationId: item.allocationId,
orderCode: item.orderCode,
stockArticleId: item.stockArticleId
};
const res = await api_user.postZeroStockUpData(data);
let inpList = [];
const { code } = res;
if (code === 200) {
console.log("res.data :>> ", res.data);
inpList = res.data.map((val) => {
return {
id: val.id,
title: val.categoryName,
value: val.quantity,
maxNum: val.quantity,
minNum: 0,
type: "Number",
disabled: item.completeStact,
allocationId: item.allocationId,
orderCode: item.orderCode,
stockArticleId: val.stockArticleId
};
});
}
tiplists.value.setdetails({
title: "设置零担物料数量",
isshow: true,
tipstate: 4,
inpList,
inputtext: "",
confirmTxt: "确认选择",
isonecheck: true,
success: async (deta) => {
console.log("deta :>> ", deta);
if (deta.inpList.length === 0)
return tiplists.value.setdetails({ isshow: false });
let data2 = {
reservationId: details.reservationId,
typeService: details.items.typeService,
stockupId: details.stockupId,
allocationId: deta.inpList[0].allocationId,
orderCode: deta.inpList[0].orderCode,
stockArticleId: deta.inpList[0].stockArticleId,
list: []
};
data2.list = deta.inpList.map((val) => {
console.log(val);
return {
firsts: val.title,
id: val.id,
quantity: val.value,
stockArticleId: val.stockArticleId
};
});
const res2 = await api_user.postZeroStockUp(data2);
console.log("res :>> ", res2);
tiplists.value.setdetails({ isshow: false });
},
cancel: (details2) => {
tiplists.value.setdetails({ isshow: false });
},
close: (details2) => {
tiplists.value.setdetails({ isshow: false });
}
});
}
const { user, orderList, orderStatus, stockList, zeroOrderList } = common_vendor.toRefs(details);
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.p({
@ -183,8 +253,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}),
b: common_vendor.t(common_vendor.unref(user).consignee),
c: common_vendor.t(common_vendor.unref(user).goodsAreaName),
d: common_vendor.t(common_vendor.unref(user).planNum),
e: common_vendor.t(common_vendor.unref(user).scanNum),
d: common_vendor.t(common_vendor.unref(user).planNum || 0),
e: common_vendor.t(common_vendor.unref(user).scanNum || 0),
f: common_vendor.n(common_vendor.unref(orderStatus) == 1 ? "xz" : ""),
g: common_vendor.o(($event) => setorderStatus(1)),
h: common_vendor.n(common_vendor.unref(orderStatus) == 2 ? "xz" : ""),
@ -199,8 +269,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
b: common_vendor.t(item.pallet),
c: common_vendor.t(item.orderCode),
d: common_vendor.o(($event) => goorderdetail(item)),
e: common_vendor.t(item.planNum),
f: common_vendor.t(item.scanNum),
e: common_vendor.t(item.planNum || 0),
f: common_vendor.t(item.scanNum || 0),
g: item.trayLean
}, item.trayLean ? {
h: common_vendor.o(($event) => ckscanningCode(item))
@ -218,7 +288,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
b: common_vendor.t(item.materialName),
c: common_vendor.t(item.sku),
d: common_vendor.t(item.cargoNorms),
e: common_vendor.t(item.planNum),
e: common_vendor.t(item.planNum || 0),
f: common_vendor.t(item.cargoUnit),
g: common_vendor.o(($event) => goBarCode(item))
};
@ -226,20 +296,24 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
} : {}, {
p: common_vendor.unref(orderStatus) == 3
}, common_vendor.unref(orderStatus) == 3 ? {
q: common_vendor.f(_ctx.zeroOrderList, (item, k0, i0) => {
q: common_vendor.f(common_vendor.unref(zeroOrderList), (item, k0, i0) => {
return {
a: common_vendor.t(item.allocation),
b: common_vendor.t(item.pallet),
c: common_vendor.t(item.orderCode),
d: common_vendor.o(($event) => goorderdetail(item)),
e: common_vendor.t(item.planNum),
f: common_vendor.t(item.scanNum),
e: common_vendor.t(item.planNum || 0),
f: common_vendor.t(item.scanNum || 0),
g: common_vendor.t(item.completeStact ? "查看明细" : "去备货"),
h: common_vendor.o(($event) => goZeroDetail(item))
h: common_vendor.o(($event) => showZeroOrderDetails(item))
};
})
} : {}, {
r: common_vendor.sr(tiplists, "a2c22038-1", {
r: common_vendor.p({
type: "primary",
text: "确定"
}),
s: common_vendor.sr(tiplists, "a2c22038-2", {
"k": "tiplists"
})
});

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

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="a2c22038-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="head"><view class="type1"><view>客户:{{b}}</view><view>备货区域:{{c}}</view></view><view class="type1"><view>计划件数:{{d}}</view><view>扫码件数:{{e}}</view></view></view><view class="tabtip"><view bindtap="{{g}}"><view class="{{f}}">定制品</view></view><view bindtap="{{i}}"><view class="{{h}}">库存品</view></view><view bindtap="{{k}}"><view class="{{j}}">零担</view></view></view><scroll-view scroll-y="true" class="scvew"><view class="mabx"><block wx:if="{{l}}"><view wx:for="{{m}}" wx:for-item="item" class="item"><view class="toptitl"><view class="toplft"> 库位号:{{item.a}}</view><view class="tis bf"> 按件扫描 </view></view><view class="boxcontt"><view><view><text style="color:#90A0AF">托盘号:</text>{{item.b}}</view><view catchtap="{{item.d}}"><text style="color:#90A0AF">订单自编码:</text>{{item.c}}</view></view><view><view><text style="color:#90A0AF">计划件数:</text>{{item.e}}</view><view><text style="color:#90A0AF">扫描件数:</text>{{item.f}}</view></view></view><view class="buttts"><view wx:if="{{item.g}}" class="antu" bindtap="{{item.h}}"> 整托备货扫码 </view><view class="anj" bindtap="{{item.j}}">{{item.i}}</view></view></view></block><block wx:if="{{n}}"><view wx:for="{{o}}" wx:for-item="item" class="item"><view class="boxcontt"><view><view><text style="color:#90A0AF">货位:</text>{{item.a}}</view><view><text style="color:#90A0AF">物品:</text>{{item.b}}</view></view><view><view><text style="color:#90A0AF">SKU:</text>{{item.c}}</view><view><text style="color:#90A0AF">规格:</text>{{item.d}}</view></view><view><view><text style="color:#90A0AF">计划数量:</text>{{item.e}}</view><view><text style="color:#90A0AF">单位:</text>{{item.f}}</view></view></view><view class="buttts"><view class="anj" bindtap="{{item.g}}"> 配置包条码 </view></view></view></block><block wx:if="{{p}}"><view wx:for="{{q}}" wx:for-item="item" class="item"><view class="toptitl"><view class="toplft"> 库位号:{{item.a}}</view><view class="tis bf"> 按件扫描 </view></view><view class="boxcontt"><view><view><text style="color:#90A0AF">托盘号:</text>{{item.b}}</view><view catchtap="{{item.d}}"><text style="color:#90A0AF">订单自编码:</text>{{item.c}}</view></view><view><view><text style="color:#90A0AF">计划件数:</text>{{item.e}}</view><view><text style="color:#90A0AF">扫描件数:</text>{{item.f}}</view></view></view><view class="buttts"><view class="anj" bindtap="{{item.h}}">{{item.g}}</view></view></view></block></view></scroll-view><tiplist class="r" u-r="tiplists" u-i="a2c22038-1" bind:__l="__l"></tiplist>
<u-navbar wx:if="{{a}}" u-i="a2c22038-0" bind:__l="__l" u-p="{{a}}"></u-navbar><view class="head"><view class="type1"><view>客户:{{b}}</view><view>备货区域:{{c}}</view></view><view class="type1"><view>计划件数:{{d}}</view><view>备货件数:{{e}}</view></view></view><view class="tabtip"><view bindtap="{{g}}"><view class="{{f}}">定制品</view></view><view bindtap="{{i}}"><view class="{{h}}">库存品</view></view><view bindtap="{{k}}"><view class="{{j}}">零担</view></view></view><scroll-view scroll-y="true" class="scvew"><view class="mabx"><block wx:if="{{l}}"><view wx:for="{{m}}" wx:for-item="item" class="item"><view class="toptitl"><view class="toplft"> 库位号:{{item.a}}</view><view class="tis bf"> 按件扫描 </view></view><view class="boxcontt"><view><view><text style="color:#90A0AF">托盘号:</text>{{item.b}}</view><view catchtap="{{item.d}}"><text style="color:#90A0AF">订单自编码:</text>{{item.c}}</view></view><view><view><text style="color:#90A0AF">计划件数:</text>{{item.e}}</view><view><text style="color:#90A0AF">扫描件数:</text>{{item.f}}</view></view></view><view class="buttts"><view wx:if="{{item.g}}" class="antu" bindtap="{{item.h}}"> 整托备货扫码 </view><view class="anj" bindtap="{{item.j}}">{{item.i}}</view></view></view></block><block wx:if="{{n}}"><view wx:for="{{o}}" wx:for-item="item" class="item"><view class="boxcontt"><view><view><text style="color:#90A0AF">货位:</text>{{item.a}}</view><view><text style="color:#90A0AF">物品:</text>{{item.b}}</view></view><view><view><text style="color:#90A0AF">SKU:</text>{{item.c}}</view><view><text style="color:#90A0AF">规格:</text>{{item.d}}</view></view><view><view><text style="color:#90A0AF">计划数量:</text>{{item.e}}</view><view><text style="color:#90A0AF">单位:</text>{{item.f}}</view></view></view><view class="buttts"><view class="anj" bindtap="{{item.g}}"> 配置包条码 </view></view></view></block><block wx:if="{{p}}"><view wx:for="{{q}}" wx:for-item="item" class="item"><view class="toptitl"><view class="toplft"> 库位号:{{item.a}}</view><view class="tis bf"> 按件扫描 </view></view><view class="boxcontt"><view><view><text style="color:#90A0AF">托盘号:</text>{{item.b}}</view><view catchtap="{{item.d}}"><text style="color:#90A0AF">订单自编码:</text>{{item.c}}</view></view><view><view><text style="color:#90A0AF">计划件数:</text>{{item.e}}</view><view><text style="color:#90A0AF">扫描件数:</text>{{item.f}}</view></view></view><view class="buttts"><view class="anj" bindtap="{{item.h}}">{{item.g}}</view></view></view></block><up-button wx:if="{{r}}" u-i="a2c22038-1" bind:__l="__l" u-p="{{r}}"></up-button></view></scroll-view><tiplist class="r" u-r="tiplists" u-i="a2c22038-2" bind:__l="__l"></tiplist>

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

@ -257,12 +257,16 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}, common_vendor.unref(checkinarr).indexOf(index) != -1 ? {
l: common_vendor.f(item.positionList, (ite, k1, i1) => {
return common_vendor.e({
a: ite.areaName || ite.allocationName
}, ite.areaName || ite.allocationName ? {
b: common_vendor.t(ite.areaName + "-" + ite.allocationName)
a: ite.areaName
}, ite.areaName ? {
b: common_vendor.t(ite.areaName)
} : {}, {
c: common_vendor.t(ite.trayCode),
d: common_vendor.t(ite.num)
c: ite.allocationName
}, ite.allocationName ? {
d: common_vendor.t("-" + ite.allocationName)
} : {}, {
e: common_vendor.t(ite.trayCode),
f: common_vendor.t(ite.num)
});
})
} : {}, {

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

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="4ef2b204-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>批次号:</view><view>{{item.d}}</view></view><view class="tophd"><image src="/pagesHome/static/uname.png"></image><view>SKU:</view><view>{{item.e}}</view></view><view class="tophd"><image src="/pagesHome/static/uname.png"></image><view>物料单位:</view><view>{{item.f}}</view></view><view class="numbxvie"><view><view class="zhon">{{item.g}}</view><view>在库数</view></view><view><view class="yish">{{item.h}}</view><view>已扫</view></view></view></view></view></scroll-view><view wx:if="{{i}}" class="tanchuangbg" bindtap="{{r}}"><view class="inputbox" catchtap="{{q}}"><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.m}}"><view class="type1s"><view><view>物料编码:</view><view>{{item.a}}</view></view></view><view class="type1s"><view><view>物料名称:</view><view>{{item.b}}</view></view></view><view class="type1s"><view><view>订单编号:</view><view>{{item.c}}</view></view></view><view class="type1s"><view><view>物料单位:</view><view>{{item.d}}</view></view><view><view>包装数量:</view><view>{{item.e}}</view></view></view><view class="type1s"><view><view>在库数:</view><view>{{item.f}}{{item.g}}</view></view><view><view>SKU:</view><view>{{item.h}}</view></view></view><view class="rksu" catchtap="{{n}}"><view><view>数量:</view><input placeholder="请输入数量" value="{{item.i}}" bindinput="{{item.j}}"/></view></view><view wx:if="{{item.k}}" class="lisbite"><view wx:for="{{item.l}}" wx:for-item="ite" class="itembox"><view wx:if="{{ite.a}}">库位:{{ite.b}}</view><view>托盘码:{{ite.c}}</view><view>数量:{{ite.d}}</view></view></view></view></view></scroll-view><view class="btx"><view class="cancel" bindtap="{{o}}">取消</view><view class="confirm" bindtap="{{p}}">确认</view></view></view></view><tips class="r" u-r="tip" u-i="4ef2b204-1" bind:__l="__l"></tips><tiplist class="r" u-r="tiplists" u-i="4ef2b204-2" bind:__l="__l"></tiplist>
<u-navbar wx:if="{{a}}" u-i="4ef2b204-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>批次号:</view><view>{{item.d}}</view></view><view class="tophd"><image src="/pagesHome/static/uname.png"></image><view>SKU:</view><view>{{item.e}}</view></view><view class="tophd"><image src="/pagesHome/static/uname.png"></image><view>物料单位:</view><view>{{item.f}}</view></view><view class="numbxvie"><view><view class="zhon">{{item.g}}</view><view>在库数</view></view><view><view class="yish">{{item.h}}</view><view>已扫</view></view></view></view></view></scroll-view><view wx:if="{{i}}" class="tanchuangbg" bindtap="{{r}}"><view class="inputbox" catchtap="{{q}}"><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.m}}"><view class="type1s"><view><view>物料编码:</view><view>{{item.a}}</view></view></view><view class="type1s"><view><view>物料名称:</view><view>{{item.b}}</view></view></view><view class="type1s"><view><view>订单编号:</view><view>{{item.c}}</view></view></view><view class="type1s"><view><view>物料单位:</view><view>{{item.d}}</view></view><view><view>包装数量:</view><view>{{item.e}}</view></view></view><view class="type1s"><view><view>剩余数量:</view><view>{{item.f}}{{item.g}}</view></view><view><view>SKU:</view><view>{{item.h}}</view></view></view><view class="rksu" catchtap="{{n}}"><view><view>数量:</view><input placeholder="请输入数量" value="{{item.i}}" bindinput="{{item.j}}"/></view></view><view wx:if="{{item.k}}" class="lisbite"><view wx:for="{{item.l}}" wx:for-item="ite" class="itembox"><view>库位: <text wx:if="{{ite.a}}">{{ite.b}}</text><text wx:if="{{ite.c}}">{{ite.d}}</text></view><view>托盘码:{{ite.e}}</view><view>数量:{{ite.f}}</view></view></view></view></view></scroll-view><view class="btx"><view class="cancel" bindtap="{{o}}">取消</view><view class="confirm" bindtap="{{p}}">确认</view></view></view></view><tips class="r" u-r="tip" u-i="4ef2b204-1" bind:__l="__l"></tips><tiplist class="r" u-r="tiplists" u-i="4ef2b204-2" bind:__l="__l"></tiplist>

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

@ -90,7 +90,7 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
}
}
function gostockuplist(item) {
common_vendor.index.navigateTo({
common_vendor.index.redirectTo({
url: "/pagesHome/pages/PickingScanList/PickingScanList?id=" + item.id + "&stockupArea=" + item.stockupArea
});
}
@ -103,44 +103,49 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
details.status = state;
init();
}
function backPreviousPage() {
common_vendor.index.reLaunch({
url: "/pages/index/index"
});
}
const { datatime, dataList, show, status } = common_vendor.toRefs(details);
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.p({
a: common_vendor.o(backPreviousPage),
b: common_vendor.p({
title: "拣货扫描",
bgColor: "#D3832A",
leftIconColor: "#ffffff",
titleStyle: "color:#ffffff",
placeholder: true,
autoBack: true,
leftIconSize: "35"
}),
b: common_vendor.unref(datatime),
c: !common_vendor.unref(datatime)
c: common_vendor.unref(datatime),
d: !common_vendor.unref(datatime)
}, !common_vendor.unref(datatime) ? {
d: common_vendor.o(showCalendar),
e: common_vendor.p({
e: common_vendor.o(showCalendar),
f: common_vendor.p({
name: "calendar",
color: "#999999",
size: "50"
})
} : {
f: common_vendor.o(cleartime),
g: common_vendor.p({
g: common_vendor.o(cleartime),
h: common_vendor.p({
name: "close-circle",
color: "#999999",
size: "40"
})
}, {
h: common_vendor.o(() => {
i: common_vendor.o(() => {
}),
i: common_vendor.o(showCalendar),
j: common_vendor.o(init),
k: common_vendor.n(common_vendor.unref(status) == 0 ? "xz" : ""),
l: common_vendor.o(($event) => setstate(0)),
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) => {
j: common_vendor.o(showCalendar),
k: common_vendor.o(init),
l: common_vendor.n(common_vendor.unref(status) == 0 ? "xz" : ""),
m: common_vendor.o(($event) => setstate(0)),
n: common_vendor.n(common_vendor.unref(status) == 1 ? "xz" : ""),
o: common_vendor.o(($event) => setstate(1)),
p: common_vendor.f(common_vendor.unref(dataList), (item, k0, i0) => {
return common_vendor.e({
a: common_vendor.t(item.typeServiceStr),
b: common_vendor.t(item.stockupStatusStr),
@ -154,17 +159,19 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
j: common_vendor.t(item.inventoryNub),
k: Number(item.stockupStatus) != 40
}, Number(item.stockupStatus) != 40 ? {
l: common_vendor.o(($event) => gostockuplist(item))
} : {});
l: common_vendor.o(($event) => gostockuplist(item), item)
} : {}, {
m: item
});
}),
p: common_vendor.o(jiazai),
q: common_vendor.sr(tip, "3eca9e42-3", {
q: common_vendor.o(jiazai),
r: common_vendor.sr(tip, "3eca9e42-3", {
"k": "tip"
}),
r: common_vendor.o(showCalendar),
s: common_vendor.o(onConfirm),
t: common_vendor.o(($event) => common_vendor.isRef(show) ? show.value = $event : null),
v: common_vendor.p({
s: common_vendor.o(showCalendar),
t: common_vendor.o(onConfirm),
v: common_vendor.o(($event) => common_vendor.isRef(show) ? show.value = $event : null),
w: common_vendor.p({
initStartDate: date.value[0],
initEndDate: date.value[1],
value: common_vendor.unref(show)

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

@ -1 +1 @@
<u-navbar wx:if="{{a}}" u-i="3eca9e42-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="3eca9e42-1" bind:__l="__l" u-p="{{e}}"></u-icon><u-icon wx:else bindclick="{{f}}" style="margin-right:10rpx" u-i="3eca9e42-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="3eca9e42-3" bind:__l="__l"></tips><l-calendar wx:if="{{v}}" bindhide="{{r}}" bindchange="{{s}}" u-i="3eca9e42-4" bind:__l="__l" bindupdateValue="{{t}}" u-p="{{v}}"></l-calendar>
<u-navbar wx:if="{{b}}" bindleftClick="{{a}}" u-i="3eca9e42-0" bind:__l="__l" u-p="{{b}}"></u-navbar><view class="schbox"><view>拣货日期:</view><view bindtap="{{j}}" class="inputsr"><input value="{{c}}" disabled placeholder="请选择时间"/><view catchtap="{{i}}"><u-icon wx:if="{{d}}" bindclick="{{e}}" style="margin-right:10rpx" u-i="3eca9e42-1" bind:__l="__l" u-p="{{f}}"></u-icon><u-icon wx:else bindclick="{{g}}" style="margin-right:10rpx" u-i="3eca9e42-2" bind:__l="__l" u-p="{{h||''}}"></u-icon></view></view><view 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="sccv" scroll-y="true" bindscrolltolower="{{q}}"><view class="mabx"><view wx:for="{{p}}" wx:for-item="item" wx:key="m"><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="3eca9e42-3" bind:__l="__l"></tips><l-calendar wx:if="{{w}}" bindhide="{{s}}" bindchange="{{t}}" u-i="3eca9e42-4" bind:__l="__l" bindupdateValue="{{v}}" u-p="{{w}}"></l-calendar>
Loading…
Cancel
Save