Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
c85d2388
Commit
c85d2388
authored
Sep 03, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面验证修改
parent
82cd3fa9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
39 deletions
+50
-39
ShoppingReceipt.vue
src/components/ShoppingStore/ShoppingReceipt.vue
+50
-39
No files found.
src/components/ShoppingStore/ShoppingReceipt.vue
View file @
c85d2388
<
style
>
.ShoppingReceipt
{
padding-top
:
25px
;
}
.ShoppingReceipt
.singeRowTable_two
td
{
border-top
:
0
;
border-left
:
0
;
}
.ShoppingReceipt
.singeRowTable_two
tr
:last-child
td
{
border-bottom
:
0
;
}
.ShoppingReceipt
{
padding-top
:
25px
;
}
.ShoppingReceipt
.singeRowTable_two
td
{
border-top
:
0
;
border-left
:
0
;
}
.ShoppingReceipt
.singeRowTable_two
tr
:last-child
td
{
border-bottom
:
0
;
}
</
style
>
<
template
>
<div
class=
'flexOne ShoppingReceipt'
v-loading=
"loading"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"singeRowTable"
style=
"border: 1px solid rgb(230, 230, 230);background: #ccc;width: 900px"
>
<div
class=
'flexOne ShoppingReceipt'
v-loading=
"loading"
>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"singeRowTable"
style=
"border: 1px solid rgb(230, 230, 230);background: #ccc;width: 900px"
>
<tr>
<th
colspan=
"6"
height=
"40"
>
购物店佣金回执单
</th>
</tr>
<tr>
<td
width=
"150px"
>
团号
</td>
<td
width=
"150px"
>
{{
TCID
}}
</td>
<td
width=
"150px"
>
导游姓名
</td>
<td
width=
"150px"
>
{{
GuideName
}}
</td>
<td
width=
"150px"
>
地区
</td>
<td
width=
"150px"
>
{{
StartCityNames
}}
</td>
<td
width=
"150px"
>
团号
</td>
<td
width=
"150px"
>
{{
TCID
}}
</td>
<td
width=
"150px"
>
导游姓名
</td>
<td
width=
"150px"
>
{{
GuideName
}}
</td>
<td
width=
"150px"
>
地区
</td>
<td
width=
"150px"
>
{{
StartCityNames
}}
</td>
</tr>
<tr>
<td
colspan=
"3"
width=
"450px"
>
购物店
</td>
...
...
@@ -38,14 +42,14 @@
<td
width=
"150px"
>
<input
type=
"checkbox"
v-model=
"son.IsSelect"
:disabled=
"son.SourceType===2"
>
</td>
<td
colspan=
"2"
width=
"300px"
v-if=
"index==0"
:rowspan=
"item.ShopList.length"
>
<td
colspan=
"2"
width=
"300px"
v-if=
"index==0"
:rowspan=
"item.ShopList.length"
>
<el-input
v-model=
"son.PolicyAttention"
type=
"textarea"
></el-input>
</td>
</tr>
</tbody>
</table>
<div
style=
"padding: 20px 0 20px 20px;width: 900px;text-align: right"
>
<input
type=
"button"
class=
"normalBtn"
value=
"保存"
@
click=
"saveFrom"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"保存"
@
click=
"saveFrom"
/>
</div>
</div>
</
template
>
...
...
@@ -59,14 +63,16 @@
LeaderName
:
''
,
GuideName
:
''
,
StartCityNames
:
''
,
TCID
:
''
TCID
:
''
}
},
methods
:
{
getData
:
function
()
{
this
.
loading
=
true
;
this
.
apipost
(
'dmcstatistics_post_GetDMCTravelPriceShop'
,
{
TCIDS
:
this
.
tcIdList
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
apipost
(
'dmcstatistics_post_GetDMCTravelPriceShop'
,
{
TCIDS
:
this
.
tcIdList
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
dataList
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
...
...
@@ -75,29 +81,34 @@
},
null
)
},
saveFrom
:
function
()
{
this
.
loading
=
true
;
let
saveMsg
=
[];
let
_this
=
this
;
this
.
dataList
.
forEach
(
x
=>
{
x
.
ShopList
.
forEach
(
y
=>
{
this
.
dataList
.
forEach
(
x
=>
{
x
.
ShopList
.
forEach
(
y
=>
{
if
(
y
.
IsSelect
)
{
y
.
TCIDS
=
this
.
tcIdList
;
saveMsg
.
push
(
y
)
}
})
});
this
.
apipost
(
'dmcstatistics_post_SaveDMCTravelPriceShop'
,
saveMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
setTimeout
(
function
()
{
_this
.
MsgBus
.
$emit
(
'msg'
);
_this
.
MsgBus
.
$emit
(
'refresh'
);
},
500
)
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
this
.
loading
=
false
;
},
null
)
if
(
saveMsg
&&
saveMsg
.
length
>
0
)
{
this
.
loading
=
true
;
this
.
apipost
(
'dmcstatistics_post_SaveDMCTravelPriceShop'
,
saveMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
setTimeout
(
function
()
{
_this
.
MsgBus
.
$emit
(
'msg'
);
_this
.
MsgBus
.
$emit
(
'refresh'
);
},
500
)
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
this
.
loading
=
false
;
},
null
)
}
else
{
this
.
Info
(
"请选择购物店!"
);
}
}
},
mounted
()
{
...
...
@@ -109,4 +120,4 @@
this
.
getData
()
}
};
</
script
>
</
script
>
\ No newline at end of file
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