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
fcc30a2a
Commit
fcc30a2a
authored
Jul 04, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购物店保存数据重复修改
parent
682e908d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
ShoppingReimbursementDetails.vue
...components/ShoppingStore/ShoppingReimbursementDetails.vue
+11
-6
No files found.
src/components/ShoppingStore/ShoppingReimbursementDetails.vue
View file @
fcc30a2a
...
...
@@ -3,7 +3,7 @@
<div
class=
"query-box"
style=
"border-bottom: none;"
>
<ul>
<li>
<input
type=
"button"
class=
"normalBtn"
value=
"保存
"
@
click=
"SaveData()"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"SaveText"
:disabled=
"IsDisable
"
@
click=
"SaveData()"
/>
</li>
</ul>
</div>
...
...
@@ -14,7 +14,7 @@
<th
colspan=
"8"
>
地接OP
</th>
</tr>
<tr>
<th
width=
"120"
>
进店团号
</th>
<th
width=
"120"
style=
"display:none;"
>
进店团号
</th>
<th
width=
"180"
>
店名
</th>
<th
width=
"90"
>
公司
</th>
<th
width=
"120"
>
进店时间
</th>
...
...
@@ -36,7 +36,7 @@
</tr>
<tbody
v-for=
"(item,outindex) in list"
:class=
"
{roomReservationsSplitTrCss:outindex%2!=0}">
<tr
v-for=
"(subItem,subIndex) in item.ShopDetailsList"
>
<td
class=
"more_td"
v-if=
"subIndex==0"
:rowspan=
"item.ShopDetailsList.length"
>
<td
class=
"more_td"
v-if=
"subIndex==0"
:rowspan=
"item.ShopDetailsList.length"
style=
"display:none;"
>
<!--进店团号-->
<el-input
v-model=
"item.ShopDetailsList[0].ShopNum"
></el-input>
</td>
...
...
@@ -89,7 +89,7 @@
<el-input
type=
"number"
v-model=
"item.ShopDetailsList[0].GuideCommission"
></el-input>
<!--GuideCommission 导游佣金应付-->
</td>
<td
class=
"more_td _height_45"
>
<td
class=
"more_td _height_45"
>
<el-input
type=
"number"
v-model=
"subItem.CompanyCommission"
></el-input>
<!--CompanyCommission 公司佣金应收-->
</td>
...
...
@@ -132,6 +132,8 @@
export
default
{
data
()
{
return
{
SaveText
:
"保存"
,
IsDisable
:
false
,
//是否禁用
loading
:
false
,
list
:
[],
upIndex
:
''
,
...
...
@@ -274,9 +276,13 @@
},
//保存数据
SaveData
()
{
this
.
SaveText
=
"保存中.."
;
this
.
IsDisable
=
true
;
this
.
apipost
(
"dmcstatistics_get_SetPriceShop"
,
this
.
list
,
res
=>
{
this
.
SaveText
=
"保存"
;
this
.
IsDisable
=
false
;
let
_this
=
this
;
this
.
Info
(
res
.
data
.
message
);
setTimeout
(
function
()
{
...
...
@@ -322,5 +328,4 @@
cursor
:
pointer
;
}
</
style
>
\ No newline at end of file
</
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