Commit a6126628 authored by 李苏's avatar 李苏 💬

1

parent 65a5ddb3
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
v-for="(item,index) in editColItemList2 " :value="item.value" :span="item.span" :label="item.label" v-for="(item,index) in editColItemList2 " :value="item.value" :span="item.span" :label="item.label"
:prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig'
:rule="item.rule" /> :rule="item.rule" />
<!-- 额外数据 -->
</el-row> </el-row>
</el-form> </el-form>
......
<template> <template>
<BasePage class="min_full" :config="config"> <BasePage :power='power' class="min_full" :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
...@@ -16,6 +16,21 @@ ...@@ -16,6 +16,21 @@
export default { export default {
data() { data() {
return { return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'wms/cxfx/kwmx', url: 'wms/cxfx/kwmx',
...@@ -85,8 +100,8 @@ ...@@ -85,8 +100,8 @@
width: 140 width: 140
}, },
{ {
title: "数量", title: "库存数量",
field: "sl", field: "kcsl",
width: 140 width: 140
} }
......
...@@ -64,6 +64,11 @@ ...@@ -64,6 +64,11 @@
field: "wlph", field: "wlph",
width: 140 width: 140
}, },
{
title: "制令号",
field: "zlh",
width: 140
},
{ {
title: "码盘数量", title: "码盘数量",
field: "mpsl", field: "mpsl",
...@@ -74,11 +79,7 @@ ...@@ -74,11 +79,7 @@
field: "rqCode", field: "rqCode",
width: 140 width: 140
}, },
{
title: "制令号",
field: "zlh",
width: 140
},
{ {
title: "唯一码", title: "唯一码",
field: "packCode", field: "packCode",
......
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
<el-row :gutter="20" :app="this" class="editRow"> <el-row :gutter="20" :app="this" class="editRow">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false " <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" 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' :prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
:rule="item.rule" />
<!-- 额外数据 --> <!-- 额外数据 -->
</el-row> </el-row>
...@@ -25,9 +24,7 @@ ...@@ -25,9 +24,7 @@
<el-row :gutter="20" :app="this" class="editRow bottomInfo"> <el-row :gutter="20" :app="this" class="editRow bottomInfo">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false " <EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
v-for="(item,index) in editColItemList2 " :value="item.value" :span="item.span" :label="item.label" v-for="(item,index) in editColItemList2 " :value="item.value" :span="item.span" :label="item.label"
:prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
:rule="item.rule" />
<!-- 额外数据 -->
</el-row> </el-row>
<!-- <el-row class="bottomInfo" :gutter="20"> <!-- <el-row class="bottomInfo" :gutter="20">
<el-col class="center" :span="12"> <el-col class="center" :span="12">
...@@ -79,22 +76,21 @@ ...@@ -79,22 +76,21 @@
} }
}, },
mounted() { mounted() {
this.$nextTick(()=>{ this.$nextTick(() => {
this.form.whr=this.username this.form.whr = this.username
this.form.rkr=this.username this.form.rkr = this.username
}) })
}, },
data() { data() {
return { return {
editColItemList2:[ editColItemList2: [{
{
"label": "状态", "label": "状态",
"prop": "zt", "prop": "zt",
"span": 8, "span": 8,
"type": "RelSelect", "type": "RelSelect",
"value": "", "value": "",
readonly:true, readonly: true,
"typeConfig": { "typeConfig": {
"src": "wms/rkgl/rktz/init/zt", "src": "wms/rkgl/rktz/init/zt",
"match": { "match": {
...@@ -108,7 +104,7 @@ ...@@ -108,7 +104,7 @@
prop: 'whr', prop: 'whr',
type: 'input', type: 'input',
span: 8, span: 8,
readonly:true, readonly: true,
}, },
{ {
...@@ -116,8 +112,8 @@ ...@@ -116,8 +112,8 @@
prop: 'whsj', prop: 'whsj',
span: 8, span: 8,
type: 'datetime', type: 'datetime',
readonly:true, readonly: true,
value:new Date().getTime() value: new Date().getTime()
} }
], ],
/* 常规edit数据 */ /* 常规edit数据 */
...@@ -187,10 +183,26 @@ ...@@ -187,10 +183,26 @@
type: 'input', type: 'input',
"required": true, "required": true,
}, },
{
label: '货主',
prop: 'hzid',
span: 8,
type: 'AuxInput',
// required: true,
typeConfig: {
isRequest: true,
code: 'HZID',
label: 'hzName',
transform: {
value: 'id',
label: 'name'
}
}
},
{ {
label: '备注', label: '备注',
prop: 'bz', prop: 'bz',
span: 24, span: 16,
type: 'input', type: 'input',
}, },
......
...@@ -49,6 +49,11 @@ ...@@ -49,6 +49,11 @@
field: "rkr", field: "rkr",
width: 140 width: 140
}, },
{
title: "货主",
field: "hzName",
width: 140
},
{ {
title: "事务类型", title: "事务类型",
field: "swlxName", field: "swlxName",
......
...@@ -126,13 +126,13 @@ ...@@ -126,13 +126,13 @@
editColItemList: [{ editColItemList: [{
label: '单据号', label: '单据号',
prop: 'djid', prop: 'djid',
span: 12, span: 8,
type: 'input', type: 'input',
}, },
{ {
"label": "仓库", "label": "仓库",
"prop": "ckid", "prop": "ckid",
"span": 12, "span": 8,
"type": "RelSelect", "type": "RelSelect",
"value": "", "value": "",
"required": true, "required": true,
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
{ {
"label": "事务类型", "label": "事务类型",
"prop": "swlxid", "prop": "swlxid",
"span": 12, "span": 8,
"type": "RelSelect", "type": "RelSelect",
"value": "", "value": "",
"required": true, "required": true,
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
{ {
"label": "部门", "label": "部门",
"prop": "bmid", "prop": "bmid",
"span": 12, "span": 8,
"type": "RelSelect", "type": "RelSelect",
"value": "", "value": "",
"typeConfig": { "typeConfig": {
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
{ {
label: '业务日期', label: '业务日期',
prop: 'ywrq', prop: 'ywrq',
span: 12, span: 8,
type: 'date', type: 'date',
value: new Date().getTime(), value: new Date().getTime(),
"required": true, "required": true,
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
{ {
label: '上架人', label: '上架人',
prop: 'sjrid', prop: 'sjrid',
span: 12, span: 8,
"required": true, "required": true,
type: 'AuxInput', type: 'AuxInput',
typeConfig: { typeConfig: {
......
...@@ -69,6 +69,12 @@ ...@@ -69,6 +69,12 @@
fieldType: "ftString", fieldType: "ftString",
width: 100 width: 100
}, },
{
title: "货主",
field: "hzName",
fieldType: "ftString",
width: 100
},
{ {
title: "单据来源", title: "单据来源",
field: "djly", field: "djly",
...@@ -79,6 +85,11 @@ ...@@ -79,6 +85,11 @@
}, },
width: 80 width: 80
}, },
{
title: "来源单号",
field: "rktzDjid",
width: 140
},
{ {
title: "来源单据号", title: "来源单据号",
field: "lydjDjid", field: "lydjDjid",
......
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