Commit 2ca86d7a authored by youjie's avatar youjie

no message

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