Commit 9eec31f0 by haozhenhua

hzh

parent a42d322d
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,11 +2,13 @@
<div class="nowbuy">
<div class="nowbuy-nav">
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item :to="{ path: \'/\' }">首页</el-breadcrumb-item>
<el-breadcrumb-item :to="{ path: \'/\' }">担保商标注册</el-breadcrumb-item>
<el-breadcrumb-item>下单</el-breadcrumb-item>
</el-breadcrumb>
<div class="tm-body-breadcrumb" style="margin-bottom: 15px;"><span @click="tiaozhuan(\'/\',\'首页\')"
style="cursor: pointer;">首页</span>
<i class="el-icon-arrow-right"></i>
<span style="font-weight:600;cursor: pointer;font-weight: 300;"
@click="tiaozhuan( \'/servicedetails\',\'服务详情\',)">担保商标注册</span>
<i class="el-icon-arrow-right">下单</i>
</div>
</div>
<div class="nowbuy-main">
<div class="nowbuy-title">
......@@ -14,7 +16,7 @@
购买服务
</div>
</div>
<div>
<div style="width:1093px;border:1px solid #F3F3F3;margin-bottom: 51px;">
<el-table :data="tableData" header-row-class-name="nowbuy-tableheader" style="width: 100%">
<el-table-column prop="itemTypeName" label="服务名称" width="180">
</el-table-column>
......@@ -24,6 +26,9 @@
</el-table-column>
</el-table>
</div>
<div style="width:100%;height:1px;background:#f3f3f3;transform: translateX(-30px);margin-bottom: 30px;">
</div>
<div class="nowbuy-title">
<div>
订单联系人
......
......@@ -43,10 +43,10 @@
params: {
itemCode: "",
order_appendinfo: {
level: "市级通知",
area_list: ["广州", "天津"],
department_list: ["发改部门", "教育部门"],
type_list: ["人才类", "技术改造"]
level: "",
area_list: [],
department_list: [],
type_list: []
},
apply: {
orderType: "zzdd",
......@@ -56,12 +56,13 @@
notes: ""
},
tm: {
totalSum: 100
totalSum: null,
}
}
},
}
},
mounted: function() {
console.log(Number(this.$route.query.sdsId), `llllllkkkkkkkkkkkkkkkkkkkkkk`);
this.num = Number(this.$route.query.num);
this.getProduct();
console.log(this.$route.query);
......@@ -82,18 +83,23 @@
this.apply.orderType = "zzdd";
this.params.apply = this.apply;
this.params.itemCode = this.tableData[0].code;
this.$root.postReq("/web/orderCtl/createOtherOrder", this.params).then(function (d) {
this.$root.postReq("/web/orderCtl/createOtherOrder", this.params).then((d) => {
console.log("---------submitOrder-------");
console.log(d.msg);
if (d.code == 1) {
that.$root.pushx({
title: "订单支付",
name: "/orderpay",
params: { orderNum: d.data.code }
});
} else {
this.$message.warning(d.msg);
if (this.$store.state.currentUser == null){
this.$message.warning("未登录");
return
}
if (d.code == 1) {
this.$root.pushx({
title: "订单支付",
name: "/orderpay",
params: { orderNum: d.data.code }
});
} else {
this.$message.warning(d.msg);
}
}).catch((e) => {
console.log(e);
})
},
getProduct(){
......@@ -110,7 +116,16 @@
}
});
},
tiaozhuan(path, name, params) {
this.$root.pushx({
title: name,
name: path,
params: {
isDirectJump: 1,
sdsId: this.$route.query.sdsId
}
});
},
},
computed: {
......
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