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

新增字段

parent 2c9b7871
......@@ -14,7 +14,7 @@
<script>
import wlsx from 'common/src/mixin/wlphsx.js'
import wlphsx from 'common/src/mixin/wlphsx.js'
export default {
mixins:[wlsx,wlphsx],
data() {
......@@ -65,7 +65,7 @@
width: 100,
},
{
title: "领料数量",
title: "应出数量",
field: "yfsl",
width: 100,
},
......@@ -79,11 +79,46 @@
field: "zlh",
width: 120,
},
{
title: "库位",
field: "kwName",
width: 100,
},
{
title: "已出数量",
field: "ycsl",
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: "备注",
field: "bz",
......
......@@ -163,21 +163,18 @@
}
},
{
label: '领料人',
prop: 'llrid',
span: 12,
label: '货主',
prop: 'hzid',
span: 8,
"required": true,
type: 'AuxInput',
typeConfig: {
code: 'USER',
label: 'llrName',
transform: {
value: 'id',
label: 'username'
type: 'RelSelect',
"typeConfig": {
"src": "jcsj/common/hz/query",
"match": {
"value": "id",
"label": "name"
}
},
}
},
{
label: '备注',
......@@ -208,9 +205,8 @@
field: "gg",
width: 140
},
{
title: "领料数量",
title: "应出数量",
field: "yfsl",
allowEdit: true,
type: 'inputNumber',
......
......@@ -45,8 +45,8 @@
fieldType: 'ftDate'
},
{
title: "领料人",
field: "llrName",
title: "货主",
field: "hzName",
width: 140
},
{
......@@ -156,6 +156,12 @@
typeConfig: {
src: 'wms/ckgl/llck/init/swlx'
}
},
{
label: '货主',
prop: 'hzName',
span: 6,
type: 'input',
}
]
],
......
......@@ -74,13 +74,8 @@
width: 100,
},
{
title: "出库数量",
field: "rksl",
width: 100,
},
{
title: "过账数量",
field: "cksl",
title: "已出库数量",
field: "ycksl",
width: 100,
},
{
......@@ -92,6 +87,31 @@
"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: [],
......
......@@ -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: '备注',
prop: 'bz',
span: 24,
span: 16,
type: 'input',
},
......
......@@ -66,6 +66,11 @@
field: "swlxName",
width: 140
},
{
title: "货主",
field: "hzName",
width: 140
},
{
title: "单据来源",
field: "djly",
......
......@@ -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: '单据编号',
prop: 'djid',
......
......@@ -78,11 +78,51 @@
field: "zlh",
width: 120,
},
{
title: "备注",
field: "bz",
width: 200
}
{
title: "码盘数量",
field: "mpsl",
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: [],
......
......@@ -80,11 +80,11 @@
"value": "id"
}
},
{
title: "来源单据号",
field: "lydjDjid",
width: 140
},
// {
// title: "来源单据号",
// field: "lydjDjid",
// width: 140
// },
{
title: "备注",
field: "bz",
......
<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>
......@@ -43,40 +43,64 @@
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 140
},
title: "物料名称",
field: "wlxxName",
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: "物料规格",
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: "zt",
width: 100,
"transform": {
"url": "wms/rkgl/sjtz/init/zt",
"label": "name",
"value": "id"
}
}
],
queryParams: [],
......@@ -85,13 +109,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('请选中一条数据')
}
}
......
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