Commit 5ea8927f authored by 李苏's avatar 李苏 💬

查询调整

parent 43f3721a
......@@ -181,7 +181,7 @@
item.show = true
}
})
},500)
},600)
......
......@@ -67,6 +67,7 @@
item.wlid = item.id
item.wlxxName = item.name
item.wlxxCode = item.code
item.wlxxGg = item.gg
item.xqsl = 0
item.xqrq = new Date().getTime()
delete item.id
......@@ -217,7 +218,7 @@
type: 'AuxInput',
typeConfig: {
"code": "MATERIAL",
"label": "wlcode",
"label": "wlxxCode",
"transform": {
"value": "code",
"label": "code"
......@@ -226,6 +227,7 @@
this.form.wlid = data.id
this.form.wlxxName = data.name
this.form.wlxxCode = data.code
this.form.wlxxGg = data.gg
}
......
......@@ -10,6 +10,7 @@
}" :url="'/lxyl/rkgl/rktz/import'" />
<el-button style="margin-left: 10px;" @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>
</template>
</BasePage>
......@@ -185,6 +186,26 @@
},
methods: {
sapgz(ctx){
if(ctx.singleItem&&ctx.singleItem.id){
this.$confirm('是否继续该操作?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res=>{
this.$post('lxyl/rkgl/rktz/sapgz',{
id:ctx.singleItem.id
}).then(res=>{
if(res.success){
this.$success('操作成功')
ctx.refresh()
}
})
})
}else{
this.$warning('请选中一条数据')
}
},
getRow(val){
this.$emit('getRow',val)
},
......
......@@ -4,7 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<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> -->
</template>
</BasePage>
</template>
......@@ -109,18 +109,7 @@
},
methods: {
sapgz(ctx){
if(ctx.singleItem&&ctx.singleItem.id){
this.$post('wms/rkgl/rkdj/sapgz',{
id:ctx.singleItem.id
}).then(res=>{
if(res.success){
this.$success('操作成功')
ctx.refresh()
}
})
}
}
/* 示例*/
// demo(basePage){
......
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