Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
314f818a
Commit
314f818a
authored
Jul 08, 2021
by
高铭波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test(order):删除测试代码
parent
9264a81d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
complete.vue
src/pages/order/complete.vue
+3
-2
material.vue
src/pages/order/material.vue
+3
-3
No files found.
src/pages/order/complete.vue
View file @
314f818a
...
@@ -885,9 +885,10 @@ export default {
...
@@ -885,9 +885,10 @@ export default {
this
.
$set
(
this
.
form
,
key
,
data
[
key
]);
this
.
$set
(
this
.
form
,
key
,
data
[
key
]);
});
});
// 更新预计超出金额
// 更新预计超出金额
let
amount
=
this
.
calMaterialCraftListAmount
(
this
.
form
.
materialList
);
let
amount
=
0
;
amount
+=
this
.
calMaterialCraftListAmount
(
this
.
form
.
materialList
);
amount
+=
this
.
calMaterialCraftListAmount
(
this
.
form
.
craftList
);
amount
+=
this
.
calMaterialCraftListAmount
(
this
.
form
.
craftList
);
this
.
$set
(
this
.
form
,
"overAmount"
,
amount
);
this
.
$set
(
this
.
form
,
"overAmount"
,
amount
||
0
);
},
},
// 字段的值更新
// 字段的值更新
fieldValueChange
(
data
)
{
fieldValueChange
(
data
)
{
...
...
src/pages/order/material.vue
View file @
314f818a
...
@@ -206,13 +206,13 @@ export default {
...
@@ -206,13 +206,13 @@ export default {
eventChannel
.
on
(
"showMaterialData"
,
function
(
data
)
{
eventChannel
.
on
(
"showMaterialData"
,
function
(
data
)
{
if
(
!
data
||
data
.
length
===
0
)
{
if
(
!
data
||
data
.
length
===
0
)
{
self
.
getMaterialData
();
self
.
getMaterialData
();
if
(
self
.
$u
.
test
.
isEmpty
(
self
.
other
))
{
self
.
handleAdd
();
}
}
else
{
}
else
{
self
.
formatServiceMoreList
(
data
);
self
.
formatServiceMoreList
(
data
);
}
}
});
});
if
(
this
.
$u
.
test
.
isEmpty
(
this
.
other
))
{
this
.
handleAdd
();
}
},
},
created
()
{},
created
()
{},
mounted
()
{},
mounted
()
{},
...
...
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