Browse Source

console

Dev
parent
commit
ad70db3446
  1. 27
      FrontEnd/pages/service/_id.vue

27
FrontEnd/pages/service/_id.vue

@ -143,7 +143,7 @@
<h2 class="title-icon-left t16 tw-mb-[20px] md:t20 xl:tw-font-bold">
{{ $t("Service Description") }}
</h2>
<div v-for="(item,index) in expenseRules" :key="index">
<div v-for="(item,index) in expenseRules" :key="index" style="border: 1px solid red;">
<h3 class="t16 tw-mb-[20px] md:18 xl:t18 xl:tw-font-bold tw-pl-[10px]">
{{ index+1 }}.&nbsp;{{ item.ItemName }}
</h3>
@ -763,6 +763,9 @@ export default {
.then((response) => {
if(response && response.data && response.data.DATA && response.data.DATA.rel){
let data = response.data.DATA.rel
console.log(data)
if(data){
this.content.name = data.ServiceName;
this.content.highlights = data.Features;
@ -956,7 +959,10 @@ export default {
},
//()
ChangeCosts(data){
console.log("展館服務數量:" + JSON.stringify(data.value.quantity));
console.log("展館服務數量:" + data.value.quantity);
console.log(data)
let totalPrice = 0;
this.totalPrice = 0;
this.rulesShow = false;
@ -1010,14 +1016,14 @@ export default {
stackerCostRules(data1,data2){
//
console.log(this.expenseRules);
console.log('expenseRules', this.expenseRules);
console.log(data1);
console.log(data2);
console.log('data1', data1);
console.log('data2', data2);
if(this.expenseRules.ItemType == "01"){
// if(this.expenseRules.ItemType == "01"){
}
// }
@ -1060,7 +1066,7 @@ export default {
for(let i=0;i<this.expenseRules.length;i++){
let subArr = this.expenseRules[i].StackerCostRules;
console.log(subArr)
console.log('subArr', subArr)
if(this.expenseRules[i].Guid == data2.package_id && subArr.length>0){
for(let j=0;j<subArr.length;j++){
@ -1144,6 +1150,11 @@ export default {
return price;
},
OtherCostRules(data1,data2){
console.log('OtherCostRules data1: ',data1)
console.log('OtherCostRules data2: ',data2)
let price = 0;
let tmpValue = 0;
if(data1.length =="" && data1.width=="" && data1.height==""){

Loading…
Cancel
Save