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

调整

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