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
f17eab66
Commit
f17eab66
authored
Jul 26, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改手配
parent
14008603
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
HotelSupplier.vue
src/components/Hotel/HotelSupplier.vue
+4
-1
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+22
-2
No files found.
src/components/Hotel/HotelSupplier.vue
View file @
f17eab66
...
...
@@ -105,7 +105,7 @@
</el-switch>
</el-form-item>
<el-form-item
v-if=
"addMsg.IsHaveShouPeiFee==1"
label=
"手配费金额"
>
<el-input
type=
"text"
class=
"w300"
maxlength=
"
2
0"
@
keyup
.
native=
"checkPrice(addMsg,'ShouPeiMoney')"
v-model=
"addMsg.ShouPeiMoney"
></el-input>
<el-input
type=
"text"
class=
"w300"
maxlength=
"
1
0"
@
keyup
.
native=
"checkPrice(addMsg,'ShouPeiMoney')"
v-model=
"addMsg.ShouPeiMoney"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('hotel.table_tel')"
prop=
"Tel"
>
<el-input
type=
"text"
class=
"w300"
maxlength=
"20"
v-model=
"addMsg.Tel"
></el-input>
...
...
@@ -292,6 +292,9 @@ export default {
);
},
saveInfo
()
{
if
(
this
.
addMsg
.
ShouPeiMoney
==
''
){
this
.
addMsg
.
ShouPeiMoney
=
0
;
}
this
.
apipost
(
"supplier_post_Set"
,
this
.
addMsg
,
...
...
src/components/Hotel/roomReservationsDetails.vue
View file @
f17eab66
...
...
@@ -23,7 +23,7 @@
<li>
<input
v-if=
"IsOperation!=1"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
/>
<input
style=
"display:none;"
type=
"button"
class=
"fr normalBtn mb30"
value=
"保存"
@
click=
"saveList(1)"
/>
<span
v-if=
"IsOperation==1"
style=
"color:red;font-size:14px;"
>
已制单,不能
在
修改!
</span>
<span
v-if=
"IsOperation==1"
style=
"color:red;font-size:14px;"
>
已制单,不能
再
修改!
</span>
</li>
</ul>
税别计算: 单价 * (预订人数-免减人数) * (1 + 0.08 - 返佣比例 / 100)
<br
/>
...
...
@@ -143,7 +143,7 @@
供应商
</td>
<td>
<el-select
class=
'w120 sel'
v-model=
'subItem.SupplierId'
filterable
placeholder=
"请选择供应商"
>
<el-select
class=
'w120 sel'
v-model=
'subItem.SupplierId'
@
change=
"getSupplierShoupei(subItem)"
filterable
placeholder=
"请选择供应商"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
"(SupplierItem,Supplierindex) in SupplierList"
:key=
"Supplierindex"
:label=
"SupplierItem.Name"
:value=
"SupplierItem.ID"
>
...
...
@@ -442,6 +442,10 @@
</template>
</template>
</table>
<div
class=
"noDataNotice"
v-if=
"list.length<1"
>
<i
class=
"iconfont icon-kong"
></i>
<p>
{{$t('active.ld_noData')}}
</p>
</div>
</div>
</div>
</template>
...
...
@@ -714,6 +718,13 @@
}
subItem
.
isShowPop
=
false
;
subItem
.
ckedHotelName
=
""
;
//遍历手配
this
.
SupplierList
.
forEach
(
x
=>
{
if
(
x
.
ID
==
subItem
.
SupplierId
){
subItem
.
IsHaveShouPeiFee
=
x
.
IsHaveShouPeiFee
;
subItem
.
ShouPeiMoney
=
x
.
ShouPeiMoney
;
}
})
})
});
this
.
list
=
list
;
...
...
@@ -902,6 +913,15 @@
}
},
err
=>
{});
},
//改变id获取手配价格
getSupplierShoupei
(
SubItem
){
this
.
SupplierList
.
forEach
(
x
=>
{
if
(
x
.
ID
==
SubItem
.
SupplierId
){
SubItem
.
IsHaveShouPeiFee
=
x
.
IsHaveShouPeiFee
;
SubItem
.
ShouPeiMoney
=
x
.
ShouPeiMoney
;
}
})
}
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
()
...
...
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