Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-vue
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
李苏
lxyl-vue
Commits
1b6334bb
Commit
1b6334bb
authored
Apr 12, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整接口位置
parent
14fe8ae6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
103 additions
and
96 deletions
+103
-96
mx.vue
src/views/ccgl/ckgl/jhd/mx.vue
+49
-0
index.vue
src/views/ccgl/ckgl/jhd/top/index.vue
+1
-48
mx.vue
src/views/ccgl/rkgl/sjrw/mx.vue
+53
-0
index.vue
src/views/ccgl/rkgl/sjrw/top/index.vue
+0
-48
No files found.
src/views/ccgl/ckgl/jhd/mx.vue
View file @
1b6334bb
...
@@ -7,6 +7,8 @@
...
@@ -7,6 +7,8 @@
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<el-button
@
click=
"tzqd(ctx.basePage)"
size=
'mini'
type=
"primary"
>
调整清单
</el-button>
<el-button
@
click=
"tzqd(ctx.basePage)"
size=
'mini'
type=
"primary"
>
调整清单
</el-button>
<el-button
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"qxgb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消关闭
</el-button>
</
template
>
</
template
>
</BasePage>
</BasePage>
...
@@ -103,6 +105,53 @@
...
@@ -103,6 +105,53 @@
},
},
methods
:
{
methods
:
{
gb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$prompt
(
'请输入原因'
,
''
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
this
.
$post
(
'wms/ckgl/jhtz/close/jhtzmx'
,
{
id
:
ctx
.
singleItem
.
id
,
gbyy
:
value
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
}
else
{
this
.
$warning
(
'请输入关闭原因'
)
}
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
qxgb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'wms/ckgl/jhtz/unclose/jhtzmx'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
getRow
(
val
){
getRow
(
val
){
this
.
$emit
(
'getRow'
,
val
)
this
.
$emit
(
'getRow'
,
val
)
},
},
...
...
src/views/ccgl/ckgl/jhd/top/index.vue
View file @
1b6334bb
...
@@ -5,8 +5,7 @@
...
@@ -5,8 +5,7 @@
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<el-button
@
click=
"jhtj(ctx.basePage)"
size=
'mini'
type=
"primary"
>
拣货推荐
</el-button>
<el-button
@
click=
"jhtj(ctx.basePage)"
size=
'mini'
type=
"primary"
>
拣货推荐
</el-button>
<el-button
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"qxgb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消关闭
</el-button>
<!--
<ImportButton
@
success=
"()=>
{
<!--
<ImportButton
@
success=
"()=>
{
ctx.basePage.refresh()
ctx.basePage.refresh()
}" :url="'wms/ckgl/jhtz/import'" /> -->
}" :url="'wms/ckgl/jhtz/import'" /> -->
...
@@ -208,53 +207,7 @@
...
@@ -208,53 +207,7 @@
},
},
methods
:
{
methods
:
{
gb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$prompt
(
'请输入原因'
,
''
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
this
.
$post
(
'wms/ckgl/jhtz/close/jhtzmx'
,
{
id
:
ctx
.
singleItem
.
id
,
gbyy
:
value
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
}
else
{
this
.
$warning
(
'请输入关闭原因'
)
}
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
qxgb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'wms/ckgl/jhtz/unclose/jhtzmx'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
jhtj
(
ctx
)
{
jhtj
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
...
...
src/views/ccgl/rkgl/sjrw/mx.vue
View file @
1b6334bb
...
@@ -5,6 +5,13 @@
...
@@ -5,6 +5,13 @@
<template
slot=
"tabCustom2"
>
<template
slot=
"tabCustom2"
>
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<el-button
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"qxgb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消关闭
</el-button>
<!--
<ImportButton
@
success=
"()=>
{
ctx.basePage.refresh()
}" :url="'/wms/rkgl/rktz/import'" /> -->
</
template
>
</BasePage>
</BasePage>
...
@@ -121,7 +128,53 @@
...
@@ -121,7 +128,53 @@
},
},
methods
:
{
methods
:
{
gb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$prompt
(
'请输入原因'
,
''
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
this
.
$post
(
'wms/rkgl/sjtz/close/sjtzmx'
,
{
id
:
ctx
.
singleItem
.
id
,
gbyy
:
value
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
}
else
{
this
.
$warning
(
'请输入关闭原因'
)
}
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
qxgb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'wms/rkgl/sjtz/unclose/sjtzmx'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
getRow
(
val
)
{
getRow
(
val
)
{
this
.
$emit
(
'getRow'
,
val
)
this
.
$emit
(
'getRow'
,
val
)
},
},
...
...
src/views/ccgl/rkgl/sjrw/top/index.vue
View file @
1b6334bb
...
@@ -6,8 +6,6 @@
...
@@ -6,8 +6,6 @@
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<el-button
@
click=
"tjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
推荐库位
</el-button>
<el-button
@
click=
"tjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
推荐库位
</el-button>
<el-button
@
click=
"qktjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
清空推荐库位
</el-button>
<el-button
@
click=
"qktjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
清空推荐库位
</el-button>
<el-button
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"qxgb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消关闭
</el-button>
<!--
<ImportButton
@
success=
"()=>
{
<!--
<ImportButton
@
success=
"()=>
{
ctx.basePage.refresh()
ctx.basePage.refresh()
}" :url="'/wms/rkgl/rktz/import'" /> -->
}" :url="'/wms/rkgl/rktz/import'" /> -->
...
@@ -189,53 +187,7 @@
...
@@ -189,53 +187,7 @@
},
},
methods
:
{
methods
:
{
gb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$prompt
(
'请输入原因'
,
''
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
this
.
$post
(
'wms/rkgl/sjtz/close/sjtzmx'
,
{
id
:
ctx
.
singleItem
.
id
,
gbyy
:
value
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
}
else
{
this
.
$warning
(
'请输入关闭原因'
)
}
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
qxgb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'wms/rkgl/sjtz/unclose/sjtzmx'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
qktjkw
(
ctx
)
{
qktjkw
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续该操作?'
,
'提示'
,
{
this
.
$confirm
(
'是否继续该操作?'
,
'提示'
,
{
...
...
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