Commit 57e8eab9 by 王栋源

wdy

parent 6e456cdc
...@@ -32,22 +32,22 @@ class TradeTransferAPI extends APIBase { ...@@ -32,22 +32,22 @@ class TradeTransferAPI extends APIBase {
} }
async test(pobj, query){ async test(pobj, query){
var url = 'http://jaxiya.gongsibao.com/orders/refuse'; var url = 'https://jaxiya.gongsibao.com/orders/refuse';
var result = await client.post(url, { var result = await client.post(url, {
data:{ data:{
"BizId":"dd541635415234345", "BizId":"trademark_prepayment_pre-cn-o401er9gv01",
"UserName":"tom", "UserName":"阿里云",
"Mobile":"15900152417", "Mobile":"18600480430",
"RegisterNumber":"1525555", "RegisterNumber":"25559504",
"Classification":"02", "Classification":"20",
"Price":"5000" "Price":"10"
}, },
headers: { headers: {
accept: 'application/json' accept: 'application/json'
} }
}); });
return result;
console.log(JSON.stringify(result)); console.log(JSON.stringify(result));
} }
exam() { exam() {
......
...@@ -95,7 +95,7 @@ class TradetransferCtl extends CtlBase { ...@@ -95,7 +95,7 @@ class TradetransferCtl extends CtlBase {
gobj.reqbody.FileType = 'PARTNER_SYNC_FILE'; gobj.reqbody.FileType = 'PARTNER_SYNC_FILE';
} }
try { try {
var rst = await self.service.aliclient.reqbyget(gobj); var rst = await self.service.aliclient(gobj);
console.log(rst) console.log(rst)
var source = { var source = {
OSSAccessKeyId: rst.AccessId, OSSAccessKeyId: rst.AccessId,
......
...@@ -3,7 +3,7 @@ module.exports={ ...@@ -3,7 +3,7 @@ module.exports={
columnMetaData:[ columnMetaData:[
{"width":"100","label":"买方姓名 ","prop":"user_name","isShowTip":true,"isTmpl":false}, {"width":"100","label":"买方姓名 ","prop":"user_name","isShowTip":true,"isTmpl":false},
{"width":"80","label":"注册号","prop":"tm_number","isShowTip":true,"isTmpl":false}, {"width":"80","label":"注册号","prop":"tm_number","isShowTip":true,"isTmpl":false},
{"width":"80","label":"状态","prop":"status_name","isShowTip":true,"isTmpl":false}, {"width":"80","label":"状态","prop":"tranfer_status_name","isShowTip":true,"isTmpl":false},
{"width":"100","label":"买方电话","prop":"mobile","isShowTip":true,"isTmpl":false}, {"width":"100","label":"买方电话","prop":"mobile","isShowTip":true,"isTmpl":false},
{"width":"100","label":"尼斯大类","prop":"ncl_one","isShowTip":true,"isTmpl":false}, {"width":"100","label":"尼斯大类","prop":"ncl_one","isShowTip":true,"isTmpl":false},
{"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true}, {"width":"null","label":"操作","name":"null","isShowTip":false,"isTmpl":true,"isBtns":true},
...@@ -24,14 +24,6 @@ module.exports={ ...@@ -24,14 +24,6 @@ module.exports={
{"type":"input","label":"邮寄单号","prop":"logistics","disabled":false,"placeHolder":"邮寄单号","style":""}, {"type":"input","label":"邮寄单号","prop":"logistics","disabled":false,"placeHolder":"邮寄单号","style":""},
] ]
}, },
{
"title":"办理资料",
ctls:[
{"type":"upload","label":"商标证","prop":"tm_cert_url","disabled":false,"placeHolder":"","style":""},
{"type":"upload","label":"转让证明","prop":"transfer_cert_url","placeHolder":"应用名称","style":""},
{"type":"upload","label":"公证书","prop":"notarization_url","disabled":false,"placeHolder":"","style":"width:100px;height:100px"},
]
},
], ],
"search":[ "search":[
{ {
......
...@@ -89,7 +89,7 @@ class TradetransferService extends ServiceBase { ...@@ -89,7 +89,7 @@ class TradetransferService extends ServiceBase {
fq_ordernum: obj.fq_ordernum fq_ordernum: obj.fq_ordernum
} }
var rtn = await this.create(source); var rtn = await this.create(source);
if(rtn){ if (rtn) {
return { return {
"status": 0, "status": 0,
"msg": "success", "msg": "success",
...@@ -100,7 +100,7 @@ class TradetransferService extends ServiceBase { ...@@ -100,7 +100,7 @@ class TradetransferService extends ServiceBase {
}, },
"requestid": obj.requestid "requestid": obj.requestid
} }
}else{ } else {
return { return {
"status": -1, "status": -1,
"msg": "error", "msg": "error",
...@@ -275,6 +275,8 @@ class TradetransferService extends ServiceBase { ...@@ -275,6 +275,8 @@ class TradetransferService extends ServiceBase {
obj.seller_proxy = obj.seller_proxy == null ? null : obj.seller_proxy.split("com//")[1]; obj.seller_proxy = obj.seller_proxy == null ? null : obj.seller_proxy.split("com//")[1];
obj.tm_cert_url = obj.tm_cert_url == null ? null : obj.tm_cert_url.split("com//")[1]; obj.tm_cert_url = obj.tm_cert_url == null ? null : obj.tm_cert_url.split("com//")[1];
obj.seller_apply = obj.seller_apply == null ? null : obj.seller_apply.split("com//")[1]; obj.seller_apply = obj.seller_apply == null ? null : obj.seller_apply.split("com//")[1];
obj.transfer_cert_url = obj.transfer_cert_url == null ? null : obj.transfer_cert_url.split("com//")[1];
obj.notarization_url= obj.notarization_url == null ? null : obj.notarization_url.split("com//")[1];
obj.user_type = obj.user_type == "person" ? 2 : 1; obj.user_type = obj.user_type == "person" ? 2 : 1;
var sobj = { var sobj = {
action: "SupplyMaterail", action: "SupplyMaterail",
...@@ -295,7 +297,7 @@ class TradetransferService extends ServiceBase { ...@@ -295,7 +297,7 @@ class TradetransferService extends ServiceBase {
SellerProxy: obj.seller_proxy, SellerProxy: obj.seller_proxy,
RegistrationCert: obj.tm_cert_url, RegistrationCert: obj.tm_cert_url,
SellerApply: obj.seller_apply, SellerApply: obj.seller_apply,
Notarization: obj.notarization Notarization: obj.notarization_url + "," + obj.transfer_cert_url
} }
} }
console.log(sobj); console.log(sobj);
......
...@@ -77,6 +77,11 @@ ...@@ -77,6 +77,11 @@
mtype="test"> mtype="test">
</gsb-aliupload> </gsb-aliupload>
</el-form-item> </el-form-item>
<el-form-item label="转让证明" style="width:600px;">
<gsb-aliupload v-model="supplymaterail.transfer_cert_url" @uploadsuccess="upsuccess"
mtype="test">
</gsb-aliupload>
</el-form-item>
<el-form-item label="公证书" style="width:600px;"> <el-form-item label="公证书" style="width:600px;">
<gsb-aliupload v-model="supplymaterail.notarization_url" @uploadsuccess="upsuccess" <gsb-aliupload v-model="supplymaterail.notarization_url" @uploadsuccess="upsuccess"
mtype="test"> mtype="test">
......
{ {
template:'${tmpl}', template: '${tmpl}',
data:function(){ data: function() {
return { return {
multipleSelection: [], multipleSelection: [],
isSingleSelect:false, isSingleSelect: false,
bizCode:'mytradetransferdiliver', bizCode: 'mytradetransferdiliver',
showUploadform:false, showUploadform: false,
f1:"", f1: "",
} }
}, },
mounted:function(){ mounted: function() {
}, },
created:function(){ created: function() {
/* if(this.codePath.indexOf("appuser")>=0){ /* if(this.codePath.indexOf("appuser")>=0){
this.bizCode="appuser"; this.bizCode="appuser";
}else{ }else{
this.bizCode="allusers"; this.bizCode="allusers";
}*/ }*/
}, },
methods:{ methods: {
validateformmethod(rule,value,cbk){ validateformmethod(rule, value, cbk){
return cbk(); return cbk();
}, },
onDlgFormClick(k,model){ onDlgFormClick(k, model){
if(k="submit"){ if (k = "submit") {
debugger;
this.$root.postReq("/web/transfer/tradetransferCtl/submit", model).then(function (d) { this.$root.postReq("/web/transfer/tradetransferCtl/submit", model).then(function (d) {
debugger;
if (d.status > -1) { if (d.status > -1) {
this.$root.hideMask(); $("[name='grdid']").show();
$("[name='frmid']").hide();
this.$message({ this.$message({
type: 'success', type: 'success',
message: '提交成功!' message: '提交成功!'
...@@ -40,27 +39,27 @@ ...@@ -40,27 +39,27 @@
}) })
} }
}, },
onColFormater(row,column,cellvalue,index){ onColFormater(row, column, cellvalue, index){
return cellvalue; return cellvalue;
}, },
handleSelectionChange:function(val){ handleSelectionChange: function(val) {
this.multipleSelection = val; this.multipleSelection = val;
console.log(val); console.log(val);
}, },
fetchData:function(){ fetchData: function() {
}, },
onRowClick(row,key,e){ onRowClick(row, key, e){
if(key=="upfiles"){ if (key == "upfiles") {
console.log(this.$router); console.log(this.$router);
this.$router.push({ path: "/tansfersupplymaterail", query: {ali_bizid:row.ali_bizid} }); this.$router.push({ path: "/tansfersupplymaterail", query: { ali_bizid: row.ali_bizid } });
} }
if(key=="notar"){ if (key == "notar") {
console.log(this.$router); console.log(this.$router);
this.$router.push({ path: "/mynotarizationflow", query: {ali_bizid:row.ali_bizid} }); this.$router.push({ path: "/mynotarizationflow", query: { ali_bizid: row.ali_bizid } });
} }
}, },
upsuccess(result){ upsuccess(result){
...@@ -68,9 +67,9 @@ ...@@ -68,9 +67,9 @@
} }
}, },
computed: Vuex.mapState({ computed: Vuex.mapState({
headStyle:function(){ headStyle: function () {
return {"background-color":"white"}; return { "background-color": "white" };
} }
}), }),
vname:"gsb-tradetransferdiliver" vname: "gsb-tradetransferdiliver"
} }
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