Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
fde723ed
Commit
fde723ed
authored
Aug 07, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addAccessory
parent
9e16d7c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
13 deletions
+6
-13
addAccessory.vue
pages/aps/plan/addAccessory.vue
+6
-13
No files found.
pages/aps/plan/addAccessory.vue
View file @
fde723ed
...
...
@@ -30,12 +30,12 @@
/>
</
template
>
<
template
slot-scope=
"{ row, index }"
slot=
"remarks"
>
<Input
type=
"text"
v-model=
"row.remarks"
@
on-blur=
"inputChange1(row,index)"
/>
<Input
type=
"text"
v-model=
"row.remarks"
@
on-blur=
"inputChange1(
i,
row,index)"
/>
</
template
>
</Table>
</div>
<FooterToolbar
v-show=
"footerToolbar"
>
<FooterToolbar
v-show=
"footerToolbar"
class=
"ftball"
>
<!--<div class="tip">已选{{selectItems.length}}项</div>-->
<Form
:model=
"orderForm"
:label-width=
"110"
ref=
"formValidate"
:rules=
"ruleValidate"
>
<FormItem
label=
" "
prop=
"QuotationFinishDate"
>
...
...
@@ -125,7 +125,7 @@ export default {
QuotationFinishDate
:
[
{
required
:
true
,
message
:
"
请选择齐套日期
"
,
message
:
"
_
"
,
trigger
:
"change"
,
},
],
...
...
@@ -217,7 +217,7 @@ export default {
});
}
else
if
(
this
.
curArr
==
4
)
{
//多条取消
this
.
datas
[
v
].
suport
.
forEach
((
ele
,
index
,
array
)
=>
{
this
.
datas
[
v
].
suport
.
forEach
((
ele
,
index
,
array
)
=>
{
ele
.
_checked
=
false
;
this
.
$set
(
this
.
datas
[
v
].
suport
,
index
,
ele
);
});
...
...
@@ -298,18 +298,10 @@ export default {
},
inputChange1
(
i
,
row
,
index
)
{
//输入数量
// if (row.count != 0) {
// row._checked = true;
// } else {
// row._checked = false;
// }
this
.
$set
(
this
.
datas
[
i
].
suport
,
index
,
row
);
//alert(JSON.stringify(this.datas[i].suport[index]))
},
application
()
{
//alert(JSON.stringify(this.datas));
//申请配套操作
this
.
$refs
[
"formValidate"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
let
temItems
=
[];
...
...
@@ -348,9 +340,9 @@ export default {
this
.
$Message
.
error
(
"请输入申请数量"
);
}
else
{
Api
.
supportmainCreate
(
parms
).
then
((
res
)
=>
{
// alert(JSON.stringify(res));
if
(
res
.
success
)
{
this
.
$Message
.
success
(
"申请成功"
);
this
.
$emit
(
"cancel"
);
}
});
}
...
...
@@ -376,3 +368,4 @@ export default {
},
};
</
script
>
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