Commit 1b0ef000 authored by 黄媛媛's avatar 黄媛媛

update

parent 2850ecc1
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
<td height="26px">{{da.bTotalPriceTo}}</td> <td height="26px">{{da.bTotalPriceTo}}</td>
<td height="26px">{{da.Remark}}</td> <td height="26px">{{da.Remark}}</td>
</tr> </tr>
<tr v-else @keyup.enter="addList(2,daIn+1)"> <tr class="addList2" v-else @keyup.enter="addList(2,daIn+1)">
<td height="26px"> <td height="26px">
<el-select filterable v-model='da.CostTypeId' ref='CostTypeId' :placeholder="$t('rule.qxzfyshuoming')" @change="getCostTypeName(da.CostTypeId, daIn),getRate(da.CostTypeId,da.CurrencyId,2,daIn),addList(2,daIn+1)" class=" _border_b_1"> <el-select filterable v-model='da.CostTypeId' ref='CostTypeId' :placeholder="$t('rule.qxzfyshuoming')" @change="getCostTypeName(da.CostTypeId, daIn),getRate(da.CostTypeId,da.CurrencyId,2,daIn),addList(2,daIn+1)" class=" _border_b_1">
<el-option v-for='item in GetCostTypeList' <el-option v-for='item in GetCostTypeList'
...@@ -344,7 +344,7 @@ ...@@ -344,7 +344,7 @@
</tr> </tr>
</template> </template>
<tr @keyup.enter="addList(1)"> <tr class="addList1" @keyup.enter="addList(1)">
<td > <td >
<el-select v-if="!SelectState" filterable v-model='detailList.CostTypeId' ref='CostTypeId' :placeholder="$t('rule.qxzfyshuoming')" @change="getCostTypeName(detailList.CostTypeId), getRate(detailList.CostTypeId,detailList.CurrencyId,1),addList(1)" class="_border_b_1"> <el-select v-if="!SelectState" filterable v-model='detailList.CostTypeId' ref='CostTypeId' :placeholder="$t('rule.qxzfyshuoming')" @change="getCostTypeName(detailList.CostTypeId), getRate(detailList.CostTypeId,detailList.CurrencyId,1),addList(1)" class="_border_b_1">
<el-option v-for='item in GetCostTypeList' <el-option v-for='item in GetCostTypeList'
...@@ -385,7 +385,10 @@ ...@@ -385,7 +385,10 @@
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
<td>{{detailList.yTotalPrice}}</td> <td>
<span v-if="detailList.yTotalPrice && detailList.yTotalPrice!=''">{{detailList.yTotalPrice.toFixed(2)}}</span>
<span v-else>{{detailList.yTotalPrice}}</span>
</td>
<!-- @blur="addList(1)" @change="Calculation(1)" --> <!-- @blur="addList(1)" @change="Calculation(1)" -->
<td><el-input v-model="detailList.Rate" type="text" :disabled="true" class="w80 _border_b_1"></el-input></td> <td><el-input v-model="detailList.Rate" type="text" :disabled="true" class="w80 _border_b_1"></el-input></td>
<td>{{detailList.bTotalPrice}}</td> <td>{{detailList.bTotalPrice}}</td>
...@@ -987,6 +990,10 @@ export default { ...@@ -987,6 +990,10 @@ export default {
}else{ }else{
list = JSON.parse(JSON.stringify(this.detailList)); list = JSON.parse(JSON.stringify(this.detailList));
} }
if(list.yTotalPrice && list.yTotalPrice!=''){
list.yTotalPrice=list.yTotalPrice.toFixed(2)
}
if(list.CostTypeId=='')return if(list.CostTypeId=='')return
if(list.Number=='')return if(list.Number=='')return
if(list.UnitPrice=='')return if(list.UnitPrice=='')return
......
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