Commit 509f2065 authored by 张俊's avatar 张俊

服务计费规格显示

parent 2c41e9ee
......@@ -824,7 +824,7 @@ export default {
align: "center",
},
{
prop: "spcs_type",
prop: "spcs_type_name",
label: "规格类型",
minWidth: "33.33%",
align: "center",
......@@ -1420,15 +1420,17 @@ export default {
temp.forEach((e,idx) => {
e.index = idx+1
if(e.spcs_type==1){
e.gg = e.money+'/'+e.spcs_count
e.gg = e.money+'金币/'+e.spcs_count+''
e.time = '不限时长'
e.pv = e.spcs_count
e.d_price = e.money
}else if(e.spcs_type==1){
e.gg = e.money+'/月'
e.d_price = e.money/e.spcs_count+'金币/次'
e.spcs_type_name = '计次收费'
}else if(e.spcs_type==2){
e.gg = e.money+'金币/月'
e.time = '1个月'
e.pv = '不限次数'
e.d_price = '-'
e.spcs_type_name = '计时收费'
}
});
this.service_size_data =temp;
......
......@@ -487,20 +487,7 @@ export default {
minWidth: "33.33%",
align: "left",
type:'input'
},
{
label: "操作",
type: "Button",
align: "center",
width: 140,
btnList: [
{
type: "action-delete",
label: "删除",
local: true,
},
],
},
}
],
rules: {
name: [{ required: true, message: "请输入镜像名称", trigger: "blur" },
......
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