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

乐心112

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