Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
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
mes
mes-ui
Commits
43b1d546
Commit
43b1d546
authored
Jan 28, 2024
by
hiyonx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新销售订单sap
parent
bfc8afc1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
6 deletions
+17
-6
index.vue
src/views/mes/qt/factoryQuote/index.vue
+17
-6
No files found.
src/views/mes/qt/factoryQuote/index.vue
View file @
43b1d546
...
@@ -329,16 +329,20 @@ export default {
...
@@ -329,16 +329,20 @@ export default {
this
.
$confirm
(
'审批工厂报价'
,
''
,
{
this
.
$confirm
(
'审批工厂报价'
,
''
,
{
confirmButtonText
:
'通过'
,
confirmButtonText
:
'通过'
,
cancelButtonText
:
'驳回'
,
cancelButtonText
:
'驳回'
,
cancelButtonClass
:
'cancel-red'
,
distinguishCancelAndClose
:
1
}
).
then
(()
=>
{
}
).
then
(()
=>
{
updateFactoryQuote
({
id
:
row
.
id
,
state
:
'2'
}
).
then
(()
=>
{
updateFactoryQuote
({
id
:
row
.
id
,
state
:
'2'
}
).
then
(()
=>
{
this
.
$message
.
success
(
'操作成功'
)
this
.
$message
.
success
(
'操作成功'
)
this
.
getList
()
this
.
getList
()
}
)
}
)
}
).
catch
(()
=>
{
}
).
catch
((
action
)
=>
{
if
(
action
===
'cancel'
)
{
updateFactoryQuote
({
id
:
row
.
id
,
state
:
'0'
}
).
then
(()
=>
{
updateFactoryQuote
({
id
:
row
.
id
,
state
:
'0'
}
).
then
(()
=>
{
this
.
$message
.
success
(
'操作成功'
)
this
.
$message
.
success
(
'操作成功'
)
this
.
getList
()
this
.
getList
()
}
)
}
)
}
}
)
}
)
}
,
}
,
/** 修改按钮操作 */
/** 修改按钮操作 */
...
@@ -402,3 +406,10 @@ export default {
...
@@ -402,3 +406,10 @@ export default {
}
}
}
}
<
/script
>
<
/script
>
<
style
>
.
cancel
-
red
{
background
:
#
F56C6C
;
color
:
#
ffffff
;
}
<
/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