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

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

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