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

Adjust the order of fields

parent 58f1928e
<template>
<BasePage @getRow='getRow' ref="basePage" :power='power' :toolButton='false' class="min_full" style="height: 100%;border-top: 0px;" :autoQuery='false'
:config="config">
<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>
......@@ -13,7 +13,6 @@
</template>
<script>
export default {
mounted() {
......@@ -39,72 +38,80 @@
config: {
/* 基本配置*/
url: 'wms/ckgl/dbck/wms/ckgl/dbck',
queryUrl:'wms/ckgl/dbck/wms/ckgl/dbck',
tableTitle: [
queryUrl: 'wms/ckgl/dbck/wms/ckgl/dbck',
tableTitle: [{
title: "库位",
field: "kwcode",
width: 100,
},
{
title: "容器",
field: "rqCode",
width: 160,
},
{
title: "唯一码",
field: "packid",
width: 180,
},
{
title: "物料编码",
field: "wlxxCode",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 160
},
{
title: "规格",
field: "wlxxGg",
width: 140
},
{
title: "计量单位",
field: "jldwName",
width: 140
},
{
title: "物料批号",
field: "wlph",
width: 140,
},
{
title: "库位",
field: "kwcode",
width: 100,
},
{
title: "库位名称",
field: "wlxxName",
width: 120,
},
{
title: "物料编码",
field: "wlxxCode",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 160
},
{
title: "物料批号",
field: "wlph",
width: 140,
},
{
title: "规格",
field: "wlxxGg",
width: 140
},
{
title: "货主",
field: "hzName",
width: 180,
},
{
title: "制令号",
field: "zlh",
width: 180,
},
{
title: "库存数量",
field: "kcsl",
width: 180,
fieldType:'float'
},
{
title: "库位",
field: "kwName",
width: 240,
},
{
title: "容器",
field: "rqCode",
width: 160,
},
{
title: "唯一码",
field: "packid",
width: 180,
}
title: "库位名称",
field: "wlxxName",
width: 120,
},
{
title: "制令号",
field: "zlh",
width: 180,
},
{
title: "库存数量",
field: "kcsl",
width: 180,
fieldType: 'float'
},
{
title: "货主",
field: "hzName",
width: 180,
},
{
title: "库位",
field: "kwName",
width: 240,
},
],
queryParams: [],
......@@ -113,13 +120,13 @@
},
methods: {
getRow(val){
this.$emit('getRow',val)
getRow(val) {
this.$emit('getRow', val)
},
demo(ctx){
if(ctx.singleItem&&ctx.singleItem.id){
demo(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
console.log(ctx.singleItem)
}else{
} else {
this.$warning('请选中一条数据')
}
}
......@@ -133,4 +140,4 @@
</script>
<style>
</style>
</style>
\ No newline at end of file
......@@ -55,69 +55,77 @@
url: 'wms/ckgl/dbck/query/kc',
queryUrl:'wms/ckgl/dbck/query/kc',
tableTitle: [{
title: "库位",
field: "kwcode",
width: 100,
},
{
title: "库位名称",
field: "wlxxName",
width: 120,
},
{
title: "物料编码",
field: "wlxxCode",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 160
},
{
title: "物料批号",
field: "wlph",
width: 140,
},
{
title: "规格",
field: "wlxxGg",
width: 140
},
{
title: "货主",
field: "hzName",
width: 180,
},
{
title: "制令号",
field: "zlh",
width: 180,
},
{
title: "库存数量",
field: "kcsl",
width: 180,
fieldType:'float'
},
{
title: "库位",
field: "kwName",
width: 240,
},
{
title: "容器",
field: "rqCode",
width: 160,
},
{
title: "唯一码",
field: "packid",
width: 180,
},
title: "库位",
field: "kwcode",
width: 100,
},
{
title: "容器",
field: "rqCode",
width: 160,
},
{
title: "唯一码",
field: "packid",
width: 180,
},
{
title: "物料编码",
field: "wlxxCode",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 160
},
{
title: "规格",
field: "wlxxGg",
width: 140
},
{
title: "计量单位",
field: "jldwName",
width: 140
},
{
title: "物料批号",
field: "wlph",
width: 140,
},
{
title: "库位名称",
field: "wlxxName",
width: 120,
},
{
title: "制令号",
field: "zlh",
width: 180,
},
{
title: "库存数量",
field: "kcsl",
width: 180,
fieldType: 'float'
},
{
title: "货主",
field: "hzName",
width: 180,
},
{
title: "库位",
field: "kwName",
width: 240,
},
],
queryParams: [
......
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