Commit abb9df95 authored by 李苏's avatar 李苏 💬

改变接口

parent 7e6503cc
...@@ -159,26 +159,14 @@ ...@@ -159,26 +159,14 @@
}, },
qxgb(ctx) { qxgb(ctx) {
if (ctx.singleItem && ctx.singleItem.id) { if (ctx.singleItem && ctx.singleItem.id) {
this.$prompt('请输入取消关闭原因', '', { this.$post('wms/rkgl/sjtz/batchUnClose/sjtzmx', {
confirmButtonText: '确定', datas:[{
cancelButtonText: '取消', id: ctx.singleItem.id
}).then(({ }],
value }).then(res => {
}) => { if (res.success) {
if (value) { this.$success('操作成功')
this.$post('wms/rkgl/sjtz/batchUnClose/sjtzmx', { ctx.refresh()
datas:[{
id: ctx.singleItem.id
}],
gbyy:value
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refresh()
}
})
} else {
this.$warning('请输入取消关闭原因')
} }
}) })
......
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