Commit b41800a0 authored by 周毅's avatar 周毅

修改备料登记页面

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