Commit 787c540a authored by 李苏's avatar 李苏 💬

乐心112

parent 414173a7
...@@ -95,14 +95,14 @@ ...@@ -95,14 +95,14 @@
prop: 'zlh', prop: 'zlh',
span: 12, span: 12,
type: 'input', type: 'input',
required: true,
}, },
{ {
label: '批号', label: '批号',
prop: 'wlph', prop: 'wlph',
span: 12, span: 12,
type: 'input', type: 'input',
// required: true, required: true,
}, },
{ {
label: '装包数量', label: '装包数量',
......
...@@ -158,16 +158,24 @@ ...@@ -158,16 +158,24 @@
src: 'wms/rkgl/mpzy/init/zt' src: 'wms/rkgl/mpzy/init/zt'
} }
}, },
{
],
[
{
label: '作业人', label: '作业人',
prop: 'zyr', prop: 'zyr',
span: 6, span: 6,
type: 'input', type: 'input',
value: '' value: ''
}, },
{
], label: '来源单号',
[ prop: 'lydh',
span: 6,
type: 'input',
value: ''
},
{ {
label: '业务日期', label: '业务日期',
startProp: "start", startProp: "start",
......
...@@ -35,8 +35,8 @@ ...@@ -35,8 +35,8 @@
}, },
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'wms/rkgl/rktz', url: 'lxyl/rkgl/rktz',
queryUrl: 'wms/rkgl/rktz/query/detail', queryUrl: 'lxyl/rkgl/rktz/query/detail',
tableTitle: [{ tableTitle: [{
title: "物料编码", title: "物料编码",
field: "wlcode", field: "wlcode",
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
}, },
{ {
title: "计量单位", title: "计量单位",
field: "jldwname", field: "jldwName",
width: 100, width: 100,
}, },
{ {
...@@ -68,32 +68,32 @@ ...@@ -68,32 +68,32 @@
field: "yssl", field: "yssl",
width: 100, width: 100,
}, },
{
title: "入库数量",
field: "rksl",
width: 100,
},
{
title: "制令号",
field: "zlh",
width: 120,
},
{ {
title: "码盘数量", title: "码盘数量",
field: "ztsl", field: "ztsl",
width: 120, width: 120,
}, },
{
title: "入库数量",
field: "rksl",
width: 100,
},
{ {
title: "过账数量", title: "过账数量",
field: "gzsl", field: "gzsl",
width: 120, width: 120,
}, },
{
title: "制令号",
field: "zlh",
width: 120,
},
{ {
title: "状态", title: "状态",
field: "zt", field: "zt",
width: 120, width: 120,
"transform": { "transform": {
"url": "wms/rkgl/rktz/init/zt", "url": "lxyl/rkgl/rktz/init/zt",
"label": "name", "label": "name",
"value": "id" "value": "id"
} }
......
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
}, },
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'wms/rkgl/rktz', url: 'lxyl/rkgl/rktz',
queryUrl: 'wms/rkgl/rktz/query/rkqd', queryUrl: 'lxyl/rkgl/rktz/query/rkqd',
tableTitle: [{ tableTitle: [{
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
this.form.whr = this.username this.form.whr = this.username
this.form.rkr = this.username // this.form.rkr = this.username
}) })
}, },
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
"value": "", "value": "",
readonly: true, readonly: true,
"typeConfig": { "typeConfig": {
"src": "wms/rkgl/rktz/init/zt", "src": "lxyl/rkgl/rktz/init/zt",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
type: 'input', type: 'input',
}, },
{ {
label: '入库日期', label: '业务日期',
prop: 'ywrq', prop: 'ywrq',
span: 8, span: 8,
type: 'date', type: 'date',
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
"value": "", "value": "",
"required": true, "required": true,
"typeConfig": { "typeConfig": {
"src": "wms/rkgl/rktz/init/swlx", "src": "lxyl/rkgl/rktz/init/swlx",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
...@@ -176,13 +176,13 @@ ...@@ -176,13 +176,13 @@
} }
} }
}, },
{ // {
label: '入库人', // label: '入库人',
prop: 'rkr', // prop: 'rkr',
span: 8, // span: 8,
type: 'input', // type: 'input',
"required": true, // "required": true,
}, // },
{ {
label: '货主', label: '货主',
prop: 'hzid', prop: 'hzid',
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
{ {
label: '备注', label: '备注',
prop: 'bz', prop: 'bz',
span: 16, span: 24,
type: 'input', type: 'input',
}, },
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">直接入库</el-button> --> <!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">直接入库</el-button> -->
<ImportButton @success="()=>{ <ImportButton @success="()=>{
ctx.basePage.refresh() ctx.basePage.refresh()
}" :url="'/wms/rkgl/rktz/import'" /> }" :url="'/lxyl/rkgl/rktz/import'" />
</template> </template>
</BasePage> </BasePage>
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
config: { config: {
queryDetail: true, queryDetail: true,
/* 基本配置*/ /* 基本配置*/
url: 'wms/rkgl/rktz', url: 'lxyl/rkgl/rktz',
tableTitle: [{ tableTitle: [{
title: "状态", title: "状态",
field: "zt", field: "zt",
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
align: 'center', align: 'center',
width: 80, width: 80,
"transform": { "transform": {
"url": "wms/rkgl/rktz/init/zt", "url": "lxyl/rkgl/rktz/init/zt",
"label": "name", "label": "name",
"value": "id" "value": "id"
} }
...@@ -44,11 +44,11 @@ ...@@ -44,11 +44,11 @@
field: "ywrq", field: "ywrq",
fieldType: 'ftDate' fieldType: 'ftDate'
}, },
{ // {
title: "入库人", // title: "入库人",
field: "rkr", // field: "rkr",
width: 140 // width: 140
}, // },
{ {
title: "货主", title: "货主",
field: "hzName", field: "hzName",
...@@ -70,6 +70,16 @@ ...@@ -70,6 +70,16 @@
field: "ckName", field: "ckName",
width: 140 width: 140
}, },
{
title: "过账状态",
field: "gzzt",
width: 100,
"transform": {
"url": "lxyl/rkgl/rktz/init/gzzt",
"label": "name",
"value": "id"
}
},
{ {
title: "入库部门", title: "入库部门",
field: "bmName", field: "bmName",
...@@ -80,7 +90,7 @@ ...@@ -80,7 +90,7 @@
field: "djly", field: "djly",
width: 140, width: 140,
"transform": { "transform": {
"url": "wms/rkgl/rktz/init/djly", "url": "lxyl/rkgl/rktz/init/djly",
"label": "name", "label": "name",
"value": "id" "value": "id"
} }
...@@ -132,10 +142,17 @@ ...@@ -132,10 +142,17 @@
{ {
label: '单据编号', label: '单据编号',
prop: 'djid', prop: 'djid',
span: 6, span: 4,
type: 'input', type: 'input',
value: '' value: ''
} },
{
label: '来源单号',
prop: 'lydh',
span: 4,
type: 'input',
value: ''
}
],[ ],[
...@@ -145,7 +162,7 @@ ...@@ -145,7 +162,7 @@
span: 6, span: 6,
type: 'RelSelect', type: 'RelSelect',
typeConfig: { typeConfig: {
src: 'wms/rkgl/rktz/init/zt' src: 'lxyl/rkgl/rktz/init/zt'
} }
}, },
{ {
...@@ -154,7 +171,7 @@ ...@@ -154,7 +171,7 @@
span: 6, span: 6,
type: 'RelSelect', type: 'RelSelect',
typeConfig: { typeConfig: {
src: 'wms/rkgl/rktz/init/swlx' src: 'lxyl/rkgl/rktz/init/swlx'
} }
} }
] ]
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
<template #toolbar="ctx"> <template #toolbar="ctx">
<el-button @click="sapgz(ctx.basePage)" size='mini' type="primary">SAP过账</el-button>
</template> </template>
</BasePage> </BasePage>
</template> </template>
...@@ -36,8 +37,19 @@ ...@@ -36,8 +37,19 @@
{title: "入库日期", field: "ywrq", fieldType: 'ftDate'}, {title: "入库日期", field: "ywrq", fieldType: 'ftDate'},
{title: "仓库", field: "ckName", width: 140}, {title: "仓库", field: "ckName", width: 140},
{title: "事务类型", field: "swlxName", width: 100}, {title: "事务类型", field: "swlxName", width: 100},
{
title: "过账状态",
field: "gzzt",
width: 100,
"transform": {
"url": "wms/rkgl/rkdj/init/gzzt",
"label": "name",
"value": "id"
}
},
{title: "部门", field: "bmName", width: 130}, {title: "部门", field: "bmName", width: 130},
{title: "入库人", field: "jsr", width: 120}, {title: "入库人", field: "jsr", width: 120},
{title: "来源单号", field: "lydjCode", width: 120},
{title: "保管员", field: "bgy", width: 120}, {title: "保管员", field: "bgy", width: 120},
{title: "入库单号", field: "lydjid", width: 140, {title: "入库单号", field: "lydjid", width: 140,
formatter(a, b, c) { formatter(a, b, c) {
...@@ -75,10 +87,17 @@ ...@@ -75,10 +87,17 @@
{ {
label: '入库单号', label: '入库单号',
prop: 'djid', prop: 'djid',
span: 6, span: 4,
type: 'input', type: 'input',
value: '' value: ''
}, },
{
label: '来源单号',
prop: 'lydh',
span: 4,
type: 'input',
value: ''
},
] ]
...@@ -90,6 +109,18 @@ ...@@ -90,6 +109,18 @@
}, },
methods: { methods: {
sapgz(ctx){
if(ctx.singleItem&&ctx.singleItem.id){
this.$post('wms/rkgl/rkdj/sapgz',{
id:ctx.singleItem.id
}).then(res=>{
if(res.success){
this.$success('操作成功')
ctx.refresh()
}
})
}
}
/* 示例*/ /* 示例*/
// demo(basePage){ // demo(basePage){
......
...@@ -49,8 +49,8 @@ ...@@ -49,8 +49,8 @@
Xzrkqd Xzrkqd
}, },
mounted() { mounted() {
this.form.sjrName=this.username // this.form.sjrName=this.username
this.form.sjrid=this.userid // this.form.sjrid=this.userid
}, },
methods: { methods: {
xzrkqdSave(obj){ xzrkqdSave(obj){
...@@ -181,23 +181,23 @@ ...@@ -181,23 +181,23 @@
value: new Date().getTime(), value: new Date().getTime(),
"required": true, "required": true,
}, },
{ // {
label: '上架人', // label: '上架人',
prop: 'sjrid', // prop: 'sjrid',
span: 8, // span: 8,
"required": true, // "required": true,
type: 'AuxInput', // type: 'AuxInput',
typeConfig: { // typeConfig: {
code: 'USER', // code: 'USER',
label: 'sjrName', // label: 'sjrName',
transform: { // transform: {
value: 'id', // value: 'id',
label: 'username' // label: 'username'
} // }
}, // },
}, // },
// { // {
// label: '单据来源', // label: '单据来源',
// prop: 'djlyName', // prop: 'djlyName',
......
...@@ -173,6 +173,13 @@ ...@@ -173,6 +173,13 @@
}, },
],[ ],[
{
label: '来源单号',
prop: 'lydh',
span: 6,
type: 'input',
value: ''
},
{ {
label: '上架单号', label: '上架单号',
prop: 'djid', prop: 'djid',
......
...@@ -110,11 +110,11 @@ ...@@ -110,11 +110,11 @@
{title:"计量单位",field:"jldwname",width:80}, {title:"计量单位",field:"jldwname",width:80},
{title:"辅计量单位",field:"fjldwname",width:80,align:"center"}, {title:"辅计量单位",field:"fjldwname",width:80,align:"center"},
// {title:"采购计量单位",field:"cgjldwname",width:80,align:"center"}, // {title:"采购计量单位",field:"cgjldwname",width:80,align:"center"},
{title:"增值税率(%)",field:"zzsl", fieldType:"zzsl", width: 100}, // {title:"增值税率(%)",field:"zzsl", fieldType:"zzsl", width: 100},
{title:"批号管理",field:"phgl",width:80,formatter(a,b,v){ {title:"批号管理",field:"phgl",width:80,formatter(a,b,v){
let map={ let map={
Y:'正常', Y:'',
N:'停用' N:''
} }
return map[v] return map[v]
}}, }},
......
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