Commit e9805103 by 刘泽奇

123

parent b3eb9bb4
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -16,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>
......@@ -26,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",
......@@ -59,9 +59,6 @@
totalSum: null,
}
},
back: {
path: `/servicedetails?isDirectJump=1&sdsId=${this.$route.query.sdsId}`
}
}
},
mounted: function() {
......@@ -86,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(){
......
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