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
3f15e2e9
authored
Oct 19, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改自营数据
parent
0a311305
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
pages/arrivalRegister/index.vue
util/api.js
pages/arrivalRegister/index.vue
View file @
3f15e2e9
...
...
@@ -363,6 +363,7 @@ export default {
curr
:
0
,
item
:
[
'货品信息'
,
'其他信息'
],
zyGoodsData
:
[],
//自营货品信息
list_param
:
[],
//自营数据参数集合
searchParams
:
{
create_time_begin
:
''
,
create_time_end
:
''
,
...
...
@@ -653,6 +654,21 @@ export default {
});
},
/**
* 修改自营数据
*/
saveZyGoodsData
()
{
this
.
request
(
API
.
saveZyGoodsData
,
'GET'
,
{
list
:
this
.
list_param
},
true
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
}
else
{
uni
.
showModal
({
title
:
'提示'
,
content
:
res
.
msg
,
showCancel
:
false
});
}
});
},
/**
* 到货登记
* @param {Object} type 1无单号登记 2详情登记
* @param {Object} id
...
...
util/api.js
View file @
3f15e2e9
...
...
@@ -264,6 +264,10 @@ const API = {
* */
getZyGoodsData
:
API_BASE
+
'/api/stockIn/stockInDetail/getZyGoodsData'
,
/**
* 修改自营数据
* */
saveZyGoodsData
:
API_BASE
+
'/api/stockIn/stockInDetail/saveZyGoodsData'
,
/**
* 库存查询
* */
searchStockList
:
API_BASE
+
'/api/h5/stockIn/searchStockList'
,
...
...
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