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
6551b208
Commit
6551b208
authored
Jul 12, 2024
by
周毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退货单增加明细关闭
parent
26740d56
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
167 additions
and
91 deletions
+167
-91
mx.vue
src/views/ccgl/ckgl/ckd/mx.vue
+1
-12
mx.vue
src/views/ccgl/kngl/bzzy/mx.vue
+11
-1
mx.vue
src/views/ccgl/rkgl/rkd/mx.vue
+5
-9
mx.vue
src/views/ccgl/thgl/ckth/mx.vue
+70
-37
ckdmx.vue
src/views/ccgl/thgl/rkth/ckdmx.vue
+76
-31
index.vue
src/views/ccgl/zlgl/jyd/top/index.vue
+4
-1
No files found.
src/views/ccgl/ckgl/ckd/mx.vue
View file @
6551b208
...
@@ -99,17 +99,6 @@
...
@@ -99,17 +99,6 @@
field
:
"zlh"
,
field
:
"zlh"
,
width
:
180
,
width
:
180
,
},
},
// {
// title: "已出数量",
// field: "ycsl",
// width: 100,
// },
// {
// title: "过账数量",
// field: "gzsl",
// width: 100,
// },
{
{
title
:
"来源单号"
,
title
:
"来源单号"
,
field
:
"lydjid"
,
field
:
"lydjid"
,
...
@@ -118,7 +107,7 @@
...
@@ -118,7 +107,7 @@
{
{
title
:
"关闭人"
,
title
:
"关闭人"
,
field
:
"gbr"
,
field
:
"gbr"
,
width
:
12
0
,
width
:
8
0
,
},
},
{
{
title
:
"关闭原因"
,
title
:
"关闭原因"
,
...
...
src/views/ccgl/kngl/bzzy/mx.vue
View file @
6551b208
...
@@ -73,7 +73,17 @@
...
@@ -73,7 +73,17 @@
title
:
"装包数量"
,
title
:
"装包数量"
,
field
:
"zbsl"
,
field
:
"zbsl"
,
fieldType
:
"float"
fieldType
:
"float"
}
},
{
title
:
"创建人"
,
field
:
"cjr"
,
fieldType
:
"ftString"
},
{
title
:
"创建时间"
,
field
:
"cjsj"
,
fieldType
:
"ftDateTime"
},
],
],
queryParams
:
[],
queryParams
:
[],
...
...
src/views/ccgl/rkgl/rkd/mx.vue
View file @
6551b208
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<el-button
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"qxgb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消关闭
</el-button>
<el-button
@
click=
"qxgb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消关闭
</el-button>
</
template
>
</
template
>
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
{
{
title
:
"关闭人"
,
title
:
"关闭人"
,
field
:
"gbr"
,
field
:
"gbr"
,
width
:
12
0
,
width
:
8
0
,
},
},
{
{
title
:
"关闭原因"
,
title
:
"关闭原因"
,
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
value
value
})
=>
{
})
=>
{
if
(
value
)
{
if
(
value
)
{
this
.
$post
(
'lxyl/rkgl/rk
dgb
/close/rktzmx'
,
{
this
.
$post
(
'lxyl/rkgl/rk
tz
/close/rktzmx'
,
{
id
:
ctx
.
singleItem
.
id
,
id
:
ctx
.
singleItem
.
id
,
gbyy
:
value
gbyy
:
value
}).
then
(
res
=>
{
}).
then
(
res
=>
{
...
@@ -184,12 +184,8 @@
...
@@ -184,12 +184,8 @@
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
type
:
'warning'
}).
then
(
res
=>
{
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/rkgl/rkdgb/batchUnClose/rktzmx'
,
{
this
.
$post
(
'lxyl/rkgl/rktz/unclose/rktzmx'
,
{
datas
:[
id
:
ctx
.
singleItem
.
id
{
id
:
ctx
.
singleItem
.
id
}
]
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
...
...
src/views/ccgl/thgl/ckth/mx.vue
View file @
6551b208
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<el-button
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"qxgb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消关闭
</el-button>
</
template
>
</
template
>
</BasePage>
</BasePage>
...
@@ -74,26 +75,6 @@
...
@@ -74,26 +75,6 @@
field
:
"jldwName"
,
field
:
"jldwName"
,
width
:
100
,
width
:
100
,
},
},
// {
// title: "应收数量",
// field: "yssl",
// width: 100,
// },
// {
// title: "码盘数量",
// field: "ztsl",
// width: 120,
// },
// {
// title: "包装数量",
// field: "bzsl",
// width: 120,
// },
// {
// title: "入库数量",
// field: "rksl",
// width: 100,
// },
{
{
title
:
"数量"
,
title
:
"数量"
,
field
:
"yssl"
,
field
:
"yssl"
,
...
@@ -104,6 +85,11 @@
...
@@ -104,6 +85,11 @@
field
:
"zbsl"
,
field
:
"zbsl"
,
fieldType
:
"float"
fieldType
:
"float"
},
},
{
title
:
"上架数量"
,
field
:
"sjsl"
,
fieldType
:
"float"
},
{
{
title
:
"入库数量"
,
title
:
"入库数量"
,
field
:
"rksl"
,
field
:
"rksl"
,
...
@@ -114,22 +100,21 @@
...
@@ -114,22 +100,21 @@
field
:
"zlh"
,
field
:
"zlh"
,
width
:
180
,
width
:
180
,
},
},
{
// {
title
:
"关闭人"
,
// title: "关闭人",
field
:
"gbr"
,
// field: "gbr",
width
:
80
,
// width: 120,
},
// },
{
// {
title
:
"关闭原因"
,
// title: "关闭原因",
field
:
"gbyy"
,
// field: "gbyy",
width
:
200
,
// width: 200,
},
// },
{
// {
title
:
"关闭时间"
,
// title: "关闭时间",
field
:
"gbsj"
,
// field: "gbsj",
fieldType
:
'ftDateTime'
// fieldType: 'ftDateTime'
},
// },
{
{
title
:
"备注"
,
title
:
"备注"
,
field
:
"bz"
,
field
:
"bz"
,
...
@@ -143,6 +128,54 @@
...
@@ -143,6 +128,54 @@
},
},
methods
:
{
methods
:
{
gb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$prompt
(
'请输入原因'
,
''
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
this
.
$post
(
'lxyl/rkgl/ckthtz/close/rktzmx'
,
{
id
:
ctx
.
singleItem
.
id
,
gbyy
:
value
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
}
else
{
this
.
$warning
(
'请输入关闭原因'
)
}
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
qxgb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/rkgl/ckthtz/unclose/rktzmx'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
getRow
(
val
)
{
getRow
(
val
)
{
this
.
$emit
(
'getRow'
,
val
)
this
.
$emit
(
'getRow'
,
val
)
},
},
...
...
src/views/ccgl/thgl/rkth/ckdmx.vue
View file @
6551b208
...
@@ -6,7 +6,8 @@
...
@@ -6,7 +6,8 @@
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button
@
click=
"gb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
关闭
</el-button>
<el-button
@
click=
"qxgb(ctx.basePage)"
size=
'mini'
type=
"primary"
>
取消关闭
</el-button>
</
template
>
</
template
>
</BasePage>
</BasePage>
...
@@ -42,7 +43,18 @@
...
@@ -42,7 +43,18 @@
/* 基本配置*/
/* 基本配置*/
url
:
'lxyl/rkgl/rkthtz/query/detail'
,
url
:
'lxyl/rkgl/rkthtz/query/detail'
,
queryUrl
:
'lxyl/rkgl/rkthtz/query/detail'
,
queryUrl
:
'lxyl/rkgl/rkthtz/query/detail'
,
tableTitle
:
[{
tableTitle
:
[
{
title
:
"状态"
,
field
:
"zt"
,
width
:
100
,
"transform"
:
{
"url"
:
"lxyl/rkgl/rkthtz/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"物料编码"
,
title
:
"物料编码"
,
field
:
"wlxxCode"
,
field
:
"wlxxCode"
,
fieldType
:
"upper"
,
fieldType
:
"upper"
,
...
@@ -72,7 +84,7 @@
...
@@ -72,7 +84,7 @@
{
{
title
:
"数量"
,
title
:
"数量"
,
field
:
"yfsl"
,
field
:
"yfsl"
,
width
:
100
,
fieldType
:
"float"
},
},
{
{
title
:
"拣货数量"
,
title
:
"拣货数量"
,
...
@@ -85,35 +97,20 @@
...
@@ -85,35 +97,20 @@
fieldType
:
"float"
fieldType
:
"float"
},
},
{
{
title
:
"状态"
,
title
:
"关闭人"
,
field
:
"zt"
,
field
:
"gbr"
,
width
:
100
,
width
:
80
,
"transform"
:
{
},
"url"
:
"lxyl/rkgl/rkthtz/init/zt"
,
{
"label"
:
"name"
,
title
:
"关闭原因"
,
"value"
:
"id"
field
:
"gbyy"
,
}
width
:
200
,
},
{
title
:
"关闭时间"
,
field
:
"gbsj"
,
fieldType
:
'ftDateTime'
},
},
// {
// title: "来源单号",
// field: "lydjid",
// width: 120,
// },
// {
// title: "关闭人",
// field: "gbr",
// width: 120,
// },
// {
// title: "关闭原因",
// field: "gbyy",
// width: 200,
// },
// {
// title: "关闭时间",
// field: "gbsj",
// fieldType: 'ftDateTime'
// },
{
{
title
:
"备注"
,
title
:
"备注"
,
field
:
"bz"
,
field
:
"bz"
,
...
@@ -127,6 +124,54 @@
...
@@ -127,6 +124,54 @@
},
},
methods
:
{
methods
:
{
gb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$prompt
(
'请输入原因'
,
''
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(({
value
})
=>
{
if
(
value
)
{
this
.
$post
(
'lxyl/rkgl/rkthtz/close/cktzmx'
,
{
id
:
ctx
.
singleItem
.
id
,
gbyy
:
value
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
}
else
{
this
.
$warning
(
'请输入关闭原因'
)
}
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
qxgb
(
ctx
)
{
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
)
{
this
.
$confirm
(
'是否继续操作, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/rkgl/rkthtz/unclose/cktzmx'
,
{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
)
{
this
.
$success
(
'操作成功'
)
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
getRow
(
val
)
{
getRow
(
val
)
{
this
.
$emit
(
'getRow'
,
val
)
this
.
$emit
(
'getRow'
,
val
)
},
},
...
...
src/views/ccgl/zlgl/jyd/top/index.vue
View file @
6551b208
...
@@ -19,7 +19,10 @@
...
@@ -19,7 +19,10 @@
<
script
>
<
script
>
// import Edit from './edit.vue'
// import Edit from './edit.vue'
import
Add
from
'./add.vue'
import
Add
from
'./add.vue'
import
wlsx
from
'common/src/mixin/wlsx.js'
import
wlphsx
from
'common/src/mixin/wlphsx.js'
export
default
{
export
default
{
mixins
:
[
wlsx
,
wlphsx
],
data
()
{
data
()
{
return
{
return
{
power
:
{
power
:
{
...
@@ -219,7 +222,7 @@
...
@@ -219,7 +222,7 @@
},
},
{
{
label
:
'来源单号'
,
label
:
'来源单号'
,
prop
:
'lyd
Code
'
,
prop
:
'lyd
jDjid
'
,
span
:
6
,
span
:
6
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
...
...
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