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
b7149570
Commit
b7149570
authored
Feb 27, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust baseUrl of a little pages
parent
bca613a6
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
158 additions
and
148 deletions
+158
-148
ajydk.vue
src/views/ccgl/ckgl/dbckd/top/ajydk.vue
+47
-46
akck.vue
src/views/ccgl/ckgl/dbckd/top/akck.vue
+1
-1
edit.vue
src/views/ccgl/ckgl/dbckd/top/edit.vue
+1
-1
index.vue
src/views/ccgl/ckgl/dbckd/top/index.vue
+5
-5
jyd.vue
src/views/ccgl/ckgl/dbckd/top/jyd.vue
+85
-88
index.vue
src/views/ccgl/kcpd/pdd/index.vue
+5
-5
jyd.vue
src/views/ccgl/kcpd/pdd/jyd.vue
+2
-2
mx.vue
src/views/ccgl/zlgl/jyd/mx.vue
+12
-0
No files found.
src/views/ccgl/ckgl/dbckd/top/ajydk.vue
View file @
b7149570
...
...
@@ -11,33 +11,32 @@
</el-row>
<div
class=
"editTab"
>
<editTableForEdit
:AuxButton=
'false'
code=
'WMSWLXX'
:indexApp=
'app'
:type=
'type'
@
save=
'save'
ref=
"editTableForEdit"
:editTableTitle=
'editTableTitle'
v-if=
"editTableForEdit"
:computedRow=
'computedRow'
<editTableForEdit
:AuxButton=
'false'
code=
'WMSWLXX'
:indexApp=
'app'
:type=
'type'
@
save=
'save'
ref=
"editTableForEdit"
:editTableTitle=
'editTableTitle'
v-if=
"editTableForEdit"
:computedRow=
'computedRow'
:editTableData=
"formDetail"
>
<template
#
toolbar=
"ctx"
>
<el-button
@
click=
"xzkc(ctx.basePage)"
size=
'mini'
type=
"primary"
>
按检验单开
</el-button>
<!--
<AuxButton
:queryParams=
"
{
<template
#
toolbar=
"ctx"
>
<el-button
@
click=
"xzkc(ctx.basePage)"
size=
'mini'
type=
"primary"
>
按检验单开
</el-button>
<!--
<AuxButton
:queryParams=
"
{
ckid:form.ckid
}" rename='选择库存' code='WLKC' @save="savekc" /> -->
</
template
>
</editTableForEdit>
</
template
>
</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
: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-form>
<!-- editTab数据 -->
</RelDialog>
</template>
<
script
>
import
Jyd
from
'./jyd.vue'
import
Jyd
from
'./jyd.vue'
import
{
toFixed
,
doRkdChange
...
...
@@ -50,25 +49,27 @@
export
default
{
mixins
:
[
editMixin
,
editMixin_expand
],
methods
:
{
jydSave
(
obj
){
jydSave
(
obj
)
{
let
{
list
}
=
obj
let
{
list
}
=
obj
this
.
form
.
ckid
=
list
[
0
].
ckid
this
.
form
.
hzid
=
list
[
0
].
hzid
this
.
form
.
hzName
=
list
[
0
].
hzName
this
.
form
.
ckid
=
list
[
0
].
ckid
this
.
form
.
hzid
=
list
[
0
].
hzid
this
.
form
.
hzName
=
list
[
0
].
hzName
// this.form.ywrq=row.ywrq
let
length
=
this
.
formDetail
.
length
this
.
formDetail
.
splice
(
0
,
length
)
list
.
forEach
(
item
=>
{
item
.
bcsl
=
item
.
kcsl
item
.
bcsl
=
item
.
kcsl
item
.
lydjid
=
item
.
id
delete
item
.
id
this
.
formDetail
.
push
(
_
.
cloneDeep
(
item
))
})
},
xzkc
(){
this
.
showDialog
=
true
xzkc
()
{
this
.
showDialog
=
true
},
/* 需要整体row时的回调 */
computedRow
(
row
)
{
...
...
@@ -90,18 +91,18 @@
})
}
},
components
:{
components
:
{
Jyd
},
data
()
{
return
{
form
:{
djly
:
'JYD'
form
:
{
djly
:
'JYD'
},
DialogWidth
:
'70vw'
,
DialogName
:
''
,
DialogTitle
:
'选择检验单'
,
showDialog
:
false
,
showDialog
:
false
,
/* 常规edit数据 */
editColItemList
:
[{
label
:
'出库单号'
,
...
...
@@ -124,7 +125,7 @@
"type"
:
"RelSelect"
,
"value"
:
""
,
"required"
:
true
,
readonly
:
true
,
readonly
:
true
,
"typeConfig"
:
{
"src"
:
"jcsj/common/ck/queryCkid"
,
"match"
:
{
...
...
@@ -156,7 +157,7 @@
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"
wms
/ckgl/dbck/init/swlx"
,
"src"
:
"
lxyl
/ckgl/dbck/init/swlx"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
...
...
@@ -179,22 +180,22 @@
}
},
{
label
:
'货主'
,
readonly
:
true
,
prop
:
'hzid'
,
span
:
8
,
required
:
true
,
type
:
'AuxInput'
,
typeConfig
:
{
isRequest
:
true
,
code
:
'HZID'
,
label
:
'hzName'
,
transform
:
{
value
:
'id'
,
label
:
'name'
}
}
},
label
:
'货主'
,
readonly
:
true
,
prop
:
'hzid'
,
span
:
8
,
required
:
true
,
type
:
'AuxInput'
,
typeConfig
:
{
isRequest
:
true
,
code
:
'HZID'
,
label
:
'hzName'
,
transform
:
{
value
:
'id'
,
label
:
'name'
}
}
},
{
label
:
'备注'
,
prop
:
'bz'
,
...
...
@@ -259,7 +260,7 @@
title
:
"物料批号"
,
field
:
"wlph"
,
type
:
'inputText'
,
allowEdit
:
false
,
allowEdit
:
false
,
width
:
180
,
},
{
...
...
src/views/ccgl/ckgl/dbckd/top/akck.vue
View file @
b7149570
...
...
@@ -156,7 +156,7 @@
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"
wms
/ckgl/dbck/init/swlx"
,
"src"
:
"
lxyl
/ckgl/dbck/init/swlx"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
...
...
src/views/ccgl/ckgl/dbckd/top/edit.vue
View file @
b7149570
...
...
@@ -117,7 +117,7 @@
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"
wms
/ckgl/dbck/init/swlx"
,
"src"
:
"
lxyl
/ckgl/dbck/init/swlx"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
...
...
src/views/ccgl/ckgl/dbckd/top/index.vue
View file @
b7149570
...
...
@@ -43,14 +43,14 @@
config
:
{
queryDetail
:
true
,
/* 基本配置*/
url
:
'
wms
/ckgl/dbck'
,
url
:
'
lxyl
/ckgl/dbck'
,
tableTitle
:
[
{
title
:
"状态"
,
field
:
"zt"
,
width
:
80
,
"transform"
:
{
"url"
:
"
wms
/ckgl/dbck/init/zt"
,
"url"
:
"
lxyl
/ckgl/dbck/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
...
...
@@ -190,7 +190,7 @@
span
:
6
,
type
:
'RelSelect'
,
typeConfig
:
{
src
:
'
wms
/ckgl/dbck/init/zt'
src
:
'
lxyl
/ckgl/dbck/init/zt'
}
}
]
...
...
@@ -210,7 +210,7 @@
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'
wms
/ckgl/dbck/confirm'
,
{
this
.
$post
(
'
lxyl
/ckgl/dbck/confirm'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
...
...
@@ -230,7 +230,7 @@
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'
wms
/ckgl/dbck/unconfirm'
,
{
this
.
$post
(
'
lxyl
/ckgl/dbck/unconfirm'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
...
...
src/views/ccgl/ckgl/dbckd/top/jyd.vue
View file @
b7149570
<
template
>
<DefaultDialog
:app=
'app'
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<BasePage
ref=
"basePage"
:power=
'power'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
ref="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>
<BasePage
ref=
"basePage"
:power=
'power'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
ref="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>
</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>
<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>
</div>
</DefaultDialog>
</template>
<
script
>
export
default
{
props
:
{
app
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
default
:
()
=>
{
return
{}
}
}
},
async
mounted
()
{
...
...
@@ -40,22 +39,22 @@
data
()
{
return
{
power
:
{
add
:
false
,
copy
:
false
,
delButton
:
false
,
editButton
:
false
,
operateButtons
:
false
,
workFlow
:
false
,
/* 表格 */
showSelection
:
true
,
saveSelected
:
true
},
config
:
{
/* 基本配置*/
url
:
'wms/ckgl/dbck/query/kc
'
,
queryUrl
:
'wms/ckgl/dbck/query/kc
'
,
tableTitle
:
[{
power
:
{
add
:
false
,
copy
:
false
,
delButton
:
false
,
editButton
:
false
,
operateButtons
:
false
,
workFlow
:
false
,
/* 表格 */
showSelection
:
true
,
saveSelected
:
true
},
config
:
{
/* 基本配置*/
url
:
'lxyl/rkgl/dbck/query/ukcjyqd
'
,
queryUrl
:
'lxyl/rkgl/dbck/query/ukcjyqd
'
,
tableTitle
:
[{
title
:
"库位"
,
field
:
"kwName"
,
width
:
100
,
...
...
@@ -108,71 +107,69 @@
field
:
"zlh"
,
width
:
180
,
},
{
title
:
"库存数量"
,
field
:
"kcsl"
,
width
:
120
,
fieldType
:
'float'
},
//
{
//
title: "库存数量",
//
field: "kcsl",
//
width: 120,
//
fieldType: 'float'
//
},
{
title
:
"货主"
,
field
:
"hzName"
,
width
:
180
,
},
],
queryParams
:
[
[{
label
:
'物料信息'
,
prop
:
'wlinfo'
,
span
:
6
,
type
:
'input'
,
value
:
''
},
{
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"span"
:
6
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"jcsj/common/ck/queryCkid"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
}
]
],
/* 默认启停用 */
showqt
:
false
,
],
queryParams
:
[
[{
label
:
'物料信息'
,
prop
:
'wlinfo'
,
span
:
6
,
type
:
'input'
,
value
:
''
},
{
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"span"
:
6
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"jcsj/common/ck/queryCkid"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
}
]
],
/* 默认启停用 */
showqt
:
false
,
}
}
}
},
methods
:
{
save
(){
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
==
0
)
{
save
()
{
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
if
(
list
.
length
==
0
)
{
this
.
$warning
(
'请至少勾选一条数据'
)
}
else
{
let
obj
=
{
list
:
list
}
else
{
let
obj
=
{
list
:
list
}
/* 判定list wlid是否重复*/
let
hzid
=
list
.
map
(
item
=>
item
.
hzid
)
hzid
=
[...
new
Set
(
hzid
)]
if
(
hzid
.
length
>
1
)
{
this
.
$warning
(
'所选项货主不唯一,请选择相同货主的数据。'
)
}
else
{
this
.
$emit
(
'save'
,
obj
)
this
.
app
.
showDialog
=
false
}
/* 判定list wlid是否重复*/
let
hzid
=
list
.
map
(
item
=>
item
.
hzid
)
hzid
=
[...
new
Set
(
hzid
)]
if
(
hzid
.
length
>
1
){
this
.
$warning
(
'所选项货主不唯一,请选择相同货主的数据。'
)
}
else
{
this
.
$emit
(
'save'
,
obj
)
this
.
app
.
showDialog
=
false
}
}
}
...
...
src/views/ccgl/kcpd/pdd/index.vue
View file @
b7149570
...
...
@@ -20,13 +20,13 @@
config
:
{
queryDetail
:
true
,
/* 基本配置*/
url
:
'kc/kcpd'
,
url
:
'
wms/
kc/kcpd'
,
tableTitle
:
[{
title
:
"状态"
,
field
:
"zt"
,
width
:
70
,
"transform"
:
{
"url"
:
"kc/kcpd/init/zt"
,
"url"
:
"
wms/
kc/kcpd/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
...
...
@@ -109,7 +109,7 @@
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"kc/kcpd/init/zt"
,
"src"
:
"
wms/
kc/kcpd/init/zt"
,
}
},
...
...
@@ -131,7 +131,7 @@
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'kc/kcpd/confirm'
,
{
this
.
$post
(
'
wms/
kc/kcpd/confirm'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
...
...
@@ -151,7 +151,7 @@
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'kc/kcpd/unconfirm'
,
{
this
.
$post
(
'
wms/
kc/kcpd/unconfirm'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
...
...
src/views/ccgl/kcpd/pdd/jyd.vue
View file @
b7149570
...
...
@@ -53,8 +53,8 @@
},
config
:
{
/* 基本配置*/
url
:
'kc/kcpd/getKchzmx'
,
queryUrl
:
'kc/kcpd/getKchzmx'
,
url
:
'
wms/
kc/kcpd/getKchzmx'
,
queryUrl
:
'
wms/
kc/kcpd/getKchzmx'
,
tableTitle
:
[{
title
:
"库位"
,
field
:
"kwName"
,
...
...
src/views/ccgl/zlgl/jyd/mx.vue
View file @
b7149570
...
...
@@ -86,6 +86,18 @@
},
width
:
140
},
{
title
:
"是否开出库单"
,
field
:
"sfkckd"
,
formatter
(
a
,
b
,
c
){
let
map
=
{
Y
:
'是'
,
N
:
'否'
}
return
map
[
c
]
||
'未知'
},
width
:
140
},
],
queryParams
:
[],
...
...
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