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