Commit 0354f20b authored by 李苏's avatar 李苏 💬

Add CKQD tag

parent 4ce86364
<template>
<BasePage @getRow='getRow' ref="basePage" :power='power' :toolButton='false' class="min_full"
style="height: 100%;border-top: 0px;" :autoQuery='false' :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
</template>
</BasePage>
</template>
<script>
export default {
mounted() {
},
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: {
/* 基本配置*/
url: 'wms/ckgl/cktz/query/cktzqd',
queryUrl: 'wms/ckgl/cktz/query/cktzqd',
tableTitle: [
{
title: "库位",
field: "kwName",
width: 100,
},
{
title: "容器",
field: "rqCode",
width: 160,
},
{
title: "唯一码",
field: "packCode",
width: 180,
},
{
title: "物料编码",
field: "wlxxCode",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 160
},
{
title: "规格",
field: "wlxxGg",
width: 140
},
{
title: "计量单位",
field: "jldwName",
width: 80
},
{
title: "物料批号",
field: "wlph",
width: 140,
},
{
title: "制令号",
field: "zlh",
width: 180,
},
{
title: "调拨数量",
field: "bcsl",
width: 120,
fieldType: 'float'
},
{
title: "货主",
field: "hzName",
width: 180,
},
],
queryParams: [],
}
}
},
methods: {
getRow(val) {
this.$emit('getRow', val)
},
demo(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
console.log(ctx.singleItem)
} else {
this.$warning('请选中一条数据')
}
}
},
components: {
}
}
</script>
<style>
</style>
......@@ -11,6 +11,9 @@
<el-tab-pane class="full" label="出库单明细" name="first">
<Mx ref="mx" class="full" />
</el-tab-pane>
<el-tab-pane class="full" label="出库清单" name="second">
<ckqd ref="ckqd" class="full" />
</el-tab-pane>
</el-tabs>
......@@ -24,10 +27,12 @@
<script>
import Top from './top/index.vue'
import Mx from './mx.vue'
import ckqd from './ckqd.vue'
export default {
components: {
Top,
Mx,
ckqd
},
data(){
......@@ -43,6 +48,8 @@
this.$refs.mx.$refs.basePage.$refs['TablePager'].pageQuery({
setFirstCurrent: true
})
this.$refs.ckqd.$refs.basePage.queryParams.mid = mid
this.$refs.ckqd.$refs.basePage.$refs['TablePager'].pageQuery()
},
......
<template>
<RelDialog bigTitle detailTable='LLCKMX' @getFormDetail='getFormDetail' width="70%" :type='type' :editApp='editApp'
<RelDialog bigTitle detailTable='CKTZQD' @getFormDetail='getFormDetail' width="70%" :type='type' :editApp='editApp'
:app='app' :buttonApp='buttonApp'>
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<Kc @save='kcSave' v-if="showDialog" :app='this' />
......
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