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
cef25d85
Commit
cef25d85
authored
Mar 13, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步采购订单
parent
bca786a3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
94 additions
and
1 deletion
+94
-1
index.vue
src/views/ccgl/rkgl/rkd/top/index.vue
+10
-1
tbcgd.vue
src/views/ccgl/rkgl/rkd/top/tbcgd.vue
+84
-0
No files found.
src/views/ccgl/rkgl/rkd/top/index.vue
View file @
cef25d85
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<Shd
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='同步送货单'"
:app=
'ctx.basePage'
/>
<Shd
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='同步送货单'"
:app=
'ctx.basePage'
/>
<Dbrktb
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='调拨入库同步'"
:app=
'ctx.basePage'
/>
<Dbrktb
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='调拨入库同步'"
:app=
'ctx.basePage'
/>
<Tbcgd
v-if=
"ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='同步采购单'"
:app=
'ctx.basePage'
/>
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
...
@@ -15,6 +16,7 @@
...
@@ -15,6 +16,7 @@
<el-button
@
click=
"sapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
SAP过账
</el-button>
<el-button
@
click=
"sapgz(ctx.basePage)"
size=
'mini'
type=
"primary"
>
SAP过账
</el-button>
<el-button
@
click=
"tbshd(ctx.basePage)"
size=
'mini'
type=
"primary"
>
同步送货单
</el-button>
<el-button
@
click=
"tbshd(ctx.basePage)"
size=
'mini'
type=
"primary"
>
同步送货单
</el-button>
<el-button
@
click=
"dbrktb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
调拨入库同步
</el-button>
<el-button
@
click=
"dbrktb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
调拨入库同步
</el-button>
<el-button
@
click=
"tbcgd(ctx.basePage)"
size=
'mini'
type=
"primary"
>
同步采购单
</el-button>
<!--
<el-button
@
click=
"qktjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
清空推荐库位
</el-button>
-->
<!--
<el-button
@
click=
"qktjkw(ctx.basePage)"
size=
'mini'
type=
"primary"
>
清空推荐库位
</el-button>
-->
</
template
>
</
template
>
...
@@ -25,6 +27,7 @@
...
@@ -25,6 +27,7 @@
import
Edit
from
'./edit.vue'
import
Edit
from
'./edit.vue'
import
Shd
from
'./shd.vue'
import
Shd
from
'./shd.vue'
import
Dbrktb
from
'./dbrktb.vue'
import
Dbrktb
from
'./dbrktb.vue'
import
Tbcgd
from
'./tbcgd.vue'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -219,6 +222,11 @@
...
@@ -219,6 +222,11 @@
},
},
methods
:
{
methods
:
{
tbcgd
(
ctx
){
ctx
.
DialogWidth
=
'35vw'
ctx
.
DialogTitle
=
'同步采购单'
ctx
.
showDialog
=
true
},
tbshd
(
ctx
){
tbshd
(
ctx
){
ctx
.
DialogWidth
=
'35vw'
ctx
.
DialogWidth
=
'35vw'
ctx
.
DialogTitle
=
'同步送货单'
ctx
.
DialogTitle
=
'同步送货单'
...
@@ -319,7 +327,8 @@
...
@@ -319,7 +327,8 @@
components
:
{
components
:
{
Edit
,
Edit
,
Shd
,
Shd
,
Dbrktb
Dbrktb
,
Tbcgd
}
}
}
}
...
...
src/views/ccgl/rkgl/rkd/top/tbcgd.vue
0 → 100644
View file @
cef25d85
<
template
>
<DefaultDialog
v-loading=
'isLoading'
:element-loading-text=
"text"
:app=
'app'
>
<div
slot=
"form"
style=
""
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<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"
v-if=
"(item.show==false)?false:true"
:prop=
'item.prop'
:key=
"item.prop"
:type=
"item.type"
:typeConfig=
'item.typeConfig'
:rule=
"item.rule"
/>
<!-- 额外数据 -->
</el-row>
</el-form>
</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>
</span>
</div>
</DefaultDialog>
</
template
>
<
script
>
import
{
editMixin
,
editMixin_expand
}
from
'common'
export
default
{
mixins
:
[
editMixin
,
editMixin_expand
],
props
:
{
app
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
}
},
async
mounted
()
{
/* 初始化数据 */
},
data
()
{
return
{
isLoading
:
false
,
text
:
'正在请求中...'
,
readonly
:
false
,
editColItemList
:[
{
label
:
'采购订单号'
,
prop
:
'cgddh'
,
span
:
24
,
type
:
'input'
,
value
:
''
,
"required"
:
true
,
}
]
}
},
methods
:
{
save
(){
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
){
this
.
isLoading
=
true
this
.
$post
(
'lxyl/rkgl/rktz/sync/cgd'
,
this
.
form
).
then
(
res
=>
{
if
(
res
.
success
){
this
.
isLoading
=
false
this
.
$success
(
'操作成功'
)
this
.
app
.
showDialog
=
false
this
.
app
.
$refs
.
TablePager
.
refresh
()
}
}).
finally
(
res
=>
{
this
.
isLoading
=
false
})
}
})
}
}
}
</
script
>
<
style
scoped
>
</
style
>
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