Commit 2ca86d7a authored by youjie's avatar youjie

no message

parent 0f4b2c00
...@@ -815,7 +815,7 @@ ...@@ -815,7 +815,7 @@
<el-table-column prop="UnitPrice" label="价格" min-width="150"> <el-table-column prop="UnitPrice" label="价格" min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input-number v-if="priceType == 1" v-model="scope.row.UnitPrice" @change="calcPrice()" <el-input-number v-if="priceType == 1" v-model="scope.row.UnitPrice" @change="calcPrice()"
:min="1" style="width:auto;"></el-input-number> :min="0" style="width:auto;"></el-input-number>
<span v-if="priceType != 1"> <span v-if="priceType != 1">
{{ scope.row.UnitPrice }} {{ scope.row.UnitPrice }}
</span> </span>
...@@ -1341,9 +1341,9 @@ ...@@ -1341,9 +1341,9 @@
var tempRoomPrice = 0; var tempRoomPrice = 0;
var tempTotalPrice = 0; var tempTotalPrice = 0;
this.postMsg.details&&this.postMsg.details.forEach(item=>{ this.postMsg.details&&this.postMsg.details.forEach(item=>{
if(!item.UnitPrice){ // if(!item.UnitPrice){
item.UnitPrice = 1 // item.UnitPrice = 1
} // }
item.Money = item.UnitPrice+item.StopBusPrice+item.RoomPrice item.Money = item.UnitPrice+item.StopBusPrice+item.RoomPrice
if (item.UnitPrice) { if (item.UnitPrice) {
tempUnitPrice += Number(item.UnitPrice); tempUnitPrice += Number(item.UnitPrice);
......
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