Commit e7bc8c64 authored by 李苏's avatar 李苏 💬

Adjust the order of fields

parent 58f1928e
<template> <template>
<BasePage @getRow='getRow' ref="basePage" :power='power' :toolButton='false' class="min_full" style="height: 100%;border-top: 0px;" :autoQuery='false' <BasePage @getRow='getRow' ref="basePage" :power='power' :toolButton='false' class="min_full"
:config="config"> style="height: 100%;border-top: 0px;" :autoQuery='false' :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
</template> </template>
<script> <script>
export default { export default {
mounted() { mounted() {
...@@ -39,17 +38,23 @@ ...@@ -39,17 +38,23 @@
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'wms/ckgl/dbck/wms/ckgl/dbck', url: 'wms/ckgl/dbck/wms/ckgl/dbck',
queryUrl:'wms/ckgl/dbck/wms/ckgl/dbck', queryUrl: 'wms/ckgl/dbck/wms/ckgl/dbck',
tableTitle: [ tableTitle: [{
{
title: "库位", title: "库位",
field: "kwcode", field: "kwcode",
width: 100, width: 100,
}, },
{ {
title: "库位名称", title: "容器",
field: "wlxxName", field: "rqCode",
width: 120, width: 160,
},
{
title: "唯一码",
field: "packid",
width: 180,
}, },
{ {
title: "物料编码", title: "物料编码",
...@@ -61,21 +66,27 @@ ...@@ -61,21 +66,27 @@
field: "wlxxName", field: "wlxxName",
width: 160 width: 160
}, },
{
title: "物料批号",
field: "wlph",
width: 140,
},
{ {
title: "规格", title: "规格",
field: "wlxxGg", field: "wlxxGg",
width: 140 width: 140
}, },
{ {
title: "货主", title: "计量单位",
field: "hzName", field: "jldwName",
width: 180, width: 140
}, },
{
title: "物料批号",
field: "wlph",
width: 140,
},
{
title: "库位名称",
field: "wlxxName",
width: 120,
},
{ {
title: "制令号", title: "制令号",
field: "zlh", field: "zlh",
...@@ -85,26 +96,22 @@ ...@@ -85,26 +96,22 @@
title: "库存数量", title: "库存数量",
field: "kcsl", field: "kcsl",
width: 180, width: 180,
fieldType:'float' fieldType: 'float'
},
{
title: "货主",
field: "hzName",
width: 180,
}, },
{ {
title: "库位", title: "库位",
field: "kwName", field: "kwName",
width: 240, width: 240,
}, },
{
title: "容器",
field: "rqCode",
width: 160,
},
{
title: "唯一码",
field: "packid",
width: 180,
}
], ],
queryParams: [], queryParams: [],
...@@ -113,13 +120,13 @@ ...@@ -113,13 +120,13 @@
}, },
methods: { methods: {
getRow(val){ getRow(val) {
this.$emit('getRow',val) this.$emit('getRow', val)
}, },
demo(ctx){ demo(ctx) {
if(ctx.singleItem&&ctx.singleItem.id){ if (ctx.singleItem && ctx.singleItem.id) {
console.log(ctx.singleItem) console.log(ctx.singleItem)
}else{ } else {
this.$warning('请选中一条数据') this.$warning('请选中一条数据')
} }
} }
......
...@@ -60,9 +60,16 @@ ...@@ -60,9 +60,16 @@
width: 100, width: 100,
}, },
{ {
title: "库位名称", title: "容器",
field: "wlxxName", field: "rqCode",
width: 120, width: 160,
},
{
title: "唯一码",
field: "packid",
width: 180,
}, },
{ {
title: "物料编码", title: "物料编码",
...@@ -74,21 +81,27 @@ ...@@ -74,21 +81,27 @@
field: "wlxxName", field: "wlxxName",
width: 160 width: 160
}, },
{
title: "物料批号",
field: "wlph",
width: 140,
},
{ {
title: "规格", title: "规格",
field: "wlxxGg", field: "wlxxGg",
width: 140 width: 140
}, },
{ {
title: "货主", title: "计量单位",
field: "hzName", field: "jldwName",
width: 180, width: 140
},
{
title: "物料批号",
field: "wlph",
width: 140,
}, },
{
title: "库位名称",
field: "wlxxName",
width: 120,
},
{ {
title: "制令号", title: "制令号",
field: "zlh", field: "zlh",
...@@ -98,24 +111,19 @@ ...@@ -98,24 +111,19 @@
title: "库存数量", title: "库存数量",
field: "kcsl", field: "kcsl",
width: 180, width: 180,
fieldType:'float' fieldType: 'float'
}, },
{ {
title: "库位", title: "货主",
field: "kwName", field: "hzName",
width: 240, width: 180,
}, },
{
title: "容器",
field: "rqCode",
width: 160,
},
{ {
title: "唯一码", title: "库位",
field: "packid", field: "kwName",
width: 180, width: 240,
}, },
......
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