Commit e278b435 authored by 李苏's avatar 李苏 💬

入库登记 搜索字段 djid=>rktzDjid

parent 01d7ac73
<template>
<BasePage :delMster='false' :power='power' addRename='选择入库单入库' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- <el-button @click="sapgz(ctx.basePage)" size='mini' type="primary">SAP过账</el-button> -->
</template>
</BasePage>
<BasePage :delMster='false' :power='power' addRename='选择入库单入库' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- <el-button @click="sapgz(ctx.basePage)" size='mini' type="primary">SAP过账</el-button> -->
</template>
</BasePage>
</template>
<script>
import Edit from './edit.vue'
export default {
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: true,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: true,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: {
delUrl:'lxyl/rkgl/pksj/delete/rkdj',
queryDetail: true,
/* 基本配置*/
url: 'wms/rkgl/rkdj',
tableTitle: [
{title: "库存单号", field: "djid", width: 140},
{title: "入库日期", field: "ywrq", fieldType: 'ftDate'},
{title: "仓库", field: "ckName", width: 140},
{title: "事务类型", field: "swlxName", width: 100},
{
title: "过账状态",
field: "gzzt",
width: 100,
"transform": {
"url": "lxyl/common/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) {
return a.rktzDjid || a.dbrkDjid
}},
{title: "上架单号", field: "sjtzDjid", width: 140},
{title: "备注", field: "bz", width: 220},
{title: "维护人", field: "whr"},
{title: "维护时间", field: "whsj", fieldType: 'ftDateTime'}
],
queryParams: [
[{
label: '入库日期',
startProp: "start",
endProp: "end",
span: 8,
type: 'RelDaterangeV2',
startValue: new Date().getTime()-1000*60*60*24*30,
endValue:new Date().getTime(),
},
{
"label": "仓库",
"prop": "ckid",
"span": 8,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "jcsj/common/ck/queryCkid",
"match": {
"value": "id",
"label": "name"
}
}
},
{
label: '入库单号',
prop: 'djid',
span: 8,
type: 'input',
value: ''
},
import Edit from './edit.vue'
export default {
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: true,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: true,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: {
delUrl: 'lxyl/rkgl/pksj/delete/rkdj',
queryDetail: true,
/* 基本配置*/
url: 'wms/rkgl/rkdj',
tableTitle: [{
title: "库存单号",
field: "djid",
width: 140
},
{
title: "入库日期",
field: "ywrq",
fieldType: 'ftDate'
},
{
title: "仓库",
field: "ckName",
width: 140
},
{
title: "事务类型",
field: "swlxName",
width: 100
},
{
title: "过账状态",
field: "gzzt",
width: 100,
"transform": {
"url": "lxyl/common/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) {
return a.rktzDjid || a.dbrkDjid
}
},
{
title: "上架单号",
field: "sjtzDjid",
width: 140
},
{
title: "备注",
field: "bz",
width: 220
},
{
title: "维护人",
field: "whr"
},
{
title: "维护时间",
field: "whsj",
fieldType: 'ftDateTime'
}
],
queryParams: [
[{
label: '入库日期',
startProp: "start",
endProp: "end",
span: 8,
type: 'RelDaterangeV2',
startValue: new Date().getTime() - 1000 * 60 * 60 * 24 * 30,
endValue: new Date().getTime(),
},
{
"label": "仓库",
"prop": "ckid",
"span": 8,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "jcsj/common/ck/queryCkid",
"match": {
"value": "id",
"label": "name"
}
}
},
{
label: '入库单号',
prop: 'rktzDjid',
span: 8,
type: 'input',
value: ''
},
],[
{
label: '来源单号',
prop: 'sjtzDjid',
span: 8,
type: 'input',
value: ''
],
[{
label: '来源单号',
prop: 'sjtzDjid',
span: 8,
type: 'input',
value: ''
},
{
"label": "事务类型",
"prop": "swlxid",
"span": 8,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "wms/rkgl/rkdj/init/swlx",
"match": {
"value": "id",
"label": "name"
}
}
"label": "事务类型",
"prop": "swlxid",
"span": 8,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "wms/rkgl/rkdj/init/swlx",
"match": {
"value": "id",
"label": "name"
}
}
}
]
],
/* 默认启停用 */
],
/* 默认启停用 */
}
}
}
}
},
methods: {
},
methods: {
/* 示例*/
// demo(basePage){
/* 示例*/
// demo(basePage){
// }
},
components: {
Edit
}
// }
},
components: {
Edit
}
}
}
</script>
<style>
......
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