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
7dff8461
Commit
7dff8461
authored
Aug 08, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增餐标字段
parent
69ddb3b6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
775 additions
and
739 deletions
+775
-739
bookDinnerStatisticsDetails.vue
src/components/Restaurant/bookDinnerStatisticsDetails.vue
+29
-18
restaurantInfoManage.vue
src/components/Restaurant/restaurantInfoManage.vue
+746
-721
No files found.
src/components/Restaurant/bookDinnerStatisticsDetails.vue
View file @
7dff8461
...
...
@@ -8,12 +8,12 @@
<input
type=
"button"
class=
"fr normalBtn mb30"
:value=
"$t('pub.saveBtn')"
@
click=
"saveList(1)"
:disabled=
"IsDisabled"
/>
<input
v-if=
"IsEditDinner==0"
type=
"button"
class=
"fr normalBtn mb30"
style=
"display:none;"
:value=
"$t('ground.baocuncaogao')"
@
click=
"saveList(
1
)"
:disabled=
"IsDisabled"
/>
:value=
"$t('ground.baocuncaogao')"
@
click=
"saveList()"
:disabled=
"IsDisabled"
/>
</
template
>
<
template
v-else
>
<span
style=
"color:red;font-size:14px;"
>
{{
$t
(
'ground.yizhidbnxg'
)
}}
!
</span>
<input
v-if=
"EditBtn&¤tUserInfo.EmployeeId==615"
type=
"button"
class=
"fr normalBtn mb30"
:value=
"$t('pub.saveBtn')"
@
click=
"saveList(
1
)"
/>
:value=
"$t('pub.saveBtn')"
@
click=
"saveList()"
/>
</
template
>
</li>
</ul>
...
...
@@ -215,6 +215,18 @@
</el-select>
</td>
</tr>
<tr>
<td
width=
"60"
style=
"text-align:right;"
>
订餐状态:
</td>
<td
style=
"text-align:left;"
>
<el-select
v-model=
'subItem.OrderState'
class=
'w135 sel'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.pleaseSel')"
:value=
'-1'
></el-option>
<el-option
:label=
'$t("pub.sureBtn")'
:value=
'1'
></el-option>
<el-option
:label=
'$t("visa.v_zanding")'
:value=
'2'
></el-option>
</el-select>
</td>
</tr>
<tr
v-show=
"subItem.PayStyle==6"
>
<td
width=
"60"
style=
"text-align:right;"
>
{{$t('ground.fukuanth')}}:
...
...
@@ -411,7 +423,6 @@
if
(
currentObj
&&
currentObj
.
ID
>
0
)
{
//人民币
if
(
currentObj
.
ID
==
1
)
{
obj
.
NewTotalPrice
=
currentObj
.
Name
+
":"
+
(
totalPrice
*
jpaObj
.
PayRate
).
toFixed
(
2
);
}
//日元
...
...
@@ -432,22 +443,22 @@
}
this
.
$forceUpdate
();
},
saveList
(
type
)
{
saveList
()
{
this
.
IsDisabled
=
true
;
if
(
type
==
0
)
{
this
.
list
.
forEach
(
item
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
insideItem
.
OrderState
=
0
;
})
})
}
if
(
type
==
1
)
{
this
.
list
.
forEach
(
item
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
insideItem
.
OrderState
=
1
;
})
})
}
//
if (type == 0) {
//
this.list.forEach(item => {
//
item.DiningSummaryList.forEach(insideItem => {
//
insideItem.OrderState = 0;
//
})
//
})
//
}
//
if (type == 1) {
//
this.list.forEach(item => {
//
item.DiningSummaryList.forEach(insideItem => {
//
insideItem.OrderState = 1;
//
})
//
})
//
}
this
.
list
.
forEach
(
item
=>
{
item
.
DiningSummaryList
.
forEach
(
insideItem
=>
{
if
(
insideItem
.
DiningPriceList
)
{
...
...
src/components/Restaurant/restaurantInfoManage.vue
View file @
7dff8461
This diff is collapsed.
Click to expand it.
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