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
b3deb8f3
authored
Aug 16, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
异常管理
parent
a21d94e6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
33 deletions
assets/css/tally/abnormalManageList.scss
assets/css/tally/addAbnormal.scss
pages.json
pages/tally/abnormalManageList.vue
pages/tally/addAbnormal.vue
assets/css/tally/abnormalManageList.scss
View file @
b3deb8f3
...
...
@@ -217,8 +217,8 @@
width
:
100%
;
justify-content
:
flex-end
;
.btn1
{
width
:
1
00
rpx
;
height
:
48
rpx
;
width
:
1
37
rpx
;
height
:
70
rpx
;
background
:
#fff
;
border-radius
:
4rpx
;
font-size
:
24rpx
;
...
...
@@ -226,8 +226,8 @@
border
:
1px
solid
#999
;
}
.btn2
{
width
:
1
00
rpx
;
height
:
48
rpx
;
width
:
1
37
rpx
;
height
:
70
rpx
;
background
:
#1969f9
;
border-radius
:
8rpx
;
font-size
:
25rpx
;
...
...
@@ -336,7 +336,7 @@
}
.uni-input
{
width
:
310rpx
;
height
:
55
rpx
;
height
:
80
rpx
;
background
:
#e6edf0
;
border-radius
:
4rpx
;
padding-left
:
20rpx
;
...
...
@@ -345,8 +345,8 @@
font-weight
:
bold
;
}
.search-btn
{
width
:
1
2
0rpx
;
height
:
55
rpx
;
width
:
1
7
0rpx
;
height
:
80
rpx
;
background
:
#197adb
;
font-size
:
26rpx
;
color
:
#ffffff
;
...
...
assets/css/tally/addAbnormal.scss
View file @
b3deb8f3
.page-box
{
padding-bottom
:
20rpx
;
.base-information
{
padding
:
0
24rpx
;
background
:
#ffffff
;
...
...
@@ -120,8 +121,8 @@
border-bottom
:
1px
solid
#e6edf0
;
.label
{
position
:
relative
;
width
:
18
3rpx
;
font-size
:
2
4
rpx
;
width
:
21
3rpx
;
font-size
:
2
8
rpx
;
color
:
#6e767a
;
&
.required
:after
{
position
:
absolute
;
...
...
@@ -133,7 +134,7 @@
}
}
.input-wrap
{
width
:
calc
(
100%
-
18
3rpx
);
width
:
calc
(
100%
-
21
3rpx
);
.tab-panel
{
&
:last-child
{
margin-right
:
0
;
...
...
@@ -155,7 +156,7 @@
}
}
.uni-list-cell-db
{
width
:
calc
(
100%
-
18
3rpx
);
width
:
calc
(
100%
-
21
3rpx
);
position
:
relative
;
.icon-sanjiaoxing1
{
position
:
absolute
;
...
...
@@ -171,7 +172,7 @@
font-weight
:
bold
;
}
.uni-input-box
{
width
:
calc
(
100%
-
18
3rpx
);
width
:
calc
(
100%
-
21
3rpx
);
.uni-input
{
font-size
:
24rpx
;
color
:
#404547
;
...
...
@@ -198,16 +199,16 @@
.title
{
margin-bottom
:
24rpx
;
.tt-l
{
font-size
:
2
4
rpx
;
font-size
:
2
8
rpx
;
color
:
#6e767a
;
}
.tt-r
{
font-size
:
2
4
rpx
;
font-size
:
2
8
rpx
;
color
:
#404547
;
}
}
.upload-list
{
padding-bottom
:
2
4
rpx
;
padding-bottom
:
2
8
rpx
;
border-bottom
:
1px
solid
#e6edf0
;
.default
{
width
:
144rpx
;
...
...
@@ -251,7 +252,7 @@
padding-top
:
23rpx
;
textarea
{
height
:
80rpx
;
font-size
:
2
4
rpx
;
font-size
:
2
8
rpx
;
color
:
#6e767a
;
border-bottom
:
1px
solid
#e6edf0
;
}
...
...
pages.json
View file @
b3deb8f3
...
...
@@ -224,7 +224,7 @@
},
{
"path"
:
"pages/tally/abnormalTally"
,
"style"
:
{
"navigationBarTitleText"
:
"
理货异常处
理"
"navigationBarTitleText"
:
"
美产商检管
理"
}
},
{
"path"
:
"pages/tally/goods"
,
...
...
pages/tally/abnormalManageList.vue
View file @
b3deb8f3
This diff is collapsed.
Click to expand it.
pages/tally/addAbnormal.vue
View file @
b3deb8f3
...
...
@@ -50,30 +50,30 @@
</picker>
</view>
</view>
<view
class=
"box row verCenter"
>
<view
class=
"box row verCenter"
v-if=
"index == 0 || index == 1|| index == 2|| index == 3"
>
<template
v-if=
"index == 0"
>
<text
class=
"label"
>
实物品牌
</text>
<view
class=
"uni-input-box row verCenter bothSide"
>
<input
type=
"text"
class=
"uni-input"
placeholder=
"
实物品牌"
placeholder-style=
"color:#404547;font-weight:bold
;"
v-model=
"form.actual_brand"
style=
"width: 100%;"
/>
<input
type=
"text"
class=
"uni-input"
placeholder=
"
请输入"
placeholder-style=
"color:#404547
;"
v-model=
"form.actual_brand"
style=
"width: 100%;"
/>
</view>
</
template
>
<
template
v-else-if=
"index == 1"
>
<text
class=
"label"
>
实物型号
</text>
<view
class=
"uni-input-box row verCenter bothSide"
>
<input
type=
"text"
class=
"uni-input"
placeholder=
"
实物型号"
placeholder-style=
"color:#404547;font-weight:bold
;"
v-model=
"form.actual_model"
style=
"width: 100%;"
/>
<input
type=
"text"
class=
"uni-input"
placeholder=
"
请输入"
placeholder-style=
"color:#404547
;"
v-model=
"form.actual_model"
style=
"width: 100%;"
/>
</view>
</
template
>
<
template
v-else-if=
"index == 2"
>
<text
class=
"label"
>
实物产地
</text>
<view
class=
"uni-input-box row verCenter bothSide"
>
<input
type=
"text"
class=
"uni-input"
placeholder=
"
实物产地"
placeholder-style=
"color:#404547;font-weight:bold
;"
v-model=
"form.actual_origin"
style=
"width: 100%;"
/>
<input
type=
"text"
class=
"uni-input"
placeholder=
"
请输入"
placeholder-style=
"color:#404547
;"
v-model=
"form.actual_origin"
style=
"width: 100%;"
/>
</view>
</
template
>
<
template
v-else-if=
"index == 3"
>
<text
class=
"label"
>
实物数量
</text>
<view
class=
"uni-input-box row verCenter bothSide"
>
<input
type=
"text"
class=
"uni-input"
placeholder=
"
实物数量"
placeholder-style=
"color:#404547;font-weight:bold
;"
v-model=
"form.actual_qty"
style=
"width: 100%;"
/>
<input
type=
"text"
class=
"uni-input"
placeholder=
"
请输入"
placeholder-style=
"color:#404547
;"
v-model=
"form.actual_qty"
style=
"width: 100%;"
/>
</view>
</
template
>
</view>
...
...
@@ -90,7 +90,7 @@
<view
class=
"title row bothSide verCenter"
>
<view
class=
"row verCenter"
>
<text
style=
"color: red;"
>
*
</text>
<text
class=
"tt-l"
>
异常图片上传
(选填)
</text>
<text
class=
"tt-l"
>
异常图片上传
</text>
</view>
<text
class=
"tt-r"
>
{{ abnormal_pic_url.length }}/4
</text>
</view>
...
...
@@ -104,7 +104,7 @@
<view
class=
"default row rowCenter verCenter"
@
click=
"chooseImageChange()"
v-if=
"abnormal_pic_url.length < 4"
><text
class=
"iconfont icon-xingzhuangjiehe"
></text></view>
</view>
<view
class=
"textarea-box"
>
<textarea
maxlength=
"200"
placeholder=
"请输入异常说明
(选填)
"
placeholder-style=
"color:#6E767A;"
v-model=
"form.abnormal_explain"
></textarea>
<textarea
maxlength=
"200"
placeholder=
"请输入异常说明"
placeholder-style=
"color:#6E767A;"
v-model=
"form.abnormal_explain"
></textarea>
<view
class=
"quickExpressions row"
>
<view
class=
"lable-box"
@
click=
"selectionText(item.expressions)"
v-for=
"(item,index) in quickExpressions"
:key=
"index"
>
{{item.expressions}}
</view>
</view>
...
...
@@ -123,7 +123,7 @@
data
()
{
return
{
noexebshowFalg
:
true
,
//控制是否会触发生命周期
array
:
[
'品牌异常'
,
'型号异常'
,
'产地异常'
,
'数量异常'
],
array
:
[
'品牌异常'
,
'型号异常'
,
'产地异常'
,
'数量异常'
,
'标签异常'
,
'其他异常'
],
index
:
0
,
salesman
:
''
,
orderDetailByIdIndex
:
''
,
...
...
@@ -203,7 +203,7 @@
getQuickExpressions
()
{
this
.
request
(
API
.
getQuickExpressions
,
'GET'
,
{
abnormal_type
:
this
.
form
.
abnormal_type
},
false
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
this
.
quickExpressions
.
list
=
res
.
data
;
this
.
quickExpressions
=
res
.
data
.
list
;
}
else
{
uni
.
showToast
({
title
:
res
.
err_msg
,
...
...
@@ -338,13 +338,6 @@
});
return
false
;
}
if
(
!
this
.
form
.
actual_model
&&
!
this
.
form
.
actual_brand
&&
!
this
.
form
.
actual_qty
&&
this
.
form
.
actual_origin
)
{
uni
.
showToast
({
title
:
'请填写实物'
,
icon
:
'none'
});
return
false
;
}
if
(
this
.
form
.
is_business_processing
===
''
)
{
uni
.
showToast
({
title
:
'请选择是否需要业务处理'
,
...
...
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