Commit 876b60ed authored by 李苏's avatar 李苏 💬

wcs作业

parent b6c7dd86
......@@ -1200,6 +1200,19 @@ export const powerRoutes = [
name: 'wcsrw',
path: "wcsrw",
},
{
component: 'ccgl/wcsrwgl/wcszy/index',
hidden: false,
meta: {
"title": "WCS作业",
"icon": "",
"noCache": false,
"link": null,
"mkid": 920110200,
},
name: 'wcszy',
path: "wcszy",
},
]
},
/* 大屏看板*/
......
<template>
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
DialogTitle:'新增',
showDialog:false,
</div>
<div slot="reFooter" class="refooter" >
<span slot="footer" class="dialog-footer" >
<el-button @click="app.showDialog=false">取 消</el-button>
<el-button type="primary" @click="save()">保 存</el-button>
</span>
</div>
</DefaultDialog>
</template>
<script>
export default {
props: {
app: {
type: Object,
default: ()=>{
return {}
}
}
},
async mounted() {
},
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped>
</style>
<template>
<RelDialog width="50%" :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false " v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label" :prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
</el-row>
</el-form>
</RelDialog>
</template>
<script>
import {
editMixin
} from 'common'
export default {
mixins: [editMixin],
data() {
return {
editColItemList: [
{
label: '编码',
prop: 'code',
span: 12,
type: 'input',
required:true,
},
{
label: '名称',
prop: 'name',
span: 12,
type: 'input',
required:true,
},
{
label: '备注',
prop: 'bz',
span: 24,
type: 'input'
},
]
}
}
}
</script>
<template>
<BasePage :power="power" class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
</template>
</BasePage>
</template>
<script>
// import Edit from './edit.vue'
export default {
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: true,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: {
/* 基本配置*/
url: 'lxyl/wcszy',
tableTitle: [{
title: "单据来源",
field: "djly",
width: 140,
transform: {
"url": "lxyl/wcszy/init/djly",
"label": "name",
"value": "id"
}
},
{
title: "仓库编码",
field: "ckCode",
width: 140
},
{
title: "仓库名称",
field: "ckName",
width: 140
},
{
title: "货主编码",
field: "hzCode",
width: 140
},
{
title: "货主编码",
field: "hzName",
width: 140
},
{
title: "状态",
field: "zt",
width: 140,
transform: {
"url": "lxyl/wcszy/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "业务日期",
field: "ywrq",
fieldType: "ftDate"
},
],
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: 'djly',
span: 8,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "lxyl/wcszy/init/djly",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "状态",
"prop": "zt",
"span": 8,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "lxyl/wcszy/init/zt",
"match": {
"value": "id",
"label": "name"
}
}
},
],
],
}
}
},
methods: {
/* 示例*/
// demo(basePage){
// }
},
components: {
// Edit
}
}
</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