|
|
|
@ -151,7 +151,12 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column property="pinyin" label="套餐简拼" width="120"></el-table-column>
|
|
|
|
<el-table-column property="pinyin" label="套餐简拼" width="120"></el-table-column>
|
|
|
|
<el-table-column property="price" sortable label="价格" width="120"></el-table-column>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table-column property="price" sortable label="价格" width="150">
|
|
|
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
|
|
|
{{ parseFloat(scope.row.price).toFixed(2) }}
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
@ -742,6 +747,9 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
window.$response(response.data, () => {
|
|
|
|
window.$response(response.data, () => {
|
|
|
|
combo_list.value = response.data.data.list;
|
|
|
|
combo_list.value = response.data.data.list;
|
|
|
|
|
|
|
|
combo_list.value.forEach((v,i) => {
|
|
|
|
|
|
|
|
combo_list.value[i].price = parseFloat(parseFloat(v.price).toFixed(2));
|
|
|
|
|
|
|
|
})
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
const input_data = ref(JSON.parse(JSON.stringify(input_data_default)));
|
|
|
|
const input_data = ref(JSON.parse(JSON.stringify(input_data_default)));
|
|
|
|
|