Commit 84d3b64e authored by 李苏's avatar 李苏 💬

其他

parent 8318b1b4
...@@ -1407,7 +1407,50 @@ export const powerRoutes = [ ...@@ -1407,7 +1407,50 @@ export const powerRoutes = [
path: "lkkb", path: "lkkb",
} }
] ]
},
/* 其他 */
{
erpComponent: true,
component: 'template/index',
hidden: false,
meta: {
"title": "其他",
"icon": "",
"noCache": false,
"link": null,
"mkid": 920130000,
},
redirect: 'qt',
name: 'dpkb',
path: "dpkb",
children: [{
component: 'ccgl/qt/fchjh/index',
hidden: false,
meta: {
"title": "防串货激活",
"icon": "",
"noCache": false,
"link": null,
"mkid": 920131000,
},
name: 'fchjh',
path: "fchjh",
},
{
component: 'ccgl/qt/zxgl/index',
hidden: false,
meta: {
"title": "装箱管理",
"icon": "",
"noCache": false,
"link": null,
"mkid": 920132000,
},
name: 'zxgl',
path: "zxgl",
} }
]
},
] ]
} }
......
<template>
<BasePage :power='power' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
</template>
</BasePage>
</template>
<script>
export default {
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: true,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: true,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: {
/* 基本配置*/
url: 'lxyl/uactivate',
tableTitle: [{
label: "单据号",
prop: "djid",
fieldType: "ftString",
width: 120
},
{
label: "仓库",
prop: "ckName",
width: 192
},
{
label: "工厂",
prop: "hzName",
width: 192,
},
{
label: "客户",
prop: "khName",
fieldType: "ftString",
width: 192
},
{
label: "事务类型",
prop: "swlxName",
fieldType: "ftString",
width: 192
},
{
label: "物料编码",
prop: "wlxxCode",
fieldType: "ftString",
width: 192
},
{
label: "物料名称",
prop: "wlxxName",
fieldType: "ftString",
width: 240
},
{
label: "物料批号",
prop: "wlph",
fieldType: "ftString",
width: 240
},
{
label: "制令号",
prop: "zlh",
fieldType: "ftString",
width: 240
},
{
label: "应发数量",
prop: "yfsl",
fieldType: "float"
},
{
label: "实发数量",
prop: "sfsl",
fieldType: "float"
},
{
label: "卡板条码",
prop: "barcode",
fieldType: "ftString",
width: 300
},
{
label: "外箱条码",
prop: "boxcode",
fieldType: "ftString",
width: 300
},
{
label: "SN条码",
prop: "sncodebox",
fieldType: "ftString",
width: 300
},
{
label: "备注",
prop: "bz",
fieldType: "ftString",
width: 300
},
{
label: "维护人",
prop: "whr",
fieldType: "ftString"
},
{
label: "维护时间",
prop: "whsj",
fieldType: "ftDateTime"
},
{
label: "创建人",
prop: "cjr",
fieldType: "ftString"
},
{
label: "创建时间",
prop: "cjsj",
fieldType: "ftDateTime"
},
],
queryParams: [
[{
label: '名称',
prop: 'info',
span: 6,
type: 'input',
value: ''
}
]
],
}
}
},
methods: {
/* 示例*/
// demo(basePage){
// }
},
components: {
}
}
</script>
<style>
</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来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
</template>
</BasePage>
</template>
<script>
export default {
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: true,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: true,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: {
/* 基本配置*/
url: 'lxyl/u_sofh_qd',
tableTitle: [
// {label: "销售交货单", prop: "xsjhdid", fieldType: "ftString",width:192},
{label: "唯一码", prop: "packCode", fieldType: "ftString",width:192},
{label: "物料编码", prop: "wlxxCode", fieldType: "ftString",width:192},
{label: "物料名称", prop: "wlxxName", fieldType: "ftString",width:192},
{label: "物料批号", prop: "wlph", fieldType: "ftString",width:240},
{label: "制令号", prop: "zlh", fieldType: "ftString",width:240},
{label: "数量", prop: "sl", fieldType: "float"},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
],
queryParams: [
[{
label: '名称',
prop: 'info',
span: 6,
type: 'input',
value: ''
}
]
],
}
}
},
methods: {
/* 示例*/
// demo(basePage){
// }
},
components: {
}
}
</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