Commit 6054451a authored by 李苏's avatar 李苏 💬

调整

parent dc4c1d9e
......@@ -9,8 +9,8 @@
<!-- <ImportButton @success="()=>{
ctx.basePage.refresh()
}" :url="'/lxyl/rkgl/tprk/import'" /> -->
<el-button style="margin-left: 0px;" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<!-- <el-button style="margin-left: 0px;" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button> -->
<!-- <el-button @click="sapgz(ctx.basePage)" size='mini' type="primary">SAP过账</el-button>
<el-button @click="tbshd(ctx.basePage)" size='mini' type="primary">同步送货单</el-button> -->
<!-- <el-button @click="qktjkw(ctx.basePage)" size='mini' type="primary">清空推荐库位</el-button> -->
......
......@@ -195,13 +195,19 @@
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
ctx.$ref.TablePager.loading=true
this.$post('xyl/wcs/wcsTask/start', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.$ref.TablePager.loading=false
ctx.refresh()
}
}).finally(res=>{
ctx.$ref.TablePager.loading=false
})
})
} else {
......@@ -215,13 +221,17 @@
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
ctx.$ref.TablePager.loading=true
this.$post('lxyl/wcs/wcsTask/close', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.$ref.TablePager.loading=false
ctx.refresh()
}
}).finally(res=>{
ctx.$ref.TablePager.loading=false
})
})
} else {
......@@ -235,13 +245,17 @@
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
ctx.$ref.TablePager.loading=true
this.$post('lxyl/wcs/wcsTask/complete', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.$ref.TablePager.loading=false
ctx.refresh()
}
}).finally(res=>{
ctx.$ref.TablePager.loading=false
})
})
} else {
......
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