Commit b65abb0d authored by 周毅's avatar 周毅

调拨出库单的明细去除删除按钮

parent c23cec12
...@@ -32,11 +32,11 @@ ...@@ -32,11 +32,11 @@
add: false, add: false,
copy: false, copy: false,
/* 手动控制删除 */ /* 手动控制删除 */
delButton: true, delButton: false,
/* 手动控制编辑按钮权限 */ /* 手动控制编辑按钮权限 */
editButton: false, editButton: false,
/* 是否渲染右侧操作按钮 */ /* 是否渲染右侧操作按钮 */
operateButtons: true, operateButtons: false,
/* 是否开启工作流按钮 */ /* 是否开启工作流按钮 */
workFlow: false, workFlow: false,
/* 表格开启选择,以及记住选择 */ /* 表格开启选择,以及记住选择 */
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<el-button v-if="ctx.basePage.powerObj['23']" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button> <el-button v-if="ctx.basePage.powerObj['23']" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button v-if="ctx.basePage.powerObj['23']" @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button> <el-button v-if="ctx.basePage.powerObj['23']" @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button v-if="ctx.basePage.powerObj['24']" @click="kgcdbtb(ctx.basePage)" size='mini' type="primary">跨工厂调拨同步</el-button> <el-button v-if="ctx.basePage.powerObj['24']" @click="kgcdbtb(ctx.basePage)" size='mini' type="primary">跨工厂调拨同步</el-button>
<el-button v-if="ctx.basePage.powerObj['25']" @click="genDbrk(ctx.basePage)" size='mini' type="primary">生成调拨入库单</el-button>
</template> </template>
</BasePage> </BasePage>
...@@ -310,7 +311,27 @@ ...@@ -310,7 +311,27 @@
/* 示例*/ /* 示例*/
getRow(val) { getRow(val) {
this.$emit('getRow', val) this.$emit('getRow', val)
},
genDbrk(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm('是否生成调拨入库单?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$post('lxyl/ckgl/dbck/genDbrk', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('生成调拨入库单成功')
ctx.refresh()
} }
})
})
} else {
this.$warning('请选中一条数据')
}
},
}, },
components: { components: {
Edit, Edit,
......
...@@ -77,7 +77,11 @@ ...@@ -77,7 +77,11 @@
field: "zlh", field: "zlh",
width: 180 width: 180
}, },
{
title: "唯一码(新)",
field: "npackid",
width: 180
}
], ],
queryParams: [], queryParams: [],
......
...@@ -68,6 +68,12 @@ ...@@ -68,6 +68,12 @@
"value": "id" "value": "id"
} }
}, },
{
title: "库位",
field: "kwCode",
width: 120,
},
{ {
title: "容器", title: "容器",
field: "rqCode", field: "rqCode",
...@@ -109,12 +115,6 @@ ...@@ -109,12 +115,6 @@
field: "zlh", field: "zlh",
width: 180, width: 180,
},
{
title: "库位",
field: "kwCode",
width: 120,
}, },
{ {
title: "盘存数量", title: "盘存数量",
......
...@@ -97,6 +97,11 @@ ...@@ -97,6 +97,11 @@
field: "yssl", field: "yssl",
fieldType:"float" fieldType:"float"
}, },
{
title: "包装数量",
field: "zbsl",
fieldType:"float"
},
{ {
title: "入库数量", title: "入库数量",
field: "rksl", field: "rksl",
......
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