Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
lxyl-vue
Commits
b6e40a2d
Commit
b6e40a2d
authored
Jan 08, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3ced8ec4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
220 deletions
+23
-220
index.vue
src/views/ccgl/kngl/zlhbg/index.vue
+3
-10
rkqd.vue
src/views/ccgl/kngl/zlhbg/rkqd.vue
+0
-121
edit.vue
src/views/ccgl/kngl/zlhbg/top/edit.vue
+6
-85
edit.vue
src/views/ccgl/rkgl/mpzy/top/edit.vue
+11
-1
mp.vue
src/views/ccgl/rkgl/mpzy/top/mp.vue
+1
-1
vue.config.js
vue.config.js
+2
-2
No files found.
src/views/ccgl/kngl/zlhbg/index.vue
View file @
b6e40a2d
...
...
@@ -8,12 +8,9 @@
<div
class=
"bottom flex"
>
<div
class=
"full"
>
<el-tabs
class=
"full"
v-model=
"activeName"
>
<el-tab-pane
class=
"full"
label=
"
入库单
明细"
name=
"first"
>
<el-tab-pane
class=
"full"
label=
"明细"
name=
"first"
>
<Mx
ref=
"mx"
class=
"full"
/>
</el-tab-pane>
<el-tab-pane
class=
"full"
label=
"入库清单"
name=
"second"
>
<Rkqd
ref=
"rkqd"
class=
"full"
/>
</el-tab-pane>
</el-tabs>
</div>
...
...
@@ -26,12 +23,11 @@
<
script
>
import
Top
from
'./top/index.vue'
import
Mx
from
'./mx.vue'
import
Rkqd
from
'./rkqd.vue'
export
default
{
components
:
{
Top
,
Mx
,
Rkqd
},
data
(){
return
{
...
...
@@ -46,10 +42,7 @@
this
.
$refs
.
mx
.
$refs
.
basePage
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
this
.
$refs
.
rkqd
.
$refs
.
basePage
.
queryParams
.
mid
=
mid
this
.
$refs
.
rkqd
.
$refs
.
basePage
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
},
...
...
src/views/ccgl/kngl/zlhbg/rkqd.vue
deleted
100644 → 0
View file @
3ced8ec4
<
template
>
<BasePage
@
getRow=
'getRow'
ref=
"basePage"
:power=
'power'
:toolButton=
'false'
class=
"min_full"
style=
"height: 100%;border-top: 0px;"
:autoQuery=
'false'
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
</BasePage>
</template>
<
script
>
export
default
{
mounted
()
{
},
data
()
{
return
{
power
:
{
add
:
false
,
copy
:
false
,
/* 手动控制删除 */
delButton
:
false
,
/* 手动控制编辑按钮权限 */
editButton
:
false
,
/* 是否渲染右侧操作按钮 */
operateButtons
:
false
,
/* 是否开启工作流按钮 */
workFlow
:
false
,
/* 表格开启选择,以及记住选择 */
showSelection
:
false
,
saveSelected
:
false
},
config
:
{
/* 基本配置*/
url
:
'wms/rkgl/rktz'
,
queryUrl
:
'wms/rkgl/rktz/query/rkqd'
,
tableTitle
:
[{
title
:
"物料编码"
,
field
:
"wlxxCode"
,
fieldType
:
"upper"
,
width
:
140
},
{
title
:
"物料名称"
,
field
:
"wlxxName"
,
width
:
140
},
{
title
:
"物料规格"
,
field
:
"wlxxGg"
,
width
:
140
},
{
title
:
"制令号"
,
field
:
"zlh"
,
width
:
120
,
},
{
title
:
"物料批号"
,
field
:
"wlph"
,
width
:
140
},
{
title
:
"应收数量"
,
field
:
"yssl"
,
width
:
100
,
},
{
title
:
"唯一码"
,
field
:
"packCode"
,
width
:
240
,
},
{
title
:
"容器"
,
field
:
"rqCode"
,
width
:
100
,
},
{
title
:
"状态"
,
field
:
"zt"
,
width
:
100
,
"transform"
:
{
"url"
:
"wms/rkgl/dbrk/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
}
],
queryParams
:
[],
}
}
},
methods
:
{
getRow
(
val
)
{
this
.
$emit
(
'getRow'
,
val
)
},
demo
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
console
.
log
(
ctx
.
singleItem
)
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
}
},
components
:
{
}
}
</
script
>
<
style
>
</
style
>
src/views/ccgl/kngl/zlhbg/top/edit.vue
View file @
b6e40a2d
...
...
@@ -22,13 +22,6 @@
</editTableForEdit>
</div>
<el-row
:gutter=
"20"
:app=
"this"
class=
"editRow bottomInfo"
>
<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"
:prop=
'item.prop'
:key=
"item.prop"
:type=
"item.type"
:typeConfig=
'item.typeConfig'
:rule=
"item.rule"
/>
<!-- 额外数据 -->
</el-row>
<!-- <el-row class="bottomInfo" :gutter="20">
<el-col class="center" :span="12">
创建人:{{
...
...
@@ -79,56 +72,21 @@
}
},
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
form
.
whr
=
this
.
username
this
.
form
.
rkr
=
this
.
username
})
},
data
()
{
return
{
editColItemList2
:[
{
"label"
:
"状态"
,
"prop"
:
"zt"
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
readonly
:
true
,
"typeConfig"
:
{
"src"
:
"wms/rkgl/rktz/init/zt"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
label
:
'维护人'
,
prop
:
'whr'
,
type
:
'input'
,
span
:
8
,
readonly
:
true
,
},
{
label
:
'维护时间'
,
prop
:
'whsj'
,
span
:
8
,
type
:
'datetime'
,
readonly
:
true
,
value
:
new
Date
().
getTime
()
}
],
/* 常规edit数据 */
editColItemList
:
[{
label
:
'
入库
单号'
,
label
:
'
变更
单号'
,
prop
:
'djid'
,
span
:
8
,
type
:
'input'
,
},
{
label
:
'
入库
日期'
,
label
:
'
变更
日期'
,
prop
:
'ywrq'
,
span
:
8
,
type
:
'date'
,
...
...
@@ -136,57 +94,20 @@
"required"
:
true
,
},
{
"label"
:
"
仓库
"
,
"prop"
:
"
ckid
"
,
"label"
:
"
SAP变更类型
"
,
"prop"
:
"
bglx
"
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"
jcsj/common/ck/queryCkid
"
,
"src"
:
"
lxyl/kcgl/zlhbg/init/sapbglx
"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
"label"
:
"事务类型"
,
"prop"
:
"swlxid"
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"wms/rkgl/rktz/init/swlx"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
"label"
:
"部门"
,
"prop"
:
"bmid"
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"jcsj/common/bm/query"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"bmmc"
}
}
},
{
label
:
'入库人'
,
prop
:
'rkr'
,
span
:
8
,
type
:
'input'
,
"required"
:
true
,
},
{
label
:
'备注'
,
prop
:
'bz'
,
...
...
src/views/ccgl/rkgl/mpzy/top/edit.vue
View file @
b6e40a2d
...
...
@@ -151,6 +151,13 @@
editColItemList
:
[
/* 入库单 辅助输入 关联入库单*/
{
// readonly:()=>{
// if(this.formDetail.length==0){
// return false
// }else{
// return true
// }
// },
label
:
'入库单'
,
"required"
:
true
,
prop
:
'lydjid'
,
...
...
@@ -166,7 +173,7 @@
},
give
(
row
){
for
(
var
key
in
this
.
form
)
{
key
!=
'id'
&&
key
!=
'djid'
&&
key
!=
'djly'
&&
(()
=>
{
key
!=
'
ywrq'
&&
key
!=
'zt'
&&
key
!=
'
id'
&&
key
!=
'djid'
&&
key
!=
'djly'
&&
(()
=>
{
row
[
key
]
&&
(
this
.
form
[
key
]
=
row
[
key
])
})()
}
...
...
@@ -193,6 +200,7 @@
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
readonly
:
true
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"jcsj/common/ck/queryCkid"
,
...
...
@@ -204,6 +212,7 @@
},
{
readonly
:
true
,
"label"
:
"事务类型"
,
"prop"
:
"swlxid"
,
"span"
:
8
,
...
...
@@ -219,6 +228,7 @@
}
},
{
readonly
:
true
,
"label"
:
"部门"
,
"prop"
:
"bmid"
,
"span"
:
8
,
...
...
src/views/ccgl/rkgl/mpzy/top/mp.vue
View file @
b6e40a2d
...
...
@@ -28,7 +28,7 @@
label:'packCode',
value:'packid'
}" :queryParams='{
id:
app.app.singleItem.
id
id:
form.lydj
id
}' code='WMSBZGLMXMPZY' :form='form' />
</div>
</el-col>
...
...
vue.config.js
View file @
b6e40a2d
...
...
@@ -39,8 +39,8 @@ module.exports = {
[
process
.
env
.
VUE_APP_BASE_API
]:
{
// target: `http://192.168.30.254:18080/dmg`,
// target: `http://192.168.30.254:28084/erp`,
target
:
`http://192.168.30.111:9080/lxyl`
,
//
target: `http://localhost:9080/lxyl`,
//
target: `http://192.168.30.111:9080/lxyl`,
target
:
`http://localhost:9080/lxyl`
,
// target:'http://192.168.30.105:9081/erp',
changeOrigin
:
true
,
pathRewrite
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment