Commit 16592e5c by 刘泽奇

123

parent d31b401b
......@@ -56,7 +56,7 @@
</div>
<div>
<p>商标名称:<span>{{deliveryInfo.tmName}}</span></p>
<p>商标类型:<span>{{deliveryInfo.tmType}}</span></p>
<p>商标类型:<span>{{deliveryInfo.tmFormType}}</span></p>
<p>商标说明:<span>{{deliveryInfo.notes}}</span></p>
</div>
......@@ -72,7 +72,7 @@
广告销售
<span>-1213</span>
<span>初审公告</span>
<span v-if="itemName" @click="showDialog(2)"><i class="el-icon-edit"></i> 修改</span>
<span v-if="itemName" @click="showDialog(2,index)"><i class="el-icon-edit"></i> 修改</span>
</div>
<div class="jdindentdetail-main-type-services">
<p>商品服务项目:</p>
......@@ -157,7 +157,7 @@
付款信息
</div>
<div>
<span>实付金额:<span>{{form.totalSum}}</span></span>
<span>实付金额:<span>¥{{form.totalSum}}</span></span>
<span>官费:<span>¥300.00</span></span>
<!-- <span>支付时间:<span>¥300.00</span></span> -->
<!-- <span>优惠额度:<span>¥300.00</span></span> -->
......@@ -189,7 +189,7 @@
<div style="clear:both;"></div>
<el-form-item label="商标名称" style="width:845px;float:left" prop="name"
v-if="form.tmFormType != 4">
<el-input v-model="form.name" style="width:330px" placeholder="请输入商标名称"></el-input><span
<el-input v-model="form.tmName" style="width:330px" placeholder="请输入商标名称"></el-input><span
v-if="form.tmFormType == 5"
style="font-size:14px;font-family:PingFangSC-Regular;font-weight:400;color:rgba(99,101,105,1);margin-left: 10px">及图</span>
</el-form-item>
......
......@@ -173,7 +173,7 @@
},
form: {
tmFormType: 3,
name: "",
tmName: "",
picUrl: "",
colorizedPicUrl: "",
selecttype: "自主选择",
......@@ -206,7 +206,7 @@
notes: "",
},
rules: {
name: [
tmName: [
{ required: true, message: '请输入商标名称' }
],
picUrl: [
......@@ -305,7 +305,10 @@
channelUserId: "",
itemName: '',
deliveryStatus: "",
totalSum:"",
totalSum: "",
/*大类下标 */
nclIndex:"",
editNcl:{},
}
},
mounted: function() {
......@@ -320,7 +323,7 @@
that.d["success_action_status"] = d.data.success_action_status;
that.action = d.data.url;
});
console.log(this.$route.query, '11111111111');
console.log(this.$route.query, '11111111111', this.form.tmFormType);
if (this.$route.query.deliveryOrderNo != "" && this.$route.query.channelUserId != "") {
this.deliveryOrderNo = this.$route.query.deliveryOrderNo;
this.$root.channelUserId = this.$route.query.channelUserId;
......@@ -353,7 +356,7 @@
default:
break;
}
}
},
......@@ -364,6 +367,7 @@
},
methods: {
/*初始化订单数据 */
initIndent(){
var deliveryObj = this.$root.copyParams({ "deliveryOrderNo": this.deliveryOrderNo, "channelUserId": this.$root.channelUserId }, "getTmOrderInfo", "/action/tmOrder/springBoard");
......@@ -418,8 +422,9 @@
initOrderFlow(){
},
showDialog(from){
showDialog(from,index){
this.popupValue = from;
this.nclIndex = index;
this.dialogTableVisible = true;
switch (from) {
case 1:
......@@ -532,7 +537,6 @@
console.log(err);
},
uploadsuccess2(result, obj){
if (obj.flag == "zfpz") {
this.pay.offlinePayDocument = result;
}
......@@ -962,14 +966,15 @@
}
},
word2pic(){
if (this.form.name == "" || this.form.name == null) {
if (this.form.tmName == "" || this.form.tmName == null) {
this.loading = true;
this.loading = false;
return false;
}
var that = this;
this.loading = true;
var word2pic = { "key": this.form.name };
var word2pic = { "word": this.form.tmName };
console.log(word2pic, `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`);
var word2pic = this.$root.copyParams(word2pic, "word2pic", "/action/tmTools/springBoard");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", word2pic).then(function (d) {
if (d.status == 0) {
......@@ -1267,27 +1272,69 @@
console.log(v);
switch (v) {
case '商标信息':
this.form.channelUserId = this.channelUserId;
/*
this.form.channelUserId = this.channelUserId;
*/
this.form.deliveryOrderNo = this.deliveryOrderNo;
var obj = this.$root.copyParams(this.form, "updateTmInfo", "/action/tmOrder/springBoard", "yes", "yes");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((res) => {
console.log(res);
if (res.status == 0) {
console.log(res);
this.dialogTableVisible = false;
this.$message({
type: 'success',
message: '修改成功!'
});
this.$router.go(0);
} else {
this.$message(res.msg);
}
}).catch((e) => {
this.$message(e);
});
break;
case '商标类别':
var obj = this.$root.copyParams(this.form, "updateNclInfo", "/action/tmOrder/springBoard", "yes", "yes");
this.editNcl.deliveryOrderNo = this.deliveryOrderNo;
this.editNcl.tbCode = this.nclInfo[this.nclIndex].tbCode;
this.editNcl.nclOneCodes = this.nclOne;
this.editNcl.nclSmallCodes = this.nclOne;
console.log(this.nclInfo,this.nclOne,`xxxxxxxxxxxxxxxxxxxxxxxx`);
var obj = this.$root.copyParams(this.editNcl, "updateNclInfo", "/action/tmOrder/springBoard", "yes", "yes");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((res) => {
console.log(res);
if (res.status == 0) {
console.log(res);
this.dialogTableVisible = false;
this.$message({
type: 'success',
message: '修改成功!'
});
this.$router.go(0);
} else {
this.$message(res.msg);
}
}).catch((e) => {
this.$message(e);
});
break;
case '交官文件':
this.apply.deliveryOrderNo = this.deliveryOrderNo;
var obj = this.$root.copyParams(this.apply, "updateCustomerInfo", "/action/tmOrder/springBoard", "yes", "yes");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((res) => {
console.log(res);
if (res.status == 0) {
console.log(res);
this.dialogTableVisible = false;
this.$message({
type: 'success',
message: '提交成功!'
});
this.$router.go(0);
} else {
this.$message(res.msg);
}
}).catch((e) => {
this.$message(e);
});
......@@ -1296,7 +1343,18 @@
this.apply.deliveryOrderNo = this.deliveryOrderNo;
var obj = this.$root.copyParams(this.apply, "updateCustomerInfo", "/action/tmOrder/springBoard", "yes", "yes");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((res) => {
console.log(res);
if (res.status == 0) {
console.log(res);
this.dialogTableVisible = false;
this.$message({
type: 'success',
message: '提交成功!'
});
this.$router.go(0);
} else {
this.$message(res.msg);
}
}).catch((e) => {
this.$message(e);
});
......@@ -1305,7 +1363,18 @@
this.applyInfo.deliveryOrderNo = this.deliveryOrderNo;
var obj = this.$root.copyParams(this.applyInfo, "updateContacts", "/action/tmOrder/springBoard", "yes", "yes");
this.$root.postReq("/web/trademark/tmqueryCtl/doPost", obj).then((res) => {
console.log(res);
if (res.status == 0) {
console.log(res);
this.dialogTableVisible = false;
this.$message({
type: 'success',
message: '提交成功!'
});
this.$router.go(0);
} else {
this.$message(res.msg);
}
}).catch((e) => {
this.$message(e);
});
......
......@@ -66,7 +66,7 @@
<el-table :header-cell-style="{background:\'#F5F5F5;\'}" :data="tableData" style="width: 100%">
<el-table-column prop="channelServiceNo" label="订单编号">
</el-table-column>
<el-table-column prop="itemCode" label="交付单号">
<el-table-column prop="deliveryOrderNo" label="交付单号">
</el-table-column>
<el-table-column prop="itemName" label="业务类型">
</el-table-column>
......@@ -88,13 +88,13 @@
</el-table-column>
<el-table-column prop="address" label="操作">
<template slot-scope="scope">
<el-button v-show="scope.$index" style="border:0;color: #0F8EE9;" size="mini"
<el-button v-show="!showSup(scope.$index, scope.row)" style="border:0;color: #0F8EE9;" size="mini"
@click="viewDetails(scope.$index, scope.row)">&nbsp;&nbsp;&nbsp;详情&nbsp;&nbsp;&nbsp;&nbsp;
</el-button>
<el-button v-show="showSelf(scope.$index, scope.row)" style="border:0;color: #0F8EE9;margin:0;"
size="mini" @click="uploadMaterials(scope.$index, scope.row)">上传材料</el-button>
<el-button v-show="showSup(scope.$index, scope.row)" style="border:0;color: #0F8EE9;margin:0;"
size="mini" @click="goScheme(scope.$index, scope.row) = true">确认注册方案</el-button>
size="mini" @click="goScheme(scope.$index, scope.row)">确认注册方案</el-button>
</template>
</el-table-column>
</el-table>
......
......@@ -276,14 +276,14 @@
/*
console.log(index, row);
*/
if ((row.itemName == "商标自助注册" || row.itemName == "商标自主注册") && row.deliveryStatusName == "待上传材料") {
if ((row.itemCode == "zzsbzc") && row.deliveryStatusName == "待上传材料") {
return true;
} else {
return false;
}
},
showSup(index, row){
if (row.itemName == "专家辅助注册") {
if (row.itemCode == "fzsbzc") {
return true;
} else {
return false;
......@@ -298,13 +298,13 @@
}
},
goScheme(index, row){
if (row.itemName == "待确认注册方案") {
return true;
} else {
return false;
}
console.log(index,row);
this.$router.push({
path:'/1688/jdregscheme',
query:{
channelUserId: this.$root.channelUserId,
deliveryOrderNo:row.deliveryOrderNo,
}
});
},
handleSizeChange(){
......
......@@ -299,6 +299,10 @@
var that = this;
var itemCode = this.$router.history.current.query.itemCode || 'zzsbzc';
var orderParams = this.$router.history.current.query.orderParams;
if (this.$route.query.channelUserId != "") {
this.$root.channelUserId = this.$route.query.channelUserId;
console.log(this.$route.query.channelUserId, "11111111111");
}
if (orderParams) {
this.form = orderParams.tm;
this.apply = orderParams.apply;
......
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