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

改变接口

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