Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsMin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f343b912
authored
Jan 06, 2025
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
滞留预警
parent
36ed426a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
293 additions
and
10 deletions
pages.json
pages/tally/index.vue
pages/tally/retentionList.vue
util/api.js
pages.json
View file @
f343b912
...
...
@@ -273,6 +273,11 @@
"style"
:
{
"navigationBarTitleText"
:
"历史理货图片"
}
},
{
"path"
:
"pages/tally/retentionList"
,
"style"
:
{
"navigationBarTitleText"
:
"滞留预警"
}
}],
"globalStyle"
:
{
"navigationBarTextStyle"
:
"black"
,
...
...
pages/tally/index.vue
View file @
f343b912
...
...
@@ -203,13 +203,17 @@
<text
class=
"p"
>
1、请输入正确的入仓号和型号
</text>
</view>
<!-- 操作栏 -->
<view
class=
"btn-list row verCenter
bothSide
"
v-if=
"!tallyData.detail"
>
<view
class=
"btn-list row verCenter"
v-if=
"!tallyData.detail"
>
<navigator
url=
"/pages/tally/fixBox"
class=
"box row rowCenter verCenter"
hover-class=
"none"
>
合 箱
</navigator>
<navigator
url=
"/pages/tally/unboxing"
class=
"box row rowCenter verCenter"
hover-class=
"none"
>
重新开箱
</navigator>
<navigator
url=
"/pages/tally/abnormalTally"
class=
"box row rowCenter verCenter"
hover-class=
"none"
>
美产商检管理
</navigator>
<view
style=
"position:relative;"
>
<navigator
url=
"/pages/tally/abnormalManageList"
class=
"box row rowCenter verCenter"
hover-class=
"none"
>
异常管理
</navigator>
<text
class=
"num row verCenter rowCenter"
v-if=
"stayHandleCount > 0"
>
{{stayHandleCount}}
</text>
<text
class=
"num row verCenter rowCenter"
v-if=
"stayHandleCount.abnormalQty > 0"
>
{{stayHandleCount.abnormalQty}}
</text>
</view>
<view
style=
"position:relative;"
>
<navigator
url=
"/pages/tally/retentionList"
class=
"box row rowCenter verCenter"
hover-class=
"none"
>
滞留预警
</navigator>
<text
class=
"num row verCenter rowCenter"
v-if=
"stayHandleCount.retentionQty > 0"
>
{{stayHandleCount.retentionQty}}
</text>
</view>
</view>
<!-- 选择国家 -->
...
...
pages/tally/retentionList.vue
0 → 100644
View file @
f343b912
<
template
>
<view
class=
"page-box"
>
<!-- 搜索参数 -->
<view
class=
"search-box row bothSide verCenter"
>
<view
class=
"sn row rowCenter verCenter"
>
<picker
@
change=
"bindPickerChange($event,1)"
:value=
"index"
:range=
"array"
>
<view
class=
"row verCenter"
>
<view
class=
"uni-input"
>
{{
array
[
index
]
}}
</view>
<view
class=
"uni-arrow"
></view>
</view>
</picker>
</view>
<view
class=
"search-bar row bothSide verCenter"
>
<view
class=
"row verCenter"
style=
"width: 100%;"
>
<text
class=
"iconfont icon-juxing11"
></text>
<input
class=
"uni-input"
placeholder=
"输入型号或入仓号或异常编码查询"
placeholder-style=
"color:#919399"
:focus=
"is_focus"
v-model=
"searchParams.keyword"
@
input=
"handleInput"
style=
"width: 100%;"
/>
</view>
<text
class=
"iconfont icon-a-juxing111"
@
click=
"clearInput()"
v-if=
"input_flag"
></text>
</view>
</view>
<view
class=
"row radio-box"
>
<radio-group
@
change=
"radioChange"
class=
"row verCenter"
style=
"width: 100%;"
>
<label
class=
"radio row verCenter"
>
<radio
value=
""
style=
"transform:scale(0.7)"
color=
"#197adb"
/>
全部
</label>
<label
class=
"radio row verCenter"
>
<radio
value=
"0"
style=
"transform:scale(0.7)"
color=
"#197adb"
/>
待业务处理
</label>
<label
class=
"radio row verCenter"
>
<radio
value=
"1"
style=
"transform:scale(0.7)"
color=
"#197adb"
/>
待仓库确认
</label>
<label
class=
"radio row verCenter"
>
<radio
value=
"2"
style=
"transform:scale(0.7)"
color=
"#197adb"
/>
已确认
</label>
<label
class=
"radio row verCenter"
>
<radio
value=
"-1"
style=
"transform:scale(0.7)"
color=
"#197adb"
/>
作废
</label>
</radio-group>
</view>
<view
class=
"total-text"
v-if=
"list.length > 0"
>
共
<text>
{{
total
}}
</text>
条数据
</view>
<!-- 列表区 -->
<view
class=
"list"
v-if=
"list.length > 0"
>
<view
class=
"box row"
v-for=
"(item, index) in list"
:key=
"index"
>
<view
class=
"input-box row verCenter bothSide"
style=
"flex: 0 0 100%;"
>
<view>
<text
class=
"tt"
style=
"color: #000;font-weight: bold;"
>
{{
item
.
entrust_no
}}
</text>
</view>
<view
class=
"row verCenter"
>
<text
class=
"text"
style=
"color: red;font-weight: bold;"
>
{{
item
.
abnormal_type_val
}}
</text>
<text
class=
"text"
style=
"margin-left: 20px;font-weight: bold;"
>
{{
item
.
abnormal_status_val
}}
</text>
</view>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;"
@
click=
"open()"
>
<text
class=
"label"
@
click=
"open()"
>
异常编码:
</text>
<text
class=
"text"
>
{{
item
.
abnormal_number
}}
</text>
</view>
<template
v-if=
"item.abnormal_type == 1"
>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;background-color: #eee;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单型号:
</text>
<text
class=
"text"
>
{{
item
.
order_model
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;background-color: #eee;padding: 10rpx 0;"
>
<text
class=
"label"
>
实物型号:
</text>
<view
class=
"text"
>
<rich-text
:nodes=
"highlightDifferences(item.order_model, item.actual_model)"
></rich-text>
</view>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单品牌:
</text>
<text
class=
"text"
>
{{
item
.
order_brand
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单产地:
</text>
<text
class=
"text"
>
{{
item
.
order_origin
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单数量:
</text>
<text
class=
"text"
>
{{
item
.
order_qty
}}
</text>
</view>
</
template
>
<
template
v-else-if=
"item.abnormal_type == 2"
>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单型号:
</text>
<text
class=
"text"
>
{{
item
.
order_model
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;background-color: #eee;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单品牌:
</text>
<text
class=
"text"
>
{{
item
.
order_brand
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;background-color: #eee;padding: 10rpx 0;"
>
<text
class=
"label"
>
实物品牌:
</text>
<view
class=
"text"
>
<rich-text
:nodes=
"highlightDifferences(item.order_brand, item.actual_brand)"
></rich-text>
</view>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单产地:
</text>
<text
class=
"text"
>
{{
item
.
order_origin
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单数量:
</text>
<text
class=
"text"
>
{{
item
.
order_qty
}}
</text>
</view>
</
template
>
<
template
v-else-if=
"item.abnormal_type == 3"
>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单型号:
</text>
<text
class=
"text"
>
{{
item
.
order_model
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单品牌:
</text>
<text
class=
"text"
>
{{
item
.
order_brand
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;background-color: #eee;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单产地:
</text>
<text
class=
"text"
>
{{
item
.
order_origin
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;background-color: #eee;padding: 10rpx 0;"
>
<text
class=
"label"
>
实物产地:
</text>
<rich-text
:nodes=
"highlightDifferences(item.order_origin, item.actual_origin)"
></rich-text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单数量:
</text>
<text
class=
"text"
>
{{
item
.
order_qty
}}
</text>
</view>
</
template
>
<
template
v-else-if=
"item.abnormal_type == 4"
>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单型号:
</text>
<text
class=
"text"
>
{{
item
.
order_model
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单品牌:
</text>
<text
class=
"text"
>
{{
item
.
order_brand
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单产地:
</text>
<text
class=
"text"
>
{{
item
.
order_origin
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;background-color: #eee;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单数量:
</text>
<text
class=
"text"
>
{{
item
.
order_qty
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;background-color: #eee;padding: 10rpx 0;"
>
<text
class=
"label"
>
实物数量:
</text>
<rich-text
:nodes=
"highlightDifferences(item.order_qty, item.actual_qty)"
></rich-text>
</view>
</
template
>
<
template
v-else
>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单型号:
</text>
<text
class=
"text"
>
{{
item
.
order_model
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单品牌:
</text>
<text
class=
"text"
>
{{
item
.
order_brand
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单产地:
</text>
<text
class=
"text"
>
{{
item
.
order_origin
}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;padding: 10rpx 0;"
>
<text
class=
"label"
>
订单数量:
</text>
<text
class=
"text"
>
{{
item
.
order_qty
}}
</text>
</view>
</
template
>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
异常说明:
</text>
<text
class=
"text"
style=
"max-width: 500rpx;"
@
click=
"show(item.abnormal_explain)"
>
{{item.abnormal_explain}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
业务回复:
</text>
<text
class=
"text"
style=
"color: red;"
@
click=
"show(item.handle_explain)"
>
{{item.handle_explain}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
创建时间:
</text>
<text
class=
"text"
>
{{item.create_time}}
</text>
</view>
<view
class=
"input-box row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
回复时间:
</text>
<text
class=
"text"
>
{{item.salesman_handle_time}}
</text>
</view>
<view
class=
"input-box row"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
异常图片:
</text>
<view
class=
"pick_img_list row"
>
<
template
v-if=
"item.abnormal_pic_urls.length > 0"
>
<view
class=
"img_list"
v-for=
"(v, i) in item.abnormal_pic_urls"
:key=
"i"
>
<image
:src=
"v"
mode=
"aspectFill"
@
click=
"previewChange(item.abnormal_pic_urls,i)"
></image>
</view>
</
template
>
</view>
</view>
<view
class=
"btn-box row"
>
<!-- 除“作废”状态的异常,其他状态异常均可作废 -->
<
template
v-if=
"item.abnormal_status != -1"
>
<view
class=
"btn1 row rowCenter verCenter"
@
click=
"cancelAbnormal(item.abnormal_id)"
>
作废
</view>
</
template
>
<!-- 仅“待仓库确认”时可操作 -->
<
template
v-if=
"item.abnormal_status == 1"
>
<view
class=
"btn2 row rowCenter verCenter"
@
click=
"confirmAbnormal(item.abnormal_id)"
>
确认
</view>
</
template
>
</view>
</view>
</view>
<!-- 无数据展示 -->
<view
class=
"no-date column rowCenter verCenter"
v-else
>
<text
class=
"iconfont icon-a-juxing21"
></text>
<text
class=
"text"
>
查不到当前数据
</text>
</view>
</view>
</template>
<
script
>
import
{
API
}
from
'@/util/api.js'
;
import
debounce
from
'lodash/debounce'
;
export
default
{
data
()
{
return
{
noexebshowFalg
:
true
,
//控制是否会触发生命周期
page
:
1
,
limit
:
10
,
list
:
[],
index
:
0
,
array
:
[
'全量搜索'
],
detail
:
{},
//详情
input_flag
:
false
,
entrust_no
:
''
,
//入仓号
total
:
0
,
is_focus
:
true
,
//获取焦点动态化
hasMoreData
:
true
,
//是否分页加载
orderDetailByIdList
:
[],
orderDetailByIdIndex
:
-
1
,
allOrderDataByEntrustNoList
:
[],
allOrderDataByEntrustNoIndex
:
-
1
,
order_id
:
''
,
erp_order_sn
:
''
,
salesman
:
''
,
searchParams
:
{
keyword
:
''
,
abnormal_status
:
''
}
};
},
onReachBottom
()
{
if
(
!
this
.
hasMoreData
)
{
return
;
}
this
.
page
++
;
this
.
getData
();
},
onNavigationBarButtonTap
(
e
)
{
if
(
e
.
index
==
0
)
{
this
.
open
();
}
},
onShow
()
{
if
(
this
.
noexebshowFalg
)
{
this
.
resetChange
();
this
.
getData
();
}
},
methods
:
{
getData
()
{
}
}
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
'@/assets/css/tally/abnormalManageList.scss'
;
</
style
>
\ No newline at end of file
util/api.js
View file @
f343b912
const
API_BASE
=
'https://api.ichunt.com'
;
const
API_BASE_OSS
=
'https://image.ichunt.net'
;
//oss系统
const
API_BASE_OSS_HK
=
'http://hk.image.semour.com'
;
//oss系统 HK
const
API_BASE_WMS
=
'https://wms.ichunt.net'
;
//WMS系统
//
const API_BASE = 'https://api.ichunt.com';
//
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
//
const API_BASE_OSS_HK = 'http://hk.image.semour.com'; //oss系统 HK
//
const API_BASE_WMS = 'https://wms.ichunt.net'; //WMS系统
//
const API_BASE = 'http://api.liexin.com';
//
const API_BASE_OSS = 'http://image.liexindev.net';
//
const API_BASE_OSS_HK = 'http://image.liexindev.net'; //oss系统 HK
//
const API_BASE_WMS = 'http://wms.liexindev.net'; //WMS系统
const
API_BASE
=
'http://api.liexin.com'
;
const
API_BASE_OSS
=
'http://image.liexindev.net'
;
const
API_BASE_OSS_HK
=
'http://image.liexindev.net'
;
//oss系统 HK
const
API_BASE_WMS
=
'http://wms.liexindev.net'
;
//WMS系统
const
API
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment