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
a4721a90
Commit
a4721a90
authored
Mar 21, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
仓库url 自动带货主
parent
9db2094a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
99 additions
and
91 deletions
+99
-91
edit.vue
src/views/ccgl/ckgl/jhd/top/edit.vue
+1
-1
edit.vue
src/views/ccgl/jcsj/ckgl/edit.vue
+90
-87
index.vue
src/views/ccgl/jcsj/ckgl/index.vue
+1
-1
edit.vue
src/views/ccgl/rkgl/rkd/top/edit.vue
+1
-0
edit.vue
src/views/ccgl/rkgl/sjrw/top/edit.vue
+6
-2
No files found.
src/views/ccgl/ckgl/jhd/top/edit.vue
View file @
a4721a90
...
@@ -195,7 +195,7 @@
...
@@ -195,7 +195,7 @@
"value"
:
""
,
"value"
:
""
,
"required"
:
true
,
"required"
:
true
,
"typeConfig"
:
{
"typeConfig"
:
{
"src"
:
"
jcsj
/common/ck/queryCkid"
,
"src"
:
"
lxyl
/common/ck/queryCkid"
,
"match"
:
{
"match"
:
{
"value"
:
"id"
,
"value"
:
"id"
,
"label"
:
"name"
"label"
:
"name"
...
...
src/views/ccgl/jcsj/ckgl/edit.vue
View file @
a4721a90
<
template
>
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
v-rule=
"
{
<el-form-item
v-rule=
"
{
required:true,
required:true,
rules:rules,
rules:rules,
}"
label="仓库编码" ref="code" prop="code">
}" label="仓库编码" ref="code" prop="code">
<el-input
:readonly=
"readonly"
v-model=
"form.code"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.code"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
v-rule=
"
{
<el-form-item
v-rule=
"
{
required:true,
required:true,
rules:rules,
rules:rules,
}"
label="仓库名称" ref="name" prop="name">
}" label="仓库名称" ref="name" prop="name">
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"入库单前缀"
ref=
"rkdqz"
prop=
"rkdqz"
>
<el-form-item
label=
"入库单前缀"
ref=
"rkdqz"
prop=
"rkdqz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.rkdqz"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.rkdqz"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"出库单前缀"
ref=
"ckdqz"
prop=
"ckdqz"
>
<el-form-item
label=
"出库单前缀"
ref=
"ckdqz"
prop=
"ckdqz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.ckdqz"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.ckdqz"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
v-rule=
"
{
<el-form-item
v-rule=
"
{
required:true,
required:true,
rules:rules,
rules:rules,
}" label="仓库分类" ref="flid" prop="flid">
}" label="仓库分类" ref="flid" prop="flid">
<RelSelect
style=
"width: 100%;"
src=
'wms/common/query/ckfl'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
<RelSelect
style=
"width: 100%;"
src=
'wms/common/query/ckfl'
clearable
:match=
"
{value:'id',label:'name'}"
</el-form-item>
v-model='form.flid'>
</RelSelect>
</el-col>
</el-form-item>
<el-col
:span=
"12"
>
</el-col>
<el-form-item
v-rule=
"
{
<el-col
:span=
"12"
>
<el-form-item
v-rule=
"
{
required:true,
required:true,
rules:rules,
rules:rules,
}" label="工厂" ref="hzid" prop="hzid">
}" label="工厂" ref="gcid" prop="gcid">
<RelSelect
style=
"width: 100%;"
src=
'wms/jcsj/hz/query'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.hzid' >
</RelSelect>
<RelSelect
style=
"width: 100%;"
src=
'wms/jcsj/hz/query'
clearable
:match=
"
{value:'id',label:'name'}"
</el-form-item>
v-model='form.gcid'>
</RelSelect>
</el-col>
</el-form-item>
<el-col
:span=
"12"
>
</el-col>
<el-form-item
label=
"保管员"
ref=
"bgy"
prop=
"bgy"
>
<el-col
:span=
"12"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bgy"
></el-input>
<el-form-item
label=
"保管员"
ref=
"bgy"
prop=
"bgy"
>
</el-form-item>
<el-input
:readonly=
"readonly"
v-model=
"form.bgy"
></el-input>
</el-col>
</el-form-item>
<el-col
:span=
"24"
>
</el-col>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-col
:span=
"24"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
</el-form-item>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-col>
</el-form-item>
<el-col
:span=
"12"
>
</el-col>
<el-form-item>
<el-col
:span=
"12"
>
<el-checkbox
v-model=
"form.kwgl"
true-label=
"Y"
false-label=
"N"
>
库位管理
</el-checkbox>
<el-form-item>
</el-form-item>
<el-checkbox
v-model=
"form.kwgl"
true-label=
"Y"
false-label=
"N"
>
库位管理
</el-checkbox>
</el-col>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item>
<el-form-item>
<el-checkbox
v-model=
"form.wcs"
true-label=
"Y"
false-label=
"N"
>
集成WCS
</el-checkbox>
<el-checkbox
v-model=
"form.wcs"
true-label=
"Y"
false-label=
"N"
>
集成WCS
</el-checkbox>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
</RelDialog>
</RelDialog>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
editMixin
}
from
'common'
import
{
export
default
{
editMixin
mixins
:
[
editMixin
],
}
from
'common'
/* 存放index页面传递的额外参数*/
export
default
{
mounted
()
{
mixins
:
[
editMixin
],
},
/* 存放index页面传递的额外参数*/
/* 组件名称*/
mounted
()
{},
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
/* 组件名称*/
data
()
{
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
return
{
data
()
{
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
return
{
form
:
{
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
code
:
''
,
form
:
{
id
:
''
,
code
:
''
,
name
:
''
,
id
:
''
,
rkdqz
:
''
,
name
:
''
,
ckdqz
:
''
,
rkdqz
:
''
,
flid
:
''
,
ckdqz
:
''
,
bgy
:
''
,
flid
:
''
,
bz
:
''
,
bgy
:
''
,
gysgl
:
'N'
,
bz
:
''
,
kwgl
:
'N'
gysgl
:
'N'
,
kwgl
:
'N'
,
gcid
:
''
}
}
},
methods
:
{
}
}
}
}
},
methods
:
{}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
...
...
src/views/ccgl/jcsj/ckgl/index.vue
View file @
a4721a90
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
},
},
{
{
title
:
"工厂"
,
title
:
"工厂"
,
field
:
"
hz
Name"
,
field
:
"
gc
Name"
,
width
:
120
width
:
120
},
},
{
{
...
...
src/views/ccgl/rkgl/rkd/top/edit.vue
View file @
a4721a90
...
@@ -262,6 +262,7 @@ import { Row } from 'element-ui'
...
@@ -262,6 +262,7 @@ import { Row } from 'element-ui'
}
}
},
},
{
{
readonly
:
true
,
label
:
'货主'
,
label
:
'货主'
,
prop
:
'hzid'
,
prop
:
'hzid'
,
span
:
8
,
span
:
8
,
...
...
src/views/ccgl/rkgl/sjrw/top/edit.vue
View file @
a4721a90
...
@@ -211,10 +211,14 @@
...
@@ -211,10 +211,14 @@
readonly
:(
this
.
type
==
'edit'
||
this
.
type
==
'view'
)?
true
:
false
,
readonly
:(
this
.
type
==
'edit'
||
this
.
type
==
'view'
)?
true
:
false
,
"required"
:
true
,
"required"
:
true
,
"typeConfig"
:
{
"typeConfig"
:
{
"src"
:
"
jcsj
/common/ck/queryCkid"
,
"src"
:
"
lxyl
/common/ck/queryCkid"
,
"match"
:
{
"match"
:
{
"value"
:
"id"
,
"value"
:
"id"
,
"label"
:
"name"
"label"
:
"name"
},
change
:(
row
)
=>
{
this
.
form
.
hzName
=
row
.
hzName
this
.
form
.
hzid
=
row
.
hzid
}
}
}
}
},
},
...
@@ -296,7 +300,7 @@
...
@@ -296,7 +300,7 @@
prop
:
'hzid'
,
prop
:
'hzid'
,
span
:
8
,
span
:
8
,
type
:
'AuxInput'
,
type
:
'AuxInput'
,
readonly
:
(
this
.
type
==
'edit'
||
this
.
type
==
'view'
)?
true
:
fals
e
,
readonly
:
tru
e
,
typeConfig
:
{
typeConfig
:
{
isRequest
:
true
,
isRequest
:
true
,
code
:
'HZID'
,
code
:
'HZID'
,
...
...
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