Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
weChatFlowApprove
Project
Project
Details
Activity
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
刘川
weChatFlowApprove
Commits
46d20eba
Commit
46d20eba
authored
Jun 17, 2022
by
chuan.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
月度调整计划联调
parent
1a72fc49
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
17 deletions
+25
-17
babel.config.js
babel.config.js
+12
-13
monthPlan.js
src/api/monthPlan.js
+4
-3
monthFlow.vue
src/views/month-flow/monthFlow.vue
+2
-0
PlanChangeFlow.vue
src/views/plan-change-flow/PlanChangeFlow.vue
+5
-1
ShipApproval.vue
src/views/ship-approval/ShipApproval.vue
+2
-0
No files found.
babel.config.js
View file @
46d20eba
let
removeConsole
=
[]
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
removeConsole
=
[
'transform-remove-console'
,
{
exclude
:
[
'error'
,
'warn'
]
}]
}
module
.
exports
=
{
presets
:
[
'@vue/cli-plugin-babel/preset'
],
plugins
:
[
const
plugins
=
[
[
'import'
,
{
...
...
@@ -12,7 +6,12 @@ module.exports = {
libraryDirectory
:
'es'
,
style
:
true
}
],
removeConsole
]
]
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
plugins
.
push
([
'transform-remove-console'
,
{
exclude
:
[
'error'
,
'warn'
]
}])
}
module
.
exports
=
{
presets
:
[
'@vue/cli-plugin-babel/preset'
],
plugins
}
src/api/monthPlan.js
View file @
46d20eba
...
...
@@ -30,10 +30,11 @@ export function apiExportMonthPlanOrder(data) {
* 根据id查询月计划发货申请
* @param {*} params
*/
export
function
apiMonthplanAdjustFindById
(
{
id
}
)
{
export
function
apiMonthplanAdjustFindById
(
data
)
{
return
request
({
url
:
BASE_API
()
+
'/monthplanadjuseimport/findById?id='
+
id
,
method
:
'post'
url
:
BASE_API
()
+
'/monthplanadjuseimport/findById'
,
method
:
'post'
,
params
:
data
})
}
...
...
src/views/month-flow/monthFlow.vue
View file @
46d20eba
...
...
@@ -132,6 +132,8 @@ export default {
console
.
log
(
'22asssssss'
,
res
)
if
(
res
.
status
===
1
)
{
Toast
(
'提交成功'
)
window
.
opener
=
null
window
.
open
(
''
,
'_self'
,
''
)
window
.
close
()
}
}
...
...
src/views/plan-change-flow/PlanChangeFlow.vue
View file @
46d20eba
...
...
@@ -103,7 +103,11 @@ export default {
},
methods
:
{
initDetail
()
{
apiMonthplanAdjustFindById
(
this
.
conditions
).
then
(
res
=>
{
const
params
=
{
id
:
this
.
conditions
.
id
,
type
:
this
.
this
.
$route
.
query
.
type
}
apiMonthplanAdjustFindById
(
params
).
then
(
res
=>
{
console
.
log
(
res
.
data
)
res
.
data
.
pyear
+=
''
this
.
conditions
=
{
...
this
.
conditions
,
...
res
.
data
}
...
...
src/views/ship-approval/ShipApproval.vue
View file @
46d20eba
...
...
@@ -335,6 +335,8 @@ export default {
console
.
log
(
'22asssssss'
,
res
)
if
(
res
.
status
===
1
)
{
Toast
(
'提交成功'
)
window
.
opener
=
null
window
.
open
(
''
,
'_self'
,
''
)
window
.
close
()
}
}
...
...
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