Commit b41800a0 authored by 周毅's avatar 周毅

修改备料登记页面

parent 20d33ccf
<template>
<BasePage @getRow='getRow' :power='power' class="min_full" style="height: 100%;" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">直接入库</el-button> -->
<!-- <ImportButton @success="()=>{
<BasePage
@getRow="getRow"
:power="power"
class="min_full"
style="height: 100%"
:config="config"
>
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">直接入库</el-button> -->
<!-- <ImportButton @success="()=>{
ctx.basePage.refresh()
}" :url="'wms/ckgl/jhtz/import'" /> -->
</template>
</BasePage>
</template>
</BasePage>
</template>
<script>
import Edit from './edit.vue'
export default {
data() {
return {
power: {
add: true,
copy: false,
/* 手动控制删除 */
delButton: true,
/* 手动控制编辑按钮权限 */
editButton: true,
/* 是否渲染右侧操作按钮 */
operateButtons: true,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: {
queryDetail: true,
/* 基本配置*/
url: 'lxyl/ckgl/ubldj',
tableTitle: [
{
title: "备料单号",
field: "djid",
width: 140
},
{
title: "业务日期",
field: "ywrq",
fieldType: 'ftDate'
},
import Edit from "./edit.vue";
export default {
data() {
return {
power: {
add: true,
copy: false,
/* 手动控制删除 */
delButton: true,
/* 手动控制编辑按钮权限 */
editButton: true,
/* 是否渲染右侧操作按钮 */
operateButtons: true,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false,
},
config: {
queryDetail: true,
/* 基本配置*/
url: "lxyl/ckgl/ubldj",
tableTitle: [
{
title: "状态",
field: "zt",
width: 80,
transform: {
"url": "lxyl/ckgl/ubldj/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "备料单号",
field: "djid",
width: 140,
},
{
title: "业务日期",
field: "ywrq",
fieldType: "ftDate",
},
{
title: "仓库编码",
field: "ckCode",
width: 140,
},
{
title: "仓库",
field: "ckName",
width: 140,
},
{
title: "容器",
field: "rqCode",
width: 140,
},
{
title: "库位",
field: "kwName",
width: 140,
},
{
title: "出库单号",
field: "lydjDjid",
width: 140,
},
// {
// title: "责任人",
// field: "fzrName",
// width:80
// },
{
title: "维护人",
field: "whr",
width: 160,
},
{
title: "维护时间",
field: "whsj",
fieldType: "ftDateTime",
},
],
queryParams: [
[
{
title: "仓库编码",
field: "ckCode",
width: 140
label: "日期",
startProp: "start",
endProp: "end",
span: 8,
type: "RelDaterangeV2",
startValue: new Date().getTime() - 1000 * 60 * 60 * 24 * 30,
endValue: new Date().getTime(),
},
{
title: "仓库",
field: "ckName",
width: 140
label: "备料单号",
prop: "djid",
span: 4,
type: "input",
value: "",
},
{
title: "容器",
field: "rqCode",
width: 140
},
{
title: "库位",
field: "kwName",
width: 140
label: "仓库",
prop: "ckid",
span: 4,
type: "RelSelect",
value: "",
typeConfig: {
src: "jcsj/common/ck/queryCkid",
match: {
value: "id",
label: "name",
},
},
},
{
title: "责任人",
field: "zrrName",
width:160
label: "拣货单号",
prop: "jhtzDjid",
span: 4,
type: "input",
value: "",
},
{
title: "维护人",
field: "whr",
width:160
},
{
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: 'djid',
span: 4,
type: 'input',
value: ''
},
{
"label": "仓库",
"prop": "ckid",
"span": 4,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "jcsj/common/ck/queryCkid",
"match": {
"value": "id",
"label": "name"
}
}
},
{
label: '拣货单号',
prop: 'jhtzDjid',
span: 4,
type: 'input',
value: ''
{
label: "出库单号",
prop: "cktzDjid",
span: 4,
type: "input",
value: "",
},
// {
// "label": "库区",
// "prop": "kqid",
// "span": 4,
// "type": "RelSelect",
// "value": "",
// "typeConfig": {
// linkParams:['ckid'],
// linkage:true,
// "src": "wms/jcsj/kq/query",
// "match": {
// "value": "id",
// "label": "name"
// }
// }
// },
],
[
{
label: "状态",
prop: "zt",
span: 4,
type: "RelSelect",
typeConfig: {
src: "lxyl/ckgl/ubldj/init/zt",
},
{
label: '出库单号',
prop: 'cktzDjid',
span: 4,
type: 'input',
value: ''
}
// {
// "label": "库区",
// "prop": "kqid",
// "span": 4,
// "type": "RelSelect",
// "value": "",
// "typeConfig": {
// linkParams:['ckid'],
// linkage:true,
// "src": "wms/jcsj/kq/query",
// "match": {
// "value": "id",
// "label": "name"
// }
// }
// },
],[
{
label: '状态',
prop: 'zt',
span: 4,
type: 'RelSelect',
typeConfig: {
src: 'lxyl/ckgl/ubldj/init/zt'
}
},
{
label: '责任人',
prop: 'zrrInfo',
span: 4,
type: 'input',
value: ''
}
]
],
/* 默认启停用 */
}
}
},
methods: {
getRow(val){
this.$emit('getRow',val)
}
},
components: {
Edit
}
}
},
{
label: "责任人",
prop: "zrrInfo",
span: 4,
type: "input",
value: "",
},
],
],
/* 默认启停用 */
},
};
},
methods: {
getRow(val) {
this.$emit("getRow", val);
},
},
components: {
Edit,
},
};
</script>
<style>
......
......@@ -35,30 +35,10 @@
url: 'wms/jcsj/pack/queryPackDetail',
queryUrl:'wms/jcsj/pack/queryPackDetail',
tableTitle: [
{
title: "唯一码",
field: "packCode",
width: 140
},
{
title: "容器码",
field: "rqCode",
width: 140
},
{
title: "货主编码",
field: "hzCode",
width: 140
},
{
title: "货主",
field: "hzName",
width: 140
},
{
title: "状态",
field: "packZt",
width: 140,
field: "zt",
width: 80,
transform: {
"url": "wms/jcsj/rq/init/zt",
"label": "name",
......@@ -68,7 +48,7 @@
{
title: "库存状态",
field: "packKczt",
width: 140,
width: 80,
transform: {
"url": "wms/jcsj/rq/init/kczt",
"label": "name",
......@@ -76,24 +56,14 @@
}
},
{
title: "容量状态",
field: "packRlzt",
width: 140,
transform: {
"url": "wms/jcsj/rq/init/rlzt",
"label": "name",
"value": "id"
}
title: "唯一码",
field: "packCode",
width: 140
},
{
title: "运输状态",
field: "packYszt",
width: 140,
transform: {
"url": "wms/jcsj/rq/init/yszt",
"label": "name",
"value": "id"
}
title: "容器码",
field: "rqCode",
width: 140
},
{
title: "物料编码",
......@@ -119,11 +89,6 @@
title: "数量",
field: "sl",
width: 140
},
{
title: "入库单号",
field: "rktzDjid",
width: 180
}
],
queryParams: [
......
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