Commit b41800a0 authored by 周毅's avatar 周毅

修改备料登记页面

parent 20d33ccf
<template> <template>
<BasePage @getRow='getRow' :power='power' class="min_full" style="height: 100%;" :config="config"> <BasePage
@getRow="getRow"
:power="power"
class="min_full"
style="height: 100%"
:config="config"
>
<template #dialog="ctx"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
...@@ -9,13 +15,12 @@ ...@@ -9,13 +15,12 @@
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: {
...@@ -31,106 +36,121 @@ ...@@ -31,106 +36,121 @@
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: "状态",
field: "zt",
width: 80,
transform: {
"url": "lxyl/ckgl/ubldj/init/zt",
"label": "name",
"value": "id"
}
},
{ {
title: "备料单号", title: "备料单号",
field: "djid", field: "djid",
width: 140 width: 140,
}, },
{ {
title: "业务日期", title: "业务日期",
field: "ywrq", field: "ywrq",
fieldType: 'ftDate' fieldType: "ftDate",
}, },
{ {
title: "仓库编码", title: "仓库编码",
field: "ckCode", field: "ckCode",
width: 140 width: 140,
}, },
{ {
title: "仓库", title: "仓库",
field: "ckName", field: "ckName",
width: 140 width: 140,
}, },
{ {
title: "容器", title: "容器",
field: "rqCode", field: "rqCode",
width: 140 width: 140,
}, },
{ {
title: "库位", title: "库位",
field: "kwName", field: "kwName",
width: 140 width: 140,
}, },
{ {
title: "责任人", title: "出库单号",
field: "zrrName", field: "lydjDjid",
width:160 width: 140,
}, },
// {
// title: "责任人",
// field: "fzrName",
// width:80
// },
{ {
title: "维护人", title: "维护人",
field: "whr", field: "whr",
width:160 width: 160,
}, },
{ {
title: "维护时间", title: "维护时间",
field: "whsj", field: "whsj",
fieldType: 'ftDateTime' fieldType: "ftDateTime",
} },
], ],
queryParams: [ queryParams: [
[ [
{ {
label: '日期', label: "日期",
startProp: "start", startProp: "start",
endProp: "end", endProp: "end",
span: 8, span: 8,
type: 'RelDaterangeV2', type: "RelDaterangeV2",
startValue: new Date().getTime()-1000*60*60*24*30, startValue: new Date().getTime() - 1000 * 60 * 60 * 24 * 30,
endValue:new Date().getTime(), endValue: new Date().getTime(),
}, },
{ {
label: '备料单号', label: "备料单号",
prop: 'djid', prop: "djid",
span: 4, span: 4,
type: 'input', type: "input",
value: '' value: "",
}, },
{ {
"label": "仓库", label: "仓库",
"prop": "ckid", prop: "ckid",
"span": 4, span: 4,
"type": "RelSelect", type: "RelSelect",
"value": "", value: "",
"typeConfig": { typeConfig: {
"src": "jcsj/common/ck/queryCkid", src: "jcsj/common/ck/queryCkid",
"match": { match: {
"value": "id", value: "id",
"label": "name" label: "name",
} },
} },
}, },
{ {
label: '拣货单号', label: "拣货单号",
prop: 'jhtzDjid', prop: "jhtzDjid",
span: 4, span: 4,
type: 'input', type: "input",
value: '' value: "",
}, },
{ {
label: '出库单号', label: "出库单号",
prop: 'cktzDjid', prop: "cktzDjid",
span: 4, span: 4,
type: 'input', type: "input",
value: '' value: "",
} },
// { // {
// "label": "库区", // "label": "库区",
// "prop": "kqid", // "prop": "kqid",
...@@ -147,41 +167,39 @@ ...@@ -147,41 +167,39 @@
// } // }
// } // }
// }, // },
],[ ],
[
{ {
label: '状态', label: "状态",
prop: 'zt', prop: "zt",
span: 4, span: 4,
type: 'RelSelect', type: "RelSelect",
typeConfig: { typeConfig: {
src: 'lxyl/ckgl/ubldj/init/zt' src: "lxyl/ckgl/ubldj/init/zt",
} },
}, },
{ {
label: '责任人', label: "责任人",
prop: 'zrrInfo', prop: "zrrInfo",
span: 4, span: 4,
type: 'input', type: "input",
value: '' value: "",
} },
] ],
], ],
/* 默认启停用 */ /* 默认启停用 */
},
} };
}
}, },
methods: { methods: {
getRow(val){ getRow(val) {
this.$emit('getRow',val) this.$emit("getRow", val);
} },
}, },
components: { components: {
Edit 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