Commit 3120c7bc authored by 黄奎's avatar 黄奎

页面修改

parent bac47a48
...@@ -124,7 +124,7 @@ ...@@ -124,7 +124,7 @@
<template v-if="item.Unit_Price>=0"> <template v-if="item.Unit_Price>=0">
{{item.Unit_Price.toFixed(2)}} {{item.Unit_Price.toFixed(2)}}
</template> </template>
<template v-else > <template v-else>
<span class="redstyle">{{item.Unit_Price.toFixed(2)}}</span> <span class="redstyle">{{item.Unit_Price.toFixed(2)}}</span>
</template> </template>
</td> </td>
...@@ -132,16 +132,16 @@ ...@@ -132,16 +132,16 @@
<template v-if="item.PreferPrice>=0"> <template v-if="item.PreferPrice>=0">
{{item.PreferPrice.toFixed(2)}} {{item.PreferPrice.toFixed(2)}}
</template> </template>
<template v-else > <template v-else>
<span class="redstyle">{{item.PreferPrice.toFixed(2)}}</span> <span class="redstyle">{{item.PreferPrice.toFixed(2)}}</span>
</template> </template>
</td> </td>
<td style="border:none"> <td style="border:none">
<template v-if="item.Income>=0"> <template v-if="item.Income>=0">
{{item.Income.toFixed(2)}} {{item.Income.toFixed(2)}}
</template> </template>
<template v-else > <template v-else>
<span class="redstyle">{{item.Income.toFixed(2)}}</span> <span class="redstyle">{{item.Income.toFixed(2)}}</span>
</template> </template>
</td> </td>
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
<template v-if="item.DiscountMoney>=0"> <template v-if="item.DiscountMoney>=0">
{{item.DiscountMoney.toFixed(2)}} {{item.DiscountMoney.toFixed(2)}}
</template> </template>
<template v-else > <template v-else>
<span class="redstyle">{{item.DiscountMoney.toFixed(2)}}</span> <span class="redstyle">{{item.DiscountMoney.toFixed(2)}}</span>
</template> </template>
</td> </td>
...@@ -157,7 +157,7 @@ ...@@ -157,7 +157,7 @@
<template v-if="item.LessPrice>=0"> <template v-if="item.LessPrice>=0">
{{item.LessPrice.toFixed(2)}} {{item.LessPrice.toFixed(2)}}
</template> </template>
<template v-else > <template v-else>
<span class="redstyle">{{item.LessPrice.toFixed(2)}}</span> <span class="redstyle">{{item.LessPrice.toFixed(2)}}</span>
</template> </template>
</td> </td>
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
<template v-if="item.Refund>=0"> <template v-if="item.Refund>=0">
{{item.Refund.toFixed(2)}} {{item.Refund.toFixed(2)}}
</template> </template>
<template v-else > <template v-else>
<span class="redstyle">{{item.Refund.toFixed(2)}}</span> <span class="redstyle">{{item.Refund.toFixed(2)}}</span>
</template> </template>
</td> </td>
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
<template v-if="item.PlatformTax>=0"> <template v-if="item.PlatformTax>=0">
{{item.PlatformTax.toFixed(2)}} {{item.PlatformTax.toFixed(2)}}
</template> </template>
<template v-else > <template v-else>
<span class="redstyle">{{item.PlatformTax.toFixed(2)}}</span> <span class="redstyle">{{item.PlatformTax.toFixed(2)}}</span>
</template> </template>
</td> </td>
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
<template v-if="item.DueInMoney>=0"> <template v-if="item.DueInMoney>=0">
{{item.DueInMoney.toFixed(2)}} {{item.DueInMoney.toFixed(2)}}
</template> </template>
<template v-else > <template v-else>
<span class="redstyle">{{item.DueInMoney.toFixed(2)}}</span> <span class="redstyle">{{item.DueInMoney.toFixed(2)}}</span>
</template> </template>
</td> </td>
...@@ -303,15 +303,16 @@ ...@@ -303,15 +303,16 @@
<th>姓名</th> <th>姓名</th>
<th style="width:180px;">合同编号</th> <th style="width:180px;">合同编号</th>
<th>状态</th> <th>状态</th>
<th width="170px;" v-if="AuthorityObj.isShowEdit">操作</th> <th width="170px;">操作</th>
</tr> </tr>
<tr v-for="subItem in item.GuestList"> <tr v-for="subItem in item.GuestList">
<td>{{subItem.GuestName}}</td> <td>{{subItem.GuestName}}</td>
<td>{{subItem.ContractNo}}</td> <td>{{subItem.ContractNo}}</td>
<td>{{subItem.ContractStatusStr}}</td> <td>{{subItem.ContractStatusStr}}</td>
<td v-if="AuthorityObj.isShowEdit"> <td>
<template v-if="subItem.ContractId==0"> <template v-if="subItem.ContractId==0">
<q-btn color="accent" size="sm" @click="takeContractTwo(item,subItem)" label="领取合同" /> <q-btn v-if="AuthorityObj.isShowEdit" color="accent" size="sm"
@click="takeContractTwo(item,subItem)" label="领取合同" />
</template> </template>
<template v-else> <template v-else>
<q-btn color="secondary" size="sm" @click="goContractMannage(subItem)" label="查看合同" /> <q-btn color="secondary" size="sm" @click="goContractMannage(subItem)" label="查看合同" />
...@@ -1572,8 +1573,9 @@ ...@@ -1572,8 +1573,9 @@
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
} }
.classorder .redstyle{
color:var(--q-color-negative); .classorder .redstyle {
color: var(--q-color-negative);
} }
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment