Commit 90d9b126 authored by 李苏's avatar 李苏 💬

改成正式接口

parent 0185e789
......@@ -232,9 +232,9 @@
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post('wms/jcsj/kw/freeze', {
ids:ctx.$refs.TablePager.selectedList.map(item=>item.id)
}).then(res => {
this.$post('wms/jcsj/kw/batchFreeze',
ctx.$refs.TablePager.selectedList.map(item=>item.id)
).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refreshId(ctx.singleItem.id)
......@@ -253,9 +253,9 @@
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post('wms/jcsj/kw/unfreeze', {
ids:ctx.$refs.TablePager.selectedList.map(item=>item.id)
}).then(res => {
this.$post('wms/jcsj/kw/batchUnfreeze',
ctx.$refs.TablePager.selectedList.map(item=>item.id)
).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refreshId(ctx.singleItem.id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment