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

改成正式接口

parent 0185e789
...@@ -232,9 +232,9 @@ ...@@ -232,9 +232,9 @@
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(res => { }).then(res => {
this.$post('wms/jcsj/kw/freeze', { this.$post('wms/jcsj/kw/batchFreeze',
ids:ctx.$refs.TablePager.selectedList.map(item=>item.id) ctx.$refs.TablePager.selectedList.map(item=>item.id)
}).then(res => { ).then(res => {
if (res.success) { if (res.success) {
this.$success('操作成功') this.$success('操作成功')
ctx.refreshId(ctx.singleItem.id) ctx.refreshId(ctx.singleItem.id)
...@@ -253,9 +253,9 @@ ...@@ -253,9 +253,9 @@
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(res => { }).then(res => {
this.$post('wms/jcsj/kw/unfreeze', { this.$post('wms/jcsj/kw/batchUnfreeze',
ids:ctx.$refs.TablePager.selectedList.map(item=>item.id) ctx.$refs.TablePager.selectedList.map(item=>item.id)
}).then(res => { ).then(res => {
if (res.success) { if (res.success) {
this.$success('操作成功') this.$success('操作成功')
ctx.refreshId(ctx.singleItem.id) 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