Commit 6d188609 authored by 李苏's avatar 李苏 💬

新增字段

parent 2c9b7871
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<script> <script>
import wlsx from 'common/src/mixin/wlphsx.js' import wlsx from 'common/src/mixin/wlphsx.js'
import wlphsx from 'common/src/mixin/wlphsx.js' import wlphsx from 'common/src/mixin/wlphsx.js'
export default { export default {
mixins:[wlsx,wlphsx], mixins:[wlsx,wlphsx],
data() { data() {
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
width: 100, width: 100,
}, },
{ {
title: "领料数量", title: "应出数量",
field: "yfsl", field: "yfsl",
width: 100, width: 100,
}, },
...@@ -79,11 +79,46 @@ ...@@ -79,11 +79,46 @@
field: "zlh", field: "zlh",
width: 120, width: 120,
}, },
{ {
title: "库位", title: "已出数量",
field: "kwName", field: "ycsl",
width: 100, width: 100,
}, },
{
title: "过账数量",
field: "gzsl",
width: 100,
},
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/rkgl/sjtz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "来源单号",
field: "lydjid",
width: 120,
},
{
title: "关闭人",
field: "gbr",
width: 120,
},
{
title: "关闭原因",
field: "gbyy",
width: 200,
},
{
title: "关闭时间",
field: "gbsj",
fieldType: 'ftDateTime'
},
{ {
title: "备注", title: "备注",
field: "bz", field: "bz",
......
...@@ -163,21 +163,18 @@ ...@@ -163,21 +163,18 @@
} }
}, },
{ {
label: '领料人', label: '货主',
prop: 'llrid', prop: 'hzid',
span: 12, span: 8,
"required": true, "required": true,
type: 'AuxInput', type: 'RelSelect',
typeConfig: { "typeConfig": {
code: 'USER', "src": "jcsj/common/hz/query",
label: 'llrName', "match": {
transform: { "value": "id",
value: 'id', "label": "name"
label: 'username'
} }
}
},
}, },
{ {
label: '备注', label: '备注',
...@@ -208,9 +205,8 @@ ...@@ -208,9 +205,8 @@
field: "gg", field: "gg",
width: 140 width: 140
}, },
{ {
title: "领料数量", title: "应出数量",
field: "yfsl", field: "yfsl",
allowEdit: true, allowEdit: true,
type: 'inputNumber', type: 'inputNumber',
......
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
fieldType: 'ftDate' fieldType: 'ftDate'
}, },
{ {
title: "领料人", title: "货主",
field: "llrName", field: "hzName",
width: 140 width: 140
}, },
{ {
...@@ -156,6 +156,12 @@ ...@@ -156,6 +156,12 @@
typeConfig: { typeConfig: {
src: 'wms/ckgl/llck/init/swlx' src: 'wms/ckgl/llck/init/swlx'
} }
},
{
label: '货主',
prop: 'hzName',
span: 6,
type: 'input',
} }
] ]
], ],
......
...@@ -74,13 +74,8 @@ ...@@ -74,13 +74,8 @@
width: 100, width: 100,
}, },
{ {
title: "出库数量", title: "已出库数量",
field: "rksl", field: "ycksl",
width: 100,
},
{
title: "过账数量",
field: "cksl",
width: 100, width: 100,
}, },
{ {
...@@ -92,6 +87,31 @@ ...@@ -92,6 +87,31 @@
"label": "name", "label": "name",
"value": "id" "value": "id"
} }
},
{
title: "来源单号",
field: "lydjid",
width: 120,
},
{
title: "关闭人",
field: "gbr",
width: 120,
},
{
title: "关闭原因",
field: "gbyy",
width: 200,
},
{
title: "关闭时间",
field: "gbsj",
fieldType: 'ftDateTime'
},
{
title: "备注",
field: "bz",
width: 200
} }
], ],
queryParams: [], queryParams: [],
......
...@@ -141,10 +141,25 @@ ...@@ -141,10 +141,25 @@
} }
} }
}, },
{
label: '货主',
prop: 'hzid',
span: 8,
"required": true,
type: 'RelSelect',
"typeConfig": {
"src": "jcsj/common/hz/query",
"match": {
"value": "id",
"label": "name"
}
}
},
{ {
label: '备注', label: '备注',
prop: 'bz', prop: 'bz',
span: 24, span: 16,
type: 'input', type: 'input',
}, },
......
...@@ -66,6 +66,11 @@ ...@@ -66,6 +66,11 @@
field: "swlxName", field: "swlxName",
width: 140 width: 140
}, },
{
title: "货主",
field: "hzName",
width: 140
},
{ {
title: "单据来源", title: "单据来源",
field: "djly", field: "djly",
......
...@@ -119,6 +119,22 @@ ...@@ -119,6 +119,22 @@
} }
} }
}, },
{
"label": "库区",
"prop": "kqid",
"span": 6,
"type": "RelSelect",
"value": "",
"typeConfig": {
linkParams:['ckid'],
linkage:true,
"src": "wms/jcsj/kq/query",
"match": {
"value": "id",
"label": "name"
}
}
},
{ {
label: '单据编号', label: '单据编号',
prop: 'djid', prop: 'djid',
......
...@@ -78,11 +78,51 @@ ...@@ -78,11 +78,51 @@
field: "zlh", field: "zlh",
width: 120, width: 120,
}, },
{ {
title: "备注", title: "码盘数量",
field: "bz", field: "mpsl",
width: 200 width: 120,
} },
{
title: "过账数量",
field: "gzsl",
width: 120,
},
{
title: "状态",
field: "zt",
width: 120,
"transform": {
"url": "wms/rkgl/rktz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "来源单号",
field: "lydjid",
width: 120,
},
{
title: "关闭人",
field: "gbr",
width: 120,
},
{
title: "关闭原因",
field: "gbyy",
width: 200,
},
{
title: "关闭时间",
field: "gbsj",
fieldType: 'ftDateTime'
},
{
title: "备注",
field: "bz",
width: 200
}
], ],
queryParams: [], queryParams: [],
......
...@@ -80,11 +80,11 @@ ...@@ -80,11 +80,11 @@
"value": "id" "value": "id"
} }
}, },
{ // {
title: "来源单据号", // title: "来源单据号",
field: "lydjDjid", // field: "lydjDjid",
width: 140 // width: 140
}, // },
{ {
title: "备注", title: "备注",
field: "bz", field: "bz",
......
<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>
...@@ -43,40 +43,64 @@ ...@@ -43,40 +43,64 @@
width: 140 width: 140
}, },
{ {
title: "物料名称", title: "物料名称",
field: "wlxxName", field: "wlxxName",
width: 140 width: 140
}, },
{
title: "物料规格",
field: "wlxxGg",
width: 140
},
{
title: "制令号",
field: "zlh",
width: 120,
},
{
title: "物料批号",
field: "wlph",
width: 140
},
{
title: "应收数量",
field: "yssl",
width: 100,
},
{
title: "唯一码",
field: "packCode",
width: 240,
},
{
title: "容器",
field: "rqCode",
width: 100,
},
{
title: "上架数量",
field: "sjsl",
width: 100,
},
{
title: "入库数量",
field: "rksl",
width: 100,
}, {
title: "过账数量",
field: "gzsl",
width: 100,
},
{ {
title: "物料规格", title: "状态",
field: "wlxxGg", field: "zt",
width: 140 width: 100,
}, "transform": {
{ "url": "wms/rkgl/sjtz/init/zt",
title: "制令号", "label": "name",
field: "zlh", "value": "id"
width: 120, }
}, }
{
title: "物料批号",
field: "wlph",
width: 140
},
{
title: "应收数量",
field: "yssl",
width: 100,
},
{
title: "唯一码",
field: "packCode",
width: 240,
},
{
title: "容器",
field: "rqCode",
width: 100,
},
], ],
queryParams: [], queryParams: [],
...@@ -85,13 +109,13 @@ ...@@ -85,13 +109,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('请选中一条数据')
} }
} }
......
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