Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jisu_gongdan_phone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglongbao
jisu_gongdan_phone
Commits
55e828de
Commit
55e828de
authored
Sep 02, 2024
by
zhanglongbao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5c5e58ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
customer.ts
src/api/methods/customer.ts
+7
-1
product.ts
src/api/methods/product.ts
+5
-1
No files found.
src/api/methods/customer.ts
View file @
55e828de
import
http
from
"../axios"
;
import
http
from
"../axios"
;
import
{
container
}
from
"@/utils/container/index"
;
interface
CustomerList
{
interface
CustomerList
{
page
:
number
;
page
:
number
;
...
@@ -33,7 +34,12 @@ export default {
...
@@ -33,7 +34,12 @@ export default {
},
},
// 客户列表
// 客户列表
listCustomInfo
(
params
:
CustomerList
)
{
listCustomInfo
(
params
:
CustomerList
)
{
return
http
.
post
(
"/order.customer/listCustomInfo"
,
params
);
return
http
.
post
(
`/order.
${
container
.
qr_code
?
"external"
:
"customer"
}
/listCustomInfo`
,
params
);
},
},
// 删除客户
// 删除客户
deleteCustomInfo
(
params
:
{
ids
:
string
[];
form_id
:
string
})
{
deleteCustomInfo
(
params
:
{
ids
:
string
[];
form_id
:
string
})
{
...
...
src/api/methods/product.ts
View file @
55e828de
import
http
from
"../axios"
;
import
http
from
"../axios"
;
import
{
container
}
from
"@/utils/container/index"
;
export
default
{
export
default
{
// 产品列表
// 产品列表
listProduct
(
params
:
{
page
:
number
;
size
:
number
;
[
k
:
string
]:
any
})
{
listProduct
(
params
:
{
page
:
number
;
size
:
number
;
[
k
:
string
]:
any
})
{
return
http
.
post
(
"/order.product/listProduct"
,
params
);
return
http
.
post
(
`/order.
${
container
.
qr_code
?
"external"
:
"product"
}
/listProduct`
,
params
);
},
},
// 新增/修改产品
// 新增/修改产品
saveProduct
(
params
:
any
)
{
saveProduct
(
params
:
any
)
{
...
...
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