Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
wmsApp
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
c3178223
authored
Oct 19, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
二期
parent
83f0a649
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
137 additions
and
4 deletions
assets/css/putaway/single.scss
assets/css/tallyReceive/operate.scss
pages/putaway/single.vue
pages/tallyReceive/index.vue
pages/tallyReceive/operate.vue
pages/tallyReceive/record.vue
assets/css/putaway/single.scss
View file @
c3178223
...
...
@@ -156,8 +156,20 @@
margin-right
:
32rpx
;
}
.curr
{
position
:
relative
;
color
:
#1969f9
;
font-weight
:
bold
;
&
:
:
after
{
content
:
''
;
background-color
:
#1969f9
;
width
:
51%
;
height
:
2px
;
position
:
absolute
;
bottom
:
-10rpx
;
left
:
0
;
right
:
0
;
margin
:
0
auto
;
}
}
}
.h2
{
...
...
assets/css/tallyReceive/operate.scss
View file @
c3178223
...
...
@@ -233,8 +233,27 @@
.item-tit
{
font-size
:
20rpx
;
color
:
#292b33
;
font-weight
:
bold
;
margin-bottom
:
18rpx
;
transition
:
all
0
.2s
ease
;
text
:first-child
{
margin-right
:
32rpx
;
}
.curr
{
position
:
relative
;
color
:
#1969f9
;
font-weight
:
bold
;
&
:
:
after
{
content
:
''
;
background-color
:
#1969f9
;
width
:
51%
;
height
:
2px
;
position
:
absolute
;
bottom
:
-10rpx
;
left
:
0
;
right
:
0
;
margin
:
0
auto
;
}
}
}
.h2
{
font-size
:
17rpx
;
...
...
pages/putaway/single.vue
View file @
c3178223
...
...
@@ -38,7 +38,12 @@
</view>
<view
class=
"bor"
></view>
<view
class=
"item-tit row verCenter"
>
<template
v-if=
"detail.sku_id > 0"
>
<text
v-for=
"(v, index) in item"
:key=
"index"
:class=
"
{ curr: curr == index }" @click="tab(index)">
{{
v
}}
</text>
</
template
>
<
template
v-else
>
<text>
货品信息
</text>
</
template
>
</view>
<
template
v-if=
"curr == 1"
>
<view
class=
"field-item row"
style=
"margin-bottom: 40rpx;"
>
...
...
pages/tallyReceive/index.vue
View file @
c3178223
...
...
@@ -71,6 +71,10 @@
<text
class=
"label"
>
入仓号:
</text>
<text
class=
"tt"
>
{{ item.inhouse }}
</text>
</view>
<view
class=
"text-item row verCenter"
v-if=
"item.sku_id > 0"
>
<text
class=
"label"
style=
"width: 100rpx;"
>
自营货品ID:
</text>
<text
class=
"tt"
>
{{ item.sku_id }}
</text>
</view>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
货品名称:
</text>
<text
class=
"tt"
>
{{ item.goods_name }}
</text>
...
...
pages/tallyReceive/operate.vue
View file @
c3178223
...
...
@@ -35,7 +35,6 @@
</view>
<view>
<text
class=
"iconfont icon-juxing3"
@
click=
"createTallyContainer()"
></text>
<!-- <text class="iconfont icon-zimu-M" @click="createTallyContainer(1)"></text> -->
<text
class=
"iconfont icon-a-juxing11"
@
click=
"clearInput(2)"
v-if=
"input_contaion"
></text>
</view>
</view>
...
...
@@ -65,12 +64,32 @@
</view>
</view>
<view
class=
"bor"
></view>
<view
class=
"item-tit"
>
货品详情
</view>
<view
class=
"item-tit row verCenter"
>
<
template
v-if=
"detail.sku_id > 0"
>
<text
v-for=
"(v, index) in item"
:key=
"index"
:class=
"
{ curr: curr == index }" @click="tab(index)">
{{
v
}}
</text>
</
template
>
<
template
v-else
>
<text>
货品信息
</text>
</
template
>
</view>
<
template
v-if=
"curr == 0"
>
<view
class=
"field-item row"
>
<template
v-if=
"detail.sku_id > 0"
>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
货品编码:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
goods_sn
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
自营货品ID:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
sku_id
}}
</text>
</view>
</
template
>
<
template
v-else
>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
货品编码:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
goods_sn
}}
</text>
</view>
</
template
>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
货品名称:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{ detail.goods_name }}
</text>
...
...
@@ -194,6 +213,63 @@
</view>
<view
class=
"h2"
>
理货备注:
</view>
<view
class=
"textarea-box"
><textarea
placeholder-style=
"color:#919399"
placeholder=
"请输入理货备注"
v-model=
"formParams.tally_remark"
/></view>
</template>
<
template
v-else
>
<view
class=
"field-item row"
>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
v-if=
"detail.sku_id"
>
<text
class=
"label"
>
自营货品ID:
</text>
<text
class=
"text"
style=
"max-width: 100%;"
>
{{
detail
.
sku_id
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
货品名称:
</text>
<text
class=
"tt"
>
{{
detail
.
goods_name
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
标准品牌:
</text>
<text
class=
"tt"
>
{{
detail
.
brand_name
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
包装方式:
</text>
<text
class=
"tt"
>
{{
detail
.
packing_cn
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
标准包装量:
</text>
<text
class=
"tt"
>
{{
detail
.
mpq
}}
</text>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
style=
"width: 128rpx;"
>
标准包装长宽高:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{
detail
.
standard_length
}}
*
{{
detail
.
standard_width
}}
*
{{
detail
.
standard_high
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
style=
"width: 113rpx;"
>
标准包装净重:
</text>
<text
class=
"tt"
>
{{
detail
.
standard_net_weight
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
style=
"width: 113rpx;"
>
标准包装毛重:
</text>
<text
class=
"tt"
>
{{
detail
.
standard_gross_weight
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
其他属性:
</text>
<text
class=
"tt"
>
{{
detail
.
picking_other_attr
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
销售员:
</text>
<text
class=
"tt"
>
{{
detail
.
sale_user
}}
</text>
</view>
<view
class=
"item row verCenter"
>
<text
class=
"label"
>
采购员:
</text>
<text
class=
"tt"
>
{{
detail
.
purchase_user
}}
</text>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
客户:
</text>
<text
class=
"text"
style=
"font-weight: bold;max-width: 491rpx;"
>
{{
detail
.
customer_name
}}
</text>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
供应商:
</text>
<text
class=
"tt"
style=
"max-width: 491rpx;"
>
{{
detail
.
supplier_name
}}
</text>
</view>
</view>
</
template
>
</view>
<view
class=
"fix-btn row verCenter"
>
<view
class=
"btn1 row rowCenter verCenter"
@
click=
"toggle(1)"
>
...
...
@@ -227,6 +303,8 @@ export default {
page
:
1
,
limit
:
1
,
index
:
0
,
curr
:
0
,
item
:
[
'货品信息'
,
'其他信息'
],
indexContainer
:
-
1
,
array
:
[
'物流单号'
,
'入库单号'
,
'入仓号'
],
tallyContainer
:
[],
//容器列表
...
...
@@ -275,6 +353,13 @@ export default {
}
},
methods
:
{
/**
* @param {Object} index
* tab切换
*/
tab
(
index
)
{
this
.
curr
=
index
;
},
bindPickerChange
:
function
(
e
,
type
)
{
console
.
log
(
'picker发送选择改变,携带值为'
,
e
.
detail
.
value
);
if
(
type
==
1
)
{
...
...
pages/tallyReceive/record.vue
View file @
c3178223
...
...
@@ -74,6 +74,10 @@
<text
class=
"label"
>
入仓号:
</text>
<text
class=
"tt"
>
{{ item.inhouse }}
</text>
</view>
<view
class=
"text-item row verCenter"
v-if=
"item.sku_id > 0"
>
<text
class=
"label"
style=
"width: 100rpx;"
>
自营货品ID:
</text>
<text
class=
"tt"
>
{{ item.sku_id }}
</text>
</view>
<view
class=
"text-item row verCenter"
>
<text
class=
"label"
>
货品名称:
</text>
<text
class=
"tt"
>
{{ item.goods_name }}
</text>
...
...
@@ -109,7 +113,7 @@
<text
class=
"iconfont icon-a-juxing21"
></text>
<text
class=
"text"
>
查不到当前数据
</text>
</view>
<view
class=
"fix-btn row verCenter"
>
<view
class=
"fix-btn row verCenter"
v-if=
"list.length > 0"
>
<view
class=
"btn1 row rowCenter verCenter"
style=
"width: 127rpx;"
@
click=
"allChnage()"
>
<text
class=
"check-box-icon"
:class=
"{ curr: filter_list.length > 0 && filter_list.length == filter_id.length }"
></text>
<text
class=
"text"
>
{{ filter_id.length == 0 ? '全选' : filter_id.length }}
</text>
...
...
@@ -153,6 +157,10 @@
<text
class=
"label"
>
货品编码:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{ detail.goods_sn }}
</text>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
v-if=
"detail.sku_id > 0"
>
<text
class=
"label"
>
自营货品ID:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{ detail.sku_id }}
</text>
</view>
<view
class=
"item row verCenter"
style=
"flex: 0 0 100%;"
>
<text
class=
"label"
>
货品名称:
</text>
<text
class=
"tt"
style=
"max-width: 100%;"
>
{{ detail.goods_name }}
</text>
...
...
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