This commit is contained in:
lixuan
2023-02-27 09:20:14 +08:00
parent 920a9c3d28
commit cba8576e30
4 changed files with 37 additions and 11 deletions

View File

@@ -99,17 +99,17 @@
</el-table-column>
<el-table-column prop="refineryLevel" label="成本价" width="70">
<template slot-scope="{ row }">
{{ row.floorPrice }}/{{ row.measurement }}
{{ row.floorPrice|toNumberFixed }}/{{ row.measurement|toNumberFixed }}
</template>
</el-table-column>
<el-table-column prop="refineryLevel" label="企业销售价" width="100">
<template slot-scope="{ row }">
{{ row.salePrice2company }}/{{ row.measurement }}
{{ row.salePrice2company|toNumberFixed }}/{{ row.measurement|toNumberFixed }}
</template>
</el-table-column>
<el-table-column prop="refineryLevel" label="个人销售价" width="100">
<template slot-scope="{ row }">
{{ row.salePrice2personal }}/{{ row.measurement }}
{{ row.salePrice2personal|toNumberFixed }}/{{ row.measurement|toNumberFixed }}
</template>
</el-table-column>
<el-table-column label="时间" width="235">
@@ -142,7 +142,7 @@
<el-dropdown-item command="record">调价记录</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<span class="el-dropdown-link" @click="updateCreate(row)">下单</span>
<span v-show="row.enableMark=='ENABLE'" class="el-dropdown-link" @click="updateCreate(row)">下单</span>
<el-dropdown
@command="
(val) => {
@@ -232,6 +232,13 @@ export default {
autocomplete,
generalDetails,
},
filters:{
toNumberFixed(val){
if(val){
return Number(val).toFixed(2)
}else{return '暂无'}
}
},
data() {
return {
controlWindows: {