Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
17b260bd
Commit
17b260bd
authored
Jan 10, 2020
by
刘泽奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
a2526eb4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
107 additions
and
4 deletions
+107
-4
igirl-channel-web/app/front/vues/pages/bwselftmreg/bwselftmreg.js
+107
-4
No files found.
igirl-channel-web/app/front/vues/pages/bwselftmreg/bwselftmreg.js
View file @
17b260bd
...
@@ -1207,7 +1207,6 @@
...
@@ -1207,7 +1207,6 @@
console
.
log
(
item
,
'111111111111111111111111111111111111111'
);
console
.
log
(
item
,
'111111111111111111111111111111111111111'
);
item
.
checked
=
item
.
nclThree
.
length
;
item
.
checked
=
item
.
nclThree
.
length
;
this
.
showConfrim
=
true
;
this
.
showConfrim
=
true
;
if
(
agree
)
{
if
(
agree
)
{
if
(
!
this
.
form
.
tmName
||
!
this
.
form
.
colorizedPicUrl
)
{
if
(
!
this
.
form
.
tmName
||
!
this
.
form
.
colorizedPicUrl
)
{
this
.
$message
.
warning
(
"请完善信息"
);
this
.
$message
.
warning
(
"请完善信息"
);
...
@@ -1270,7 +1269,8 @@
...
@@ -1270,7 +1269,8 @@
this
.
form
.
tmName
=
this
.
form
.
tmFormType
==
"5"
?
this
.
form
.
tmName
+
'及图'
:
this
.
form
.
tmName
;
this
.
form
.
tmName
=
this
.
form
.
tmFormType
==
"5"
?
this
.
form
.
tmName
+
'及图'
:
this
.
form
.
tmName
;
this
.
savehistory
();
this
.
savehistory
();
console
.
log
(
this
.
$root
.
channelName
,
"///////////////"
);
console
.
log
(
this
.
$root
.
channelName
,
"///////////////"
);
if
(
this
.
$root
.
channelName
==
"jd"
||
this
.
$root
.
channelName
==
"gsbhome"
)
{
switch
(
this
.
$root
.
channelName
)
{
case
'jd'
:
/**提报接口 */
/**提报接口 */
var
obj
=
{
var
obj
=
{
...
@@ -1302,7 +1302,41 @@
...
@@ -1302,7 +1302,41 @@
that
.
$root
.
loading
=
false
;
that
.
$root
.
loading
=
false
;
that
.
$message
.
warning
(
"操作失败"
);
that
.
$message
.
warning
(
"操作失败"
);
});
});
}
else
if
(
this
.
$root
.
channelName
==
"1688"
)
{
break
;
case
'gsbhome'
:
/**提报接口 */
var
obj
=
{
tm
:
that
.
form
,
apply
:
that
.
apply
,
nclones
:
that
.
nclOne
,
itemCode
:
that
.
dataList
[
0
].
channelItemCode
,
channelUser
:
{
channelUserId
:
that
.
$route
.
query
.
channelUserId
},
channelOrder
:
{
quantity
:
1
,
payStatus
:
"dfk"
}
};
obj
.
tm
.
tmFormType
=
that
.
form
.
tmFormType
.
toString
();
this
.
$root
.
loading
=
true
;
var
jdObj
=
that
.
$root
.
copyParams
(
obj
,
"subTmOrder"
,
"/action/tmOrder/springBoard"
,
"yes"
,
"yes"
);
that
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
jdObj
).
then
(
function
(
d
)
{
that
.
$root
.
loading
=
false
;
console
.
log
(
`///////////////////////////////`
,
d
);
if
(
d
.
status
==
0
)
{
location
.
href
=
d
.
data
.
payUrl
;
}
else
{
console
.
log
(
d
,
"subTmOrder.........."
);
that
.
$message
.
warning
(
d
.
msg
);
}
}).
catch
(
function
(
e
)
{
that
.
$root
.
loading
=
false
;
that
.
$message
.
warning
(
"操作失败"
);
});
break
;
case
'1688'
:
console
.
log
(
this
.
$route
.
query
.
channelOrderNo
,
">>>>>>>>>>>>>>>>>>>>>>>"
);
console
.
log
(
this
.
$route
.
query
.
channelOrderNo
,
">>>>>>>>>>>>>>>>>>>>>>>"
);
that
.
orderSubInfo
=
{
that
.
orderSubInfo
=
{
tm
:
that
.
form
,
tm
:
that
.
form
,
...
@@ -1344,8 +1378,77 @@
...
@@ -1344,8 +1378,77 @@
that
.
$root
.
loading
=
false
;
that
.
$root
.
loading
=
false
;
console
.
log
(
e
);
console
.
log
(
e
);
});
});
})
});
break
;
case
'bw'
:
var
obj
=
{
tm
:
that
.
form
,
apply
:
that
.
apply
,
nclones
:
that
.
nclOne
,
itemCode
:
that
.
dataList
[
0
].
channelItemCode
,
channelUser
:
{
channelUserId
:
that
.
$route
.
query
.
channelUserId
},
channelOrder
:
{
quantity
:
1
,
payStatus
:
"dfk"
}
};
obj
.
tm
.
tmFormType
=
that
.
form
.
tmFormType
.
toString
();
this
.
$root
.
loading
=
true
;
var
jdObj
=
that
.
$root
.
copyParams
(
obj
,
"subTmOrder"
,
"/action/tmOrder/springBoard"
,
"yes"
,
"yes"
);
that
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
jdObj
).
then
(
function
(
d
)
{
that
.
$root
.
loading
=
false
;
console
.
log
(
`///////////////////////////////`
,
d
);
if
(
d
.
status
==
0
)
{
location
.
href
=
d
.
data
.
payUrl
;
}
else
{
console
.
log
(
d
,
"subTmOrder.........."
);
that
.
$message
.
warning
(
d
.
msg
);
}
}
}).
catch
(
function
(
e
)
{
that
.
$root
.
loading
=
false
;
that
.
$message
.
warning
(
"操作失败"
);
});
break
;
default
:
/**提报接口 */
var
obj
=
{
tm
:
that
.
form
,
apply
:
that
.
apply
,
nclones
:
that
.
nclOne
,
itemCode
:
that
.
dataList
[
0
].
channelItemCode
,
channelUser
:
{
channelUserId
:
that
.
$route
.
query
.
channelUserId
},
channelOrder
:
{
quantity
:
1
,
payStatus
:
"dfk"
}
};
obj
.
tm
.
tmFormType
=
that
.
form
.
tmFormType
.
toString
();
this
.
$root
.
loading
=
true
;
var
jdObj
=
that
.
$root
.
copyParams
(
obj
,
"subTmOrder"
,
"/action/tmOrder/springBoard"
,
"yes"
,
"yes"
);
that
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
jdObj
).
then
(
function
(
d
)
{
that
.
$root
.
loading
=
false
;
console
.
log
(
`///////////////////////////////`
,
d
);
if
(
d
.
status
==
0
)
{
location
.
href
=
d
.
data
.
payUrl
;
}
else
{
console
.
log
(
d
,
"subTmOrder.........."
);
that
.
$message
.
warning
(
d
.
msg
);
}
}).
catch
(
function
(
e
)
{
that
.
$root
.
loading
=
false
;
that
.
$message
.
warning
(
"操作失败"
);
});
break
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment