Commit 58f1928e authored by 李苏's avatar 李苏 💬

change some field setting and add CKQD

parent 75d0bedc
...@@ -38,59 +38,73 @@ ...@@ -38,59 +38,73 @@
}, },
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'wms/rkgl/dbrk', url: 'wms/ckgl/dbck/wms/ckgl/dbck',
queryUrl: 'wms/rkgl/dbrk/query/dbrkqd', queryUrl:'wms/ckgl/dbck/wms/ckgl/dbck',
tableTitle: [{ tableTitle: [
title: "物料编码",
field: "wlcode",
fieldType: "upper",
width: 140
},
{ {
title: "物料名称", title: "库位",
field: "wlmc", field: "kwcode",
width: 140 width: 100,
}, },
{ {
title: "物料规格", title: "库位名称",
field: "gg", field: "wlxxName",
width: 140 width: 120,
}, },
{
title: "物料编码",
field: "wlxxCode",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 160
},
{ {
title: "制令号", title: "物料批号",
field: "zlh", field: "wlph",
width: 180, width: 140,
}, },
{
title: "规格",
field: "wlxxGg",
width: 140
},
{ {
title: "物料批号", title: "货主",
field: "wlph", field: "hzName",
width: 180 width: 180,
}, },
{ {
title: "应收数量", title: "制令号",
field: "yssl", field: "zlh",
width: 100, width: 180,
}, },
{ {
title: "唯一码", title: "库存数量",
field: "packCode", field: "kcsl",
width: 240, width: 180,
fieldType:'float'
}, },
{ {
title: "容器", title: "库位",
field: "rqCode", field: "kwName",
width: 100, width: 240,
},
{ },
title: "状态", {
field: "zt", title: "容器",
width: 100, field: "rqCode",
"transform": { width: 160,
"url": "wms/rkgl/dbrk/init/zt",
"label": "name", },
"value": "id" {
} title: "唯一码",
} field: "packid",
width: 180,
}
], ],
queryParams: [], queryParams: [],
......
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
<div class="bottom flex"> <div class="bottom flex">
<div class="full" > <div class="full" >
<el-tabs class="full" v-model="activeName" > <el-tabs class="full" v-model="activeName" >
<el-tab-pane class="full" label="出库明细" name="first"> <el-tab-pane class="full" label="出库明细" name="first">
<ckdmx @getRow='ckdmxGetRow' ref="ckdmx" class="full" /> <ckdmx @getRow='ckdmxGetRow' ref="ckdmx" class="full" />
</el-tab-pane> </el-tab-pane>
<!-- <el-tab-pane class="full" label="入库清单" name="second"> <el-tab-pane class="full" label="出库清单" name="second">
<Rkqd ref="rkqd" class="full" /> <ckqd ref="ckqd" class="full" />
</el-tab-pane> --> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
...@@ -26,10 +26,10 @@ ...@@ -26,10 +26,10 @@
<script> <script>
import Top from './top/index.vue' import Top from './top/index.vue'
import ckdmx from './ckdmx.vue' import ckdmx from './ckdmx.vue'
import Rkqd from './rkqd.vue' import ckqd from './ckqd.vue'
export default { export default {
components: { components: {
Top,ckdmx,Rkqd Top,ckdmx,ckqd
// Left // Left
}, },
data(){ data(){
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
this.$refs.ckdmx.$refs.basePage.$refs['TablePager'].pageQuery({ this.$refs.ckdmx.$refs.basePage.$refs['TablePager'].pageQuery({
setFirstCurrent: true setFirstCurrent: true
}) })
// this.$refs.rkqd.$refs.basePage.queryParams.mid = mid this.$refs.ckqd.$refs.basePage.queryParams.mid = mid
// this.$refs.rkqd.$refs.basePage.$refs['TablePager'].pageQuery() this.$refs.ckqd.$refs.basePage.$refs['TablePager'].pageQuery()
}, },
ckdmxGetRow(row){ ckdmxGetRow(row){
let mid = row.id let mid = row.id
......
...@@ -254,6 +254,7 @@ ...@@ -254,6 +254,7 @@
title: "物料批号", title: "物料批号",
field: "wlph", field: "wlph",
type: 'inputText', type: 'inputText',
allowEdit: false,
width: 180, width: 180,
}, },
{ {
......
...@@ -228,6 +228,8 @@ ...@@ -228,6 +228,8 @@
title: "出库数量", title: "出库数量",
field: "cksl", field: "cksl",
width: 200, width: 200,
allowEdit: false,
type: 'inputNumber',
}, },
{ {
title: "物料批号", title: "物料批号",
......
...@@ -58,13 +58,11 @@ ...@@ -58,13 +58,11 @@
title: "库位", title: "库位",
field: "kwcode", field: "kwcode",
width: 100, width: 100,
hidden: !JSON.parse(localStorage.getItem('iskwgl'))
}, },
{ {
title: "库位名称", title: "库位名称",
field: "wlxxName", field: "wlxxName",
width: 120, width: 120,
hidden: !JSON.parse(localStorage.getItem('isKwgl'))
}, },
{ {
title: "物料编码", title: "物料编码",
...@@ -100,6 +98,7 @@ ...@@ -100,6 +98,7 @@
title: "库存数量", title: "库存数量",
field: "kcsl", field: "kcsl",
width: 180, width: 180,
fieldType:'float'
}, },
{ {
title: "库位", title: "库位",
...@@ -116,7 +115,7 @@ ...@@ -116,7 +115,7 @@
{ {
title: "唯一码", title: "唯一码",
field: "packid", field: "packid",
width: 160, width: 180,
}, },
......
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