Commit 8318b1b4 authored by 李苏's avatar 李苏 💬

调整

parent f2c147b2
...@@ -323,35 +323,6 @@ ...@@ -323,35 +323,6 @@
this.$warning('请至少勾选一条数据') this.$warning('请至少勾选一条数据')
} }
return
if (ctx.singleItem && ctx.singleItem.id) {
this.$prompt('请输入原因', '', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(({
value
}) => {
if (value) {
this.$post('lxyl/ckgl/usofh/close', {
id: ctx.singleItem.id,
gbyy: value
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refresh()
}
})
} else {
this.$warning('请输入原因')
}
})
} else {
this.$warning('请选中一条数据')
}
}, },
tbjhd(ctx) { tbjhd(ctx) {
ctx.DialogTitle = '同步交货单' ctx.DialogTitle = '同步交货单'
......
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