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
6eff9865
Commit
6eff9865
authored
Mar 06, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退货url调整
parent
26ca87cd
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
139 additions
and
116 deletions
+139
-116
edit.vue
src/views/ccgl/jcsj/hjwh/edit.vue
+1
-1
index.vue
src/views/ccgl/jcsj/hjwh/index.vue
+10
-10
mx.vue
src/views/ccgl/thgl/ckth/mx.vue
+3
-3
edit.vue
src/views/ccgl/thgl/ckth/top/edit.vue
+2
-2
index.vue
src/views/ccgl/thgl/ckth/top/index.vue
+6
-6
ckdmx.vue
src/views/ccgl/thgl/rkth/ckdmx.vue
+3
-3
akck.vue
src/views/ccgl/thgl/rkth/top/akck.vue
+1
-1
edit.vue
src/views/ccgl/thgl/rkth/top/edit.vue
+108
-85
index.vue
src/views/ccgl/thgl/rkth/top/index.vue
+5
-5
No files found.
src/views/ccgl/jcsj/hjwh/edit.vue
View file @
6eff9865
...
...
@@ -92,7 +92,7 @@
{
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"span"
:
6
,
"span"
:
12
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
...
...
src/views/ccgl/jcsj/hjwh/index.vue
View file @
6eff9865
...
...
@@ -20,17 +20,17 @@
/* 基本配置*/
url
:
'lxyl/jcsj/hj'
,
tableTitle
:
[
{
title
:
"编码"
,
field
:
"code"
,
fieldType
:
"upper"
,
width
:
20
0
width
:
12
0
},
{
title
:
"名称"
,
field
:
"name"
,
width
:
20
0
width
:
16
0
},
// {
// title: "上货点X",
...
...
@@ -72,12 +72,12 @@
// field: "xhclName",
// width: 140
// },
{
title
:
"停用"
,
field
:
"tybz"
,
fieldType
:
"tybz"
,
width
:
200
},
//
{
//
title: "停用",
//
field: "tybz",
//
fieldType: "tybz",
//
width: 200
//
},
{
title
:
"仓库"
,
field
:
"ckName"
,
...
...
@@ -87,7 +87,7 @@
title
:
"停用日期"
,
field
:
"tyrq"
,
fieldType
:
"ftDate"
,
width
:
200
//
width: 200
},
{
title
:
"维护人"
,
...
...
src/views/ccgl/thgl/ckth/mx.vue
View file @
6eff9865
...
...
@@ -35,8 +35,8 @@
},
config
:
{
/* 基本配置*/
url
:
'lxyl/rkgl/
r
kthtz/query/detail'
,
queryUrl
:
'lxyl/rkgl/
r
kthtz/query/detail'
,
url
:
'lxyl/rkgl/
c
kthtz/query/detail'
,
queryUrl
:
'lxyl/rkgl/
c
kthtz/query/detail'
,
tableTitle
:
[{
title
:
"物料编码"
,
field
:
"wlxxCode"
,
...
...
@@ -98,7 +98,7 @@
field
:
"zt"
,
width
:
120
,
"transform"
:
{
"url"
:
"lxyl/rkgl/
r
kthtz/init/zt"
,
"url"
:
"lxyl/rkgl/
c
kthtz/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
...
...
src/views/ccgl/thgl/ckth/top/edit.vue
View file @
6eff9865
...
...
@@ -170,7 +170,7 @@
"value"
:
""
,
readonly
:
true
,
"typeConfig"
:
{
"src"
:
"lxyl/rkgl/
r
kthtz/init/zt"
,
"src"
:
"lxyl/rkgl/
c
kthtz/init/zt"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
...
...
@@ -232,7 +232,7 @@
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"lxyl/rkgl/
r
kthtz/init/swlx"
,
"src"
:
"lxyl/rkgl/
c
kthtz/init/swlx"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
...
...
src/views/ccgl/thgl/ckth/top/index.vue
View file @
6eff9865
...
...
@@ -8,7 +8,7 @@
<!--
<ImportButton
@
success=
"()=>
{
ctx.basePage.refresh()
}" :url="'/lxyl/rkgl/
r
kthtz/import'" />
}" :url="'/lxyl/rkgl/
c
kthtz/import'" />
<el-button
style=
"margin-left: 10px;"
@
click=
"qr(ctx.basePage)"
size=
'mini'
type=
"primary"
>
确认
</el-button>
<el-button
@
click=
"qxqr(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消确认
</el-button>
<el-button
@
click=
"sapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
SAP过账
</el-button>
...
...
@@ -28,7 +28,7 @@
config
:
{
queryDetail
:
true
,
/* 基本配置*/
url
:
'lxyl/rkgl/
r
kthtz'
,
url
:
'lxyl/rkgl/
c
kthtz'
,
tableTitle
:
[{
title
:
"状态"
,
field
:
"zt"
,
...
...
@@ -36,7 +36,7 @@
align
:
'center'
,
width
:
80
,
"transform"
:
{
"url"
:
"lxyl/rkgl/
r
kthtz/init/zt"
,
"url"
:
"lxyl/rkgl/
c
kthtz/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
...
...
@@ -122,7 +122,7 @@
field
:
"djly"
,
width
:
140
,
"transform"
:
{
"url"
:
"lxyl/rkgl/
r
kthtz/init/djly"
,
"url"
:
"lxyl/rkgl/
c
kthtz/init/djly"
,
"label"
:
"name"
,
"value"
:
"id"
}
...
...
@@ -188,7 +188,7 @@
span
:
8
,
type
:
'RelSelect'
,
typeConfig
:
{
src
:
'lxyl/rkgl/
r
kthtz/init/zt'
src
:
'lxyl/rkgl/
c
kthtz/init/zt'
}
},
{
...
...
@@ -197,7 +197,7 @@
span
:
8
,
type
:
'RelSelect'
,
typeConfig
:
{
src
:
'lxyl/rkgl/
r
kthtz/init/swlx'
src
:
'lxyl/rkgl/
c
kthtz/init/swlx'
}
},
{
...
...
src/views/ccgl/thgl/rkth/ckdmx.vue
View file @
6eff9865
...
...
@@ -40,8 +40,8 @@
},
config
:
{
/* 基本配置*/
url
:
'lxyl/rkgl/
c
kthtz/query/detail'
,
queryUrl
:
'lxyl/rkgl/
c
kthtz/query/detail'
,
url
:
'lxyl/rkgl/
r
kthtz/query/detail'
,
queryUrl
:
'lxyl/rkgl/
r
kthtz/query/detail'
,
tableTitle
:
[{
title
:
"物料编码"
,
field
:
"wlxxCode"
,
...
...
@@ -79,7 +79,7 @@
field
:
"zt"
,
width
:
100
,
"transform"
:
{
"url"
:
"lxyl/rkgl/
c
kthtz/init/zt"
,
"url"
:
"lxyl/rkgl/
r
kthtz/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
...
...
src/views/ccgl/thgl/rkth/top/akck.vue
View file @
6eff9865
...
...
@@ -141,7 +141,7 @@
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"lxyl/rkgl/
c
kthtz/init/swlx"
,
"src"
:
"lxyl/rkgl/
r
kthtz/init/swlx"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
...
...
src/views/ccgl/thgl/rkth/top/edit.vue
View file @
6eff9865
...
...
@@ -2,6 +2,7 @@
<RelDialog
bigTitle
detailTable=
'RKTHTZMX'
@
getFormDetail=
'getFormDetail'
width=
"70%"
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<Kc
@
save=
'kcSave'
v-if=
"showDialog"
:app=
'this'
/>
<el-row
:gutter=
"20"
:app=
"this"
class=
"editRow"
>
<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"
...
...
@@ -10,23 +11,32 @@
</el-row>
<div
class=
"editTab"
>
<editTableForEdit
code=
'WMSWLXX'
:indexApp=
'app'
:type=
'type'
@
save=
'save'
ref=
"editTableForEdit"
:editTableTitle=
'editTableTitle'
v-if=
"editTableForEdit"
:computedRow=
'computedRow'
:editTableData=
"formDetail"
/>
<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=
"
{
ckid:form.ckid
}" rename='选择库存' code='WLKC' @save="savekc" /> -->
</
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
Kc
from
'./kc.vue'
import
{
toFixed
,
doRkdChange
...
...
@@ -39,34 +49,62 @@
export
default
{
mixins
:
[
editMixin
,
editMixin_expand
],
methods
:
{
kcSave
(
obj
)
{
let
{
list
}
=
obj
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
.
sl
=
0
delete
item
.
id
this
.
formDetail
.
push
(
_
.
cloneDeep
(
item
))
})
},
xzkc
()
{
this
.
showDialog
=
true
},
/* 需要整体row时的回调 */
computedRow
(
row
)
{
// this.$refs.editTableForEdit.$forceUpdate()
},
/* 选择list时的回调 */
save
(
list
)
{
list
.
forEach
(
item
=>
{
// 转换并且push
item
.
wlid
=
item
.
id
item
.
wlxxName
=
item
.
name
item
.
wlxxCode
=
item
.
code
item
.
wlxxGg
=
item
.
gg
item
.
sl
=
0
item
.
xqrq
=
new
Date
().
getTime
()
delete
item
.
id
this
.
formDetail
.
push
(
_
.
cloneDeep
(
item
))
//
save(list) {
//
list.forEach(item => {
//
// 转换并且push
//
item.wlid = item.id
//
item.wlxxName = item.name
//
item.wlxxCode = item.code
//
item.wlxxGg = item.gg
//
item.sl = 0
//
item.xqrq = new Date().getTime()
//
delete item.id
//
this.formDetail.push(_.cloneDeep(item))
})
}
// })
// }
},
components
:
{
Kc
},
data
()
{
return
{
form
:{
djly
:
'M
'
form
:
{
djly
:
'KC
'
},
DialogWidth
:
'70vw'
,
DialogName
:
''
,
DialogTitle
:
'选择库存'
,
showDialog
:
false
,
/* 常规edit数据 */
editColItemList
:
[{
label
:
'单号'
,
label
:
'
出库
单号'
,
prop
:
'djid'
,
span
:
8
,
type
:
'input'
,
...
...
@@ -86,6 +124,7 @@
"type"
:
"RelSelect"
,
"value"
:
""
,
"required"
:
true
,
readonly
:
true
,
"typeConfig"
:
{
"src"
:
"jcsj/common/ck/queryCkid"
,
"match"
:
{
...
...
@@ -102,7 +141,7 @@
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"lxyl/rkgl/
c
kthtz/init/swlx"
,
"src"
:
"lxyl/rkgl/
r
kthtz/init/swlx"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
...
...
@@ -125,21 +164,22 @@
}
},
{
label
:
'货主'
,
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'
,
...
...
@@ -162,23 +202,6 @@
title
:
"物料编码"
,
field
:
"wlxxCode"
,
width
:
240
,
type
:
'AuxInput'
,
typeConfig
:
{
"code"
:
"MATERIAL"
,
"label"
:
"wlxxCode"
,
"transform"
:
{
"value"
:
"code"
,
"label"
:
"code"
},
give
(
data
)
{
this
.
form
.
wlid
=
data
.
id
this
.
form
.
wlxxName
=
data
.
name
this
.
form
.
wlxxCode
=
data
.
code
this
.
form
.
wlxxGg
=
data
.
gg
}
}
},
{
title
:
"物料名称"
,
...
...
@@ -201,53 +224,53 @@
field
:
"zlh"
,
type
:
'inputText'
,
width
:
180
,
allowEdit
:
tru
e
allowEdit
:
fals
e
},
{
title
:
"数量"
,
field
:
"sl"
,
allowEdit
:
true
,
type
:
'inputNumber'
,
width
:
200
,
//
width: 200,
blur
:
toFixed
(
null
),
},
/* 不可编辑*/
{
title
:
"库存数量"
,
field
:
"kcsl"
,
width
:
200
,
},
{
title
:
"物料批号"
,
field
:
"wlph"
,
type
:
'inputText'
,
allowEdit
:
false
,
width
:
180
,
show
:
JSON
.
parse
(
localStorage
.
getItem
(
'isPhgl'
))
},
{
title
:
"库位"
,
field
:
"kw
id
"
,
field
:
"kw
Name
"
,
width
:
240
,
type
:
'AuxInput'
,
typeConfig
:
{
isRequest
:
false
,
"code"
:
"KWWH"
,
"label"
:
"kwName"
,
queryParams
:
(
row
)
=>
{
return
{
ckid
:
this
.
form
.
ckid
}
},
"transform"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
},
show
:
JSON
.
parse
(
localStorage
.
getItem
(
'isKwgl'
)),
},
{
title
:
"备注"
,
field
:
"bz"
,
width
:
200
,
type
:
'inputText'
,
allowEdit
:
true
}
title
:
"容器"
,
field
:
"rqCode"
,
width
:
160
,
},
{
title
:
"唯一码"
,
field
:
"packCode"
,
width
:
160
,
},
// {
// title: "备注",
// field: "bz",
// width: 200,
// type: 'inputText',
// allowEdit: true
// }
...
...
src/views/ccgl/thgl/rkth/top/index.vue
View file @
6eff9865
...
...
@@ -39,14 +39,14 @@
config
:
{
queryDetail
:
true
,
/* 基本配置*/
url
:
'lxyl/rkgl/
c
kthtz'
,
url
:
'lxyl/rkgl/
r
kthtz'
,
tableTitle
:
[
{
title
:
"状态"
,
field
:
"zt"
,
width
:
80
,
"transform"
:
{
"url"
:
"lxyl/rkgl/
c
kthtz/init/zt"
,
"url"
:
"lxyl/rkgl/
r
kthtz/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
...
...
@@ -94,7 +94,7 @@
// field: "djly",
// width: 140,
// "transform": {
// "url": "lxyl/rkgl/
c
kthtz/init/djly",
// "url": "lxyl/rkgl/
r
kthtz/init/djly",
// "label": "name",
// "value": "id"
// }
...
...
@@ -105,7 +105,7 @@
// field: "djly",
// width: 140,
// "transform": {
// "url": "lxyl/rkgl/
c
kthtz/init/djly",
// "url": "lxyl/rkgl/
r
kthtz/init/djly",
// "label": "name",
// "value": "id"
// }
...
...
@@ -154,7 +154,7 @@
span
:
6
,
type
:
'RelSelect'
,
typeConfig
:
{
src
:
'lxyl/rkgl/
c
kthtz/init/zt'
src
:
'lxyl/rkgl/
r
kthtz/init/zt'
}
}
]
...
...
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