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
efb03d17
authored
Jul 12, 2024
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
59c04d86
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
27 deletions
pages/arrivalRegister/splitGoods.vue
pages/putaway/index.vue
util/api.js
pages/arrivalRegister/splitGoods.vue
View file @
efb03d17
...
...
@@ -288,7 +288,6 @@
this
.
formParams
.
logistics_sn
=
last22
;
}
}
}
},
/**
...
...
@@ -540,15 +539,16 @@
this
.
$refs
.
showRight
.
open
();
this
.
image_list
=
[];
this
.
warehouse_index
=
0
;
//仓库清空
this
.
formParams
.
warehouse_id
=
this
.
warehouse_arr
[
0
].
value
;
this
.
formParams
.
register_time
=
this
.
getCurrentDate
();
this
.
formParams
.
register_type
=
1
;
this
.
register_type_index
=
0
;
this
.
formParams
.
logistics_company
=
''
;
this
.
formParams
.
warehouse_id
=
this
.
warehouse_arr
[
0
].
value
;
//仓库
this
.
formParams
.
register_time
=
this
.
getCurrentDate
Time
();
//到货时间
this
.
formParams
.
register_type
=
1
;
//类型
this
.
register_type_index
=
0
;
//类型恢复
this
.
formParams
.
logistics_company
=
''
;
//物流公司
this
.
logistics_company_index
=
-
1
;
this
.
formParams
.
logistics_sn
=
''
;
this
.
formParams
.
other_info
=
''
;
this
.
formParams
.
register_pic
=
''
;
this
.
formParams
.
logistics_sn
=
''
;
//物流单号
this
.
formParams
.
num
=
''
;
//件数
this
.
formParams
.
other_info
=
''
;
//其他信息
this
.
formParams
.
register_pic
=
''
;
//登记照片
},
/**
* 确认登记
...
...
pages/putaway/index.vue
View file @
efb03d17
...
...
@@ -297,19 +297,18 @@
this
.
is_submit
=
true
;
//所选仓库必须要一样
if
(
isAllElementsEqual
)
{
var
result
=
this
.
list
.
filter
(
item
=>
this
.
filter_id
.
includes
(
item
.
tally_id
)).
map
(
item
=>
item
.
watch_status
);
var
validData
=
result
.
every
(
item
=>
item
==
0
||
item
==
2
);
if
(
!
validData
)
{
uni
.
showToast
({
title
:
'待看货货品不能上架'
,
icon
:
'none'
});
return
false
;
}
//
var result = this.list.filter(item => this.filter_id.includes(item.tally_id)).map(item => item.watch_status);
//
var validData = result.every(item => item == 0 || item == 2);
//
if (!validData) {
//
uni.showToast({
//
title: '待看货货品不能上架',
//
icon: 'none'
//
});
//
return false;
//
}
this
.
$refs
.
showRight
.
open
();
this
.
warehouse_id
=
warehouse_id
[
0
];
this
.
stock_in_type
=
stock_in_type
[
0
];
}
else
{
uni
.
showToast
({
title
:
'请勾选相同仓库'
,
...
...
util/api.js
View file @
efb03d17
const
API_BASE_USER
=
'http://user.liexindev.net'
;
//用户系统
const
API_BASE_PUR
=
'http://pur.liexindev.net'
;
//采购系统
const
API_BASE
=
'http://wms.liexindev.net'
;
//WMS系统
const
API_BASE_OSS
=
'http://image.liexindev.net'
;
//oss系统
//
const API_BASE_USER = 'http://user.liexindev.net'; //用户系统
//
const API_BASE_PUR = 'http://pur.liexindev.net'; //采购系统
//
const API_BASE = 'http://wms.liexindev.net'; //WMS系统
//
const API_BASE_OSS = 'http://image.liexindev.net'; //oss系统
//
const API_BASE_USER = 'https://user.ichunt.net'; //用户系统
//
const API_BASE_PUR = 'https://purchase.ichunt.net'; //采购系统
//
const API_BASE = 'https://wms.ichunt.net'; //WMS系统
//
const API_BASE_OSS = 'https://image.ichunt.net'; //oss系统
const
API_BASE_USER
=
'https://user.ichunt.net'
;
//用户系统
const
API_BASE_PUR
=
'https://purchase.ichunt.net'
;
//采购系统
const
API_BASE
=
'https://wms.ichunt.net'
;
//WMS系统
const
API_BASE_OSS
=
'https://image.ichunt.net'
;
//oss系统
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