Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
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
bp
op-web-service
Commits
85014ccf
Commit
85014ccf
authored
Aug 18, 2021
by
liwenhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:email
parent
d9329b8f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
addProduc.vue
src/pages/Activity/releaseProduc/components/addProduc.vue
+6
-3
index.vue
src/pages/Activity/releaseProduc/index.vue
+3
-1
enterpriseForm.vue
src/pages/Enterprise/components/enterpriseForm.vue
+3
-1
No files found.
src/pages/Activity/releaseProduc/components/addProduc.vue
View file @
85014ccf
...
...
@@ -124,6 +124,7 @@
v-model=
"commodityForm.inventory_total"
placeholder=
""
@
input=
"inventoryIpt"
:rules=
"[{ required: true, message: '请输入库存' }]"
></el-input>
</el-form-item>
<div
style=
"display: inline-block; height: 42px; margin-left: 33px"
>
...
...
@@ -234,8 +235,9 @@
<
script
>
import
{
GOODS_URI
}
from
"../../../../../server/config"
;
import
store
from
"../../../../store/index"
;
import
{
ElMessage
}
from
"element-plus"
;
import
{
getCookie
}
from
"@/utils/util"
;
import
{
addGoods
,
getBusinessList
,
...
...
@@ -427,7 +429,8 @@ export default {
marketing_name
:
this
.
editInfo
.
marketing_name
,
marketing_type
:
"4"
,
ota_id
:
this
.
commodityForm
.
business1
,
op_cur_user
:
store
.
state
.
userInfo
.
email
,
op_cur_user
:
getCookie
(
'username'
),
// op_cur_user: store.state.userInfo.email,
goods_sku_id
:
goodsSkuID
,
});
if
(
res
.
code
==
0
)
{
...
...
@@ -494,7 +497,7 @@ export default {
marketing_type
:
"4"
,
price
:
this
.
commodityForm
.
price
,
ota_id
:
this
.
commodityForm
.
business1
,
op_cur_user
:
store
.
state
.
userInfo
.
email
,
op_cur_user
:
getCookie
(
'username'
)
,
});
if
(
res
.
code
==
0
)
{
ElMessage
.
success
({
...
...
src/pages/Activity/releaseProduc/index.vue
View file @
85014ccf
...
...
@@ -55,6 +55,8 @@ import { ElMessage } from "element-plus";
import
infoEditing
from
"./components/infoEditing.vue"
;
import
addProduc
from
"./components/addProduc.vue"
;
import
spellOrderSet
from
"./components/spellOrderSet.vue"
;
import
{
getCookie
}
from
"@/utils/util"
;
import
{
addMarketing
,
marketingInfo
,
...
...
@@ -156,7 +158,7 @@ export default {
goods_sku_id
:
this
.
goodsSkuIDArr
.
join
(
","
),
marketing_name
:
this
.
$refs
.
infoEdit
.
infoEditForm
.
title
,
marketing_type
:
"4"
,
op_cur_user
:
this
.
$store
.
state
.
userInfo
.
email
,
op_cur_user
:
getCookie
(
'username'
)
,
start_time
:
dayJs
(
this
.
startDate
).
format
(
"YYYY-MM-DD HH:mm:ss"
),
end_time
:
dayJs
(
this
.
endDate
).
format
(
"YYYY-MM-DD HH:mm:ss"
),
pindan_pic
:
picList
,
...
...
src/pages/Enterprise/components/enterpriseForm.vue
View file @
85014ccf
...
...
@@ -182,6 +182,8 @@
<
script
>
import
{
postBusiness
,
opCommit
,
opBusinessUpdate
}
from
"@/service/enterprise"
;
import
{
API_INTERNAL_URI
}
from
"../../../../server/config"
;
import
{
getCookie
}
from
"@/utils/util"
;
export
default
{
props
:
{
enterpriseId
:
{
type
:
Number
},
...
...
@@ -402,7 +404,7 @@ export default {
data_from
:
3
,
data_type
,
mobile
,
proxy_user_name
:
this
.
$store
.
state
.
userInfo
.
email
proxy_user_name
:
getCookie
(
'username'
)
};
postBusiness
(
enterpriseQuery
).
then
(
res
=>
{
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
...
...
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