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
6454d6ee
authored
Apr 19, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
理货
parent
029b2358
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
81 additions
and
41 deletions
assets/css/tallyReceive/index.scss
pages/arrivalRegister/index.vue
pages/arrivalRegister/registered.vue
pages/tallyReceive/index.vue
util/api.js
assets/css/tallyReceive/index.scss
View file @
6454d6ee
...
@@ -44,41 +44,43 @@
...
@@ -44,41 +44,43 @@
margin-top
:
10rpx
;
margin-top
:
10rpx
;
height
:
60rpx
;
height
:
60rpx
;
border-radius
:
10rpx
;
border-radius
:
10rpx
;
.left
{
background-color
:
#ffffff
;
.text
{
padding-left
:
30rpx
;
width
:
164rpx
;
height
:
35rpx
;
line-height
:
35rpx
;
border-right
:
1px
solid
#f0f0f2
;
font-size
:
18rpx
;
color
:
#292b33
;
font-weight
:
bold
;
}
.search-width
{
width
:
calc
(
100%
-
164rpx
);
padding-right
:
22rpx
;
height
:
100%
;
height
:
100%
;
background-color
:
#ffffff
;
.icon-juxing1
{
.text
{
font-size
:
30rpx
;
padding-left
:
30rpx
;
color
:
#919399
;
width
:
164rpx
;
margin-left
:
17rpx
;
height
:
35rpx
;
margin-right
:
13rpx
;
line-height
:
35rpx
;
}
border-right
:
1px
solid
#f0f0f2
;
.uni-input
{
width
:
80%
;
height
:
60rpx
;
font-size
:
18rpx
;
font-size
:
18rpx
;
color
:
#292b33
;
color
:
#484b59
;
font-weight
:
bold
;
}
}
.search-width
{
.uni-arrow
{
width
:
360rpx
;
width
:
14rpx
;
.icon-juxing1
{
height
:
9rpx
;
font-size
:
30rpx
;
background
:
url('https://img.ichunt.com/images/ichunt/202304/10/e4c72319ad41ce1425f71cc6ec35f111.png')
no-repeat
center
;
color
:
#919399
;
background-size
:
contain
;
margin-left
:
17rpx
;
margin-left
:
12rpx
;
margin-right
:
13rpx
;
}
.uni-input
{
font-size
:
18rpx
;
color
:
#484b59
;
}
}
}
}
.wrap
{
.icon-box
{
width
:
100%
;
width
:
75rpx
;
height
:
100%
;
height
:
60rpx
;
background
:
#ffffff
;
border-radius
:
10rpx
;
.iconfont
{
font-size
:
30rpx
;
color
:
#56585e
;
}
}
}
}
}
}
...
@@ -88,11 +90,11 @@
...
@@ -88,11 +90,11 @@
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
.box
{
.box
{
position
:
relative
;
position
:
relative
;
padding
:
15rpx
17rpx
0
17rpx
;
padding
:
15rpx
17rpx
17rpx
17rpx
;
width
:
345rpx
;
width
:
345rpx
;
height
:
252rpx
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0px
3rpx
3rpx
0px
rgba
(
198
,
199
,
204
,
0
.3
);
box-shadow
:
0px
3rpx
3rpx
0px
rgba
(
198
,
199
,
204
,
0
.3
);
border
:
1px
solid
transparent
;
border-radius
:
10rpx
;
border-radius
:
10rpx
;
margin-right
:
15rpx
;
margin-right
:
15rpx
;
margin-bottom
:
15rpx
;
margin-bottom
:
15rpx
;
...
@@ -295,9 +297,17 @@
...
@@ -295,9 +297,17 @@
color
:
#c6c7cc
;
color
:
#c6c7cc
;
}
}
.uni-input
{
.uni-input
{
height
:
100%
;
font-size
:
18rpx
;
font-size
:
18rpx
;
color
:
#484b59
;
color
:
#484b59
;
}
}
.uni-arrow
{
width
:
14rpx
;
height
:
9rpx
;
background
:
url('https://img.ichunt.com/images/ichunt/202304/10/e4c72319ad41ce1425f71cc6ec35f111.png')
no-repeat
center
;
background-size
:
contain
;
margin-left
:
12rpx
;
}
}
}
.icon-box
{
.icon-box
{
width
:
75rpx
;
width
:
75rpx
;
...
...
pages/arrivalRegister/index.vue
View file @
6454d6ee
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 无数据展示 -->
<view
class=
"no-date column rowCenter verCenter"
v-else
>
<view
class=
"no-date column rowCenter verCenter"
v-else
>
<text
class=
"iconfont icon-a-juxing21"
></text>
<text
class=
"iconfont icon-a-juxing21"
></text>
<text
class=
"text"
>
查不到当前数据
</text>
<text
class=
"text"
>
查不到当前数据
</text>
...
@@ -168,6 +169,7 @@ export default {
...
@@ -168,6 +169,7 @@ export default {
array
:
[
'物流单号'
,
'入库单号'
,
'入仓号'
],
array
:
[
'物流单号'
,
'入库单号'
,
'入仓号'
],
list
:
[],
list
:
[],
filter_list
:
[],
//筛选已选中的列表
filter_list
:
[],
//筛选已选中的列表
filter_id
:
[],
//入库单列表的入库登记
detail
:
{},
//详情的数据
detail
:
{},
//详情的数据
searchParams
:
{
searchParams
:
{
stock_in_sn
:
''
,
//入库单号
stock_in_sn
:
''
,
//入库单号
...
@@ -178,8 +180,7 @@ export default {
...
@@ -178,8 +180,7 @@ export default {
logistics_company
:
''
,
logistics_company
:
''
,
logistics_sn
:
''
,
logistics_sn
:
''
,
other_info
:
''
other_info
:
''
},
}
filter_id
:
[]
//入库单列表的入库登记
};
};
},
},
onNavigationBarButtonTap
(
e
)
{
onNavigationBarButtonTap
(
e
)
{
...
@@ -225,7 +226,7 @@ export default {
...
@@ -225,7 +226,7 @@ export default {
}
else
if
(
this
.
index
==
1
)
{
}
else
if
(
this
.
index
==
1
)
{
this
.
searchParams
.
stock_in_sn
=
''
;
this
.
searchParams
.
stock_in_sn
=
''
;
}
else
if
(
this
.
index
==
2
)
{
}
else
if
(
this
.
index
==
2
)
{
this
.
searchParams
.
other_info
=
''
;
this
.
searchParams
.
stock_in_with_stock_in_items_inhouses
=
''
;
}
}
this
.
getData
();
this
.
getData
();
},
},
...
@@ -302,6 +303,7 @@ export default {
...
@@ -302,6 +303,7 @@ export default {
});
});
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
getData
();
this
.
getData
();
this
.
closeDrawer
();
},
2000
);
},
2000
);
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
...
@@ -313,7 +315,7 @@ export default {
...
@@ -313,7 +315,7 @@ export default {
},
},
/**
/**
* 到货登记
* 到货登记
* @param {Object} type 1
列表
登记 2详情登记
* @param {Object} type 1
无单号
登记 2详情登记
* @param {Object} id
* @param {Object} id
*/
*/
addStockInRegister
(
type
,
id
)
{
addStockInRegister
(
type
,
id
)
{
...
@@ -336,8 +338,11 @@ export default {
...
@@ -336,8 +338,11 @@ export default {
title
:
'登记成功'
,
title
:
'登记成功'
,
icon
:
'success'
icon
:
'success'
});
});
s
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
getData
();
this
.
getData
();
this
.
closeDrawer
();
this
.
filter_id
=
[];
},
2000
);
},
2000
);
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
...
...
pages/arrivalRegister/registered.vue
View file @
6454d6ee
...
@@ -63,6 +63,11 @@
...
@@ -63,6 +63,11 @@
</view>
</view>
</view>
</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
class=
"fix-btn row verCenter"
>
<view
class=
"fix-btn row verCenter"
>
<view
class=
"btn3 row rowCenter verCenter"
@
click=
"allChnage()"
>
<view
class=
"btn3 row rowCenter verCenter"
@
click=
"allChnage()"
>
<text
class=
"check-box-icon"
:class=
"{ curr: this.filter_list.length == this.filter_id.length }"
></text>
<text
class=
"check-box-icon"
:class=
"{ curr: this.filter_list.length == this.filter_id.length }"
></text>
...
@@ -214,7 +219,7 @@ export default {
...
@@ -214,7 +219,7 @@ export default {
}
else
if
(
this
.
index
==
1
)
{
}
else
if
(
this
.
index
==
1
)
{
this
.
searchParams
.
stock_in_sn
=
''
;
this
.
searchParams
.
stock_in_sn
=
''
;
}
else
if
(
this
.
index
==
2
)
{
}
else
if
(
this
.
index
==
2
)
{
this
.
searchParams
.
other_info
=
''
;
this
.
searchParams
.
stock_in_with_stock_in_items_inhouse
=
''
;
}
}
this
.
getData
();
this
.
getData
();
},
},
...
@@ -290,6 +295,8 @@ export default {
...
@@ -290,6 +295,8 @@ export default {
});
});
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
getData
();
this
.
getData
();
this
.
closeDrawer
();
this
.
filter_id
=
[];
},
2000
);
},
2000
);
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
...
@@ -307,9 +314,6 @@ export default {
...
@@ -307,9 +314,6 @@ export default {
this
.
$refs
.
showRight
.
open
();
this
.
$refs
.
showRight
.
open
();
this
.
getDetail
(
stock_in_sn
);
this
.
getDetail
(
stock_in_sn
);
},
},
showDrawers
()
{
this
.
$refs
.
showRightAdd
.
open
();
},
closeDrawer
()
{
closeDrawer
()
{
this
.
$refs
.
showRight
.
close
();
this
.
$refs
.
showRight
.
close
();
}
}
...
...
pages/tallyReceive/index.vue
View file @
6454d6ee
This diff is collapsed.
Click to expand it.
util/api.js
View file @
6454d6ee
...
@@ -4,6 +4,7 @@ const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
...
@@ -4,6 +4,7 @@ const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
const
API_BASE_SUPPLIER
=
'http://supplier.liexin.net'
;
//供应商系统
const
API_BASE_SUPPLIER
=
'http://supplier.liexin.net'
;
//供应商系统
const
API_BASE_CRM
=
'http://crmnew.liexindev.net'
;
//CRM系统
const
API_BASE_CRM
=
'http://crmnew.liexindev.net'
;
//CRM系统
const
API_BASE
=
'http://wms.liexindev.net'
;
//WMS系统
const
API_BASE
=
'http://wms.liexindev.net'
;
//WMS系统
const
API_BASE_LIEXIN
=
'http://api.liexin.com'
;
//api系统
const
API
=
{
const
API
=
{
/**
/**
...
@@ -30,6 +31,26 @@ const API = {
...
@@ -30,6 +31,26 @@ const API = {
* 删除到货登记
* 删除到货登记
* */
* */
delStockInRegister
:
API_BASE
+
'/api/stockIn/stockInRegister/delStockInRegister'
,
delStockInRegister
:
API_BASE
+
'/api/stockIn/stockInRegister/delStockInRegister'
,
/**
* 待理货列表
* */
waitTallyReceiveList
:
API_BASE
+
'/api/stockIn/tallyReceive/waitTallyReceiveList'
,
/**
* 已理货列表
* */
haveTallyReceiveList
:
API_BASE
+
'/api/stockIn/tallyReceive/haveTallyReceiveList'
,
/**
* 获取容器下拉列表
* */
getTallyContainer
:
API_BASE
+
'/api/stockIn/tallyReceive/getTallyContainer'
,
/**
* 新增理货
* */
createTallyReceive
:
API_BASE
+
'/api/stockIn/tallyReceive/createTallyReceive'
,
/**
* 上传文件
* */
upload
:
API_BASE_LIEXIN
+
'/oss/upload'
,
}
}
...
...
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