Commit 4df5df1d authored by 李苏's avatar 李苏 💬

adust width of kcpd/edit/detailTable/

parent d5f9de7d
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
let {list} = obj let {list} = obj
let newList=this.mxfilter(list) let newList=this.mxfilter(list)
newList.forEach(item=>{ newList.forEach(item=>{
item.xqsl = 0 item.yssl =item.sl
item.xqrq = new Date().getTime() item.xqrq = new Date().getTime()
item.lydjid = item.id item.lydjid = item.id
delete item.id delete item.id
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
let {list} = obj let {list} = obj
let newList=this.mxfilter(list) let newList=this.mxfilter(list)
newList.forEach(item=>{ newList.forEach(item=>{
item.xqsl = 0 item.yssl = item.packmxSl
item.xqrq = new Date().getTime() item.xqrq = new Date().getTime()
item.lydjid = item.id item.lydjid = item.id
delete item.id delete item.id
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
"value": "", "value": "",
readonly: true, readonly: true,
"typeConfig": { "typeConfig": {
"src": "lxyl/rkgl/rktz/init/zt", "src": "wms/rkgl/cskc/init/zt",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
"value": "", "value": "",
"required": true, "required": true,
"typeConfig": { "typeConfig": {
"src": "lxyl/rkgl/rktz/init/swlx", "src": "wms/rkgl/cskc/init/swlx",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
...@@ -310,22 +310,7 @@ ...@@ -310,22 +310,7 @@
} }
} }
}, },
{
label: '货主',
prop: 'hzid',
span: 8,
type: 'AuxInput',
// required: true,
typeConfig: {
isRequest: true,
code: 'HZID',
label: 'hzName',
transform: {
value: 'id',
label: 'name'
}
}
},
{ {
label: '供应商', label: '供应商',
prop: 'gysid', prop: 'gysid',
...@@ -440,16 +425,16 @@ ...@@ -440,16 +425,16 @@
{ {
title: "数量", title: "数量",
field: "yssl", field: "yssl",
allowEdit: true, // allowEdit: true,
type: 'inputNumber', // type: 'inputNumber',
blur: toFixed(null), blur: toFixed(null),
}, },
{ // {
title: "已入库数量", // title: "已入库数量",
field: "rksl", // field: "rksl",
}, // },
{ {
title: "库位", title: "库位",
field: "kwid", field: "kwid",
......
...@@ -8,11 +8,7 @@ ...@@ -8,11 +8,7 @@
<ImportButton @success="()=>{ <ImportButton @success="()=>{
ctx.basePage.refresh() ctx.basePage.refresh()
}" :url="'/lxyl/rkgl/rktz/import'" /> }" :url="'/wms/rkgl/cskc/import'" />
<el-button style="margin-left: 10px;" @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<el-button @click="sapgz(ctx.basePage)" size='mini' type="primary">SAP过账</el-button>
<el-button @click="tbshd(ctx.basePage)" size='mini' type="primary">同步送货单</el-button>
<!-- <el-button @click="qktjkw(ctx.basePage)" size='mini' type="primary">清空推荐库位</el-button> --> <!-- <el-button @click="qktjkw(ctx.basePage)" size='mini' type="primary">清空推荐库位</el-button> -->
</template> </template>
...@@ -28,7 +24,7 @@ ...@@ -28,7 +24,7 @@
config: { config: {
queryDetail: true, queryDetail: true,
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/rkgl/rktz', url: 'wms/rkgl/cskc',
tableTitle: [{ tableTitle: [{
title: "状态", title: "状态",
field: "zt", field: "zt",
...@@ -36,7 +32,7 @@ ...@@ -36,7 +32,7 @@
align: 'center', align: 'center',
width: 80, width: 80,
"transform": { "transform": {
"url": "lxyl/rkgl/rktz/init/zt", "url": "wms/rkgl/cskc/init/zt",
"label": "name", "label": "name",
"value": "id" "value": "id"
} }
...@@ -51,16 +47,6 @@ ...@@ -51,16 +47,6 @@
field: "ywrq", field: "ywrq",
fieldType: 'ftDate' fieldType: 'ftDate'
}, },
// {
// title: "入库人",
// field: "rkr",
// width: 140
// },
{
title: "货主",
field: "hzName",
width: 140
},
{ {
title: "事务类型", title: "事务类型",
field: "swlxName", field: "swlxName",
...@@ -82,51 +68,13 @@ ...@@ -82,51 +68,13 @@
field: "ckName", field: "ckName",
width: 140 width: 140
}, },
{
title: "码盘状态",
field: "mpzt",
width: 100,
"transform": {
"url": "wms/rkgl/rktz/init/mpzt",
"label": "name",
"value": "id"
}
},
{
title: "包装状态",
field: "bzzt",
width: 100,
"transform": {
"url": "wms/rkgl/rktz/init/bzzt",
"label": "name",
"value": "id"
}
},
{
title: "过账状态",
field: "gzzt",
width: 100,
"transform": {
"url": "lxyl/common/init/gzzt",
"label": "name",
"value": "id"
}
},
{ {
title: "部门", title: "部门",
field: "bmName", field: "bmName",
width: 140 width: 140
}, },
{
title: "单据来源",
field: "djly",
width: 140,
"transform": {
"url": "lxyl/rkgl/rktz/init/djly",
"label": "name",
"value": "id"
}
},
// { // {
// title: "来源单据号", // title: "来源单据号",
// field: "lydjDjid", // field: "lydjDjid",
...@@ -188,7 +136,7 @@ ...@@ -188,7 +136,7 @@
span: 8, span: 8,
type: 'RelSelect', type: 'RelSelect',
typeConfig: { typeConfig: {
src: 'lxyl/rkgl/rktz/init/zt' src: 'wms/rkgl/cskc/init/zt'
} }
}, },
{ {
...@@ -197,7 +145,7 @@ ...@@ -197,7 +145,7 @@
span: 8, span: 8,
type: 'RelSelect', type: 'RelSelect',
typeConfig: { typeConfig: {
src: 'lxyl/rkgl/rktz/init/swlx' src: 'wms/rkgl/cskc/init/swlx'
} }
}, },
{ {
......
...@@ -113,15 +113,15 @@ ...@@ -113,15 +113,15 @@
width: 180 width: 180
}, },
{ {
title: "原包装数量", title: "数量",
field: "bzsl", field: "sl",
width: 140
},
{
title: "装包数量",
field: "zbsl",
width: 140 width: 140
}, },
// {
// title: "装包数量",
// field: "zbsl",
// width: 140
// },
], ],
queryParams: [ queryParams: [
[{ [{
......
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
}, },
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/ckgl/dbck/query/ukcjyqd', url: 'wms/rkgl/cskc/query/rqinfo',
queryUrl: 'lxyl/ckgl/dbck/query/ukcjyqd', queryUrl: 'wms/rkgl/cskc/query/rqinfo',
tableTitle: [ tableTitle: [
{ {
title: "容器", title: "容器",
......
...@@ -195,42 +195,42 @@ ...@@ -195,42 +195,42 @@
{ {
title: "冻结数量", title: "冻结数量",
field: "djsl", field: "djsl",
width: 200,
type: 'inputNumber', type: 'inputNumber',
allowEdit: false allowEdit: false
}, },
{ {
title: "盘存数量", title: "盘存数量",
field: "pcsl", field: "pcsl",
width: 200,
type: 'inputNumber', type: 'inputNumber',
allowEdit: true allowEdit: true
}, },
{ {
title: "库存数量", title: "库存数量",
field: "kcsl", field: "kcsl",
width: 200,
type: 'inputNumber', type: 'inputNumber',
allowEdit: false allowEdit: false
}, },
{ {
title: "盘盈数量", title: "盘盈数量",
field: "pysl", field: "pysl",
width: 200,
type: 'inputNumber', type: 'inputNumber',
allowEdit: false allowEdit: false
}, },
{ {
title: "盘盈数量", title: "盘盈数量",
field: "pysl", field: "pysl",
width: 200,
type: 'inputNumber', type: 'inputNumber',
allowEdit: false allowEdit: false
}, },
{ {
title: "盘亏数量", title: "盘亏数量",
field: "pksl", field: "pksl",
width: 200,
type: 'inputNumber', type: 'inputNumber',
allowEdit: false allowEdit: false
}, },
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
</template> </template>
<template #toolbar="ctx"> <template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button> <!-- <el-button @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button> <el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button> -->
<el-button @click="dj(ctx.basePage)" size='mini' type="primary">冻结</el-button> <el-button @click="dj(ctx.basePage)" size='mini' type="primary">冻结</el-button>
<el-button @click="qxdj(ctx.basePage)" size='mini' type="primary">取消冻结</el-button> <el-button @click="qxdj(ctx.basePage)" size='mini' type="primary">取消冻结</el-button>
<el-button @click="wc(ctx.basePage)" size='mini' type="primary">完成</el-button> <el-button @click="wc(ctx.basePage)" size='mini' type="primary">完成</el-button>
......
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