Commit 1e172c68 authored by 刘殿昕's avatar 刘殿昕

服务申请字段

parent aed2afab
......@@ -183,7 +183,7 @@ export default {
//服务
this.post_arr = [data];
this.post_arr[0].service_id = parseInt(service_data.service_id);
this.post_arr[0].spec_id = parseInt(service_data.spcs_id);
this.post_arr[0].spec_id = parseInt(service_data.spec_id);
this.post_arr[0].duration_method = parseInt(
service_data.duration_unit
);
......@@ -203,7 +203,7 @@ export default {
this.service_arr[0]["size"] = "";
this.service_arr[0]["count"] = "";
data.request_spcs_info.forEach((el) => {
if (service_data.spcs_id == el.id) {
if (service_data.spec_id == el.id) {
let size = "";
let count = "";
if (el.spcs_type==1) {
......@@ -212,7 +212,7 @@ export default {
count = el.money;
} else {
size = `${el.money}金币/${el.duration_unit == 1 ? "" : ""}`;
this.service_arr[0]["num"] = service_data.duration;
this.service_arr[0]["num"] = service_data.duration + (el.duration_unit == 1 ? "个月" : "");
count = service_data.duration*el.money;
}
......
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