Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
godwithdh
WX_h5
Commits
c305843a
Commit
c305843a
authored
Dec 24, 2019
by
godwithdh
Browse files
Options
Browse Files
Download
Plain Diff
chart
parents
f3afc4ab
7cb79734
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
109 additions
and
20 deletions
+109
-20
empAna.vue
src/view/tiip/IntReportForms/empAna.vue
+1
-1
index.vue
src/view/tiip/IntReportForms/index.vue
+1
-1
revenue.vue
src/view/tiip/IntReportForms/revenue.vue
+1
-1
salesStatistics.vue
src/view/tiip/IntReportForms/salesStatistics.vue
+1
-1
operate.vue
src/view/tiip/kanban/operate.vue
+6
-8
operateCustomDetail.vue
src/view/tiip/kanban/operateCustomDetail.vue
+1
-1
operateDetail.vue
src/view/tiip/kanban/operateDetail.vue
+92
-7
operateSaleDetail.vue
src/view/tiip/kanban/operateSaleDetail.vue
+6
-0
No files found.
src/view/tiip/IntReportForms/empAna.vue
View file @
c305843a
...
...
@@ -164,7 +164,7 @@ export default {
}
},
async
getData
(){
var
res
=
await
this
.
request
(
"getTi
i
pSalesinfo"
,{
var
res
=
await
this
.
request
(
"getTipSalesinfo"
,{
data
:{
dStartDate
:
this
.
search
.
dBeginDate
,
dEndDate
:
this
.
search
.
dEndDate
,
...
...
src/view/tiip/IntReportForms/index.vue
View file @
c305843a
...
...
@@ -171,7 +171,7 @@ export default {
},
methods
:{
async
init
(){
var
res
=
await
this
.
request
(
"getT
t
ipTotalamount"
,{},
"加载中"
,{})
var
res
=
await
this
.
request
(
"getTipTotalamount"
,{},
"加载中"
,{})
this
.
list
=
[
{
child
:[
...
...
src/view/tiip/IntReportForms/revenue.vue
View file @
c305843a
...
...
@@ -52,7 +52,7 @@ export default {
},
methods
:{
async
searchData
(){
this
.
list
=
await
this
.
request
(
"getTi
i
pPayinfo"
,{
this
.
list
=
await
this
.
request
(
"getTipPayinfo"
,{
data
:{
dStartDate
:
this
.
search
.
dBeginDate
,
dEndDate
:
this
.
search
.
dEndDate
...
...
src/view/tiip/IntReportForms/salesStatistics.vue
View file @
c305843a
...
...
@@ -229,7 +229,7 @@ export default {
this
.
showValue
()
},
async
getChartData
(){
var
value
=
await
this
.
request
(
'getT
t
ipSellinfo'
,{
var
value
=
await
this
.
request
(
'getTipSellinfo'
,{
params
:{
dStartDate
:
this
.
search
.
dBeginDate
,
dEndDate
:
this
.
search
.
dEndDate
...
...
src/view/tiip/kanban/operate.vue
View file @
c305843a
...
...
@@ -114,14 +114,12 @@ export default {
}
},
routerToOperateDetail
(
row
){
if
(
row
.
sType
!=
'成品入库'
&&
row
.
sType
!=
'收货'
){
let
data
=
util
.
deepClone
(
row
);
data
.
begin_date
=
util
.
dateFormat
(
this
.
start
,
"yyyy-MM-dd"
);
data
.
end_date
=
(
this
.
end
?
util
.
dateFormat
(
this
.
end
,
"yyyy-MM-dd"
):
util
.
dateFormat
(
new
Date
,
"yyyy-MM-dd"
))
+
' 23:59'
;
this
.
$store
.
dispatch
(
'saveKanbanHdr'
,
data
);
this
.
$store
.
dispatch
(
'saveRefresh'
,
true
);
this
.
$router
.
push
({
name
:
'tiipOperateDetail'
,
type
:
row
.
sType
})
}
let
data
=
util
.
deepClone
(
row
);
data
.
begin_date
=
util
.
dateFormat
(
this
.
start
,
"yyyy-MM-dd"
);
data
.
end_date
=
(
this
.
end
?
util
.
dateFormat
(
this
.
end
,
"yyyy-MM-dd"
):
util
.
dateFormat
(
new
Date
,
"yyyy-MM-dd"
))
+
' 23:59'
;
this
.
$store
.
dispatch
(
'saveKanbanHdr'
,
data
);
this
.
$store
.
dispatch
(
'saveRefresh'
,
true
);
this
.
$router
.
push
({
name
:
'tiipOperateDetail'
,
type
:
row
.
sType
})
}
},
}
...
...
src/view/tiip/kanban/operateCustomDetail.vue
View file @
c305843a
...
...
@@ -111,7 +111,7 @@ export default {
{
key
:
"end_date"
,
value
:
this
.
hdr
.
end_date
}
];
if
(
this
.
type
==
'custom'
){
if
(
this
.
hdr
.
sType
==
'采购'
||
this
.
hdr
.
sType
==
'加工'
||
this
.
hdr
.
sType
==
'检验'
){
if
(
this
.
hdr
.
sType
==
'采购'
||
this
.
hdr
.
sType
==
'加工'
||
this
.
hdr
.
sType
==
'检验'
||
this
.
hdr
.
sType
==
'收货'
||
this
.
hdr
.
sType
==
'成品入库'
){
postData
.
push
({
key
:
"upbProviderGUID"
,
value
:
this
.
customerItem
.
upbProviderGUID
})
}
else
{
postData
.
push
({
key
:
"upbCustomerGUID"
,
value
:
this
.
customerItem
.
upbCustomerGUID
})
...
...
src/view/tiip/kanban/operateDetail.vue
View file @
c305843a
...
...
@@ -259,6 +259,86 @@ export default {
field
:
'nAmountHTML'
,
}
]
}
else
if
(
this
.
hdr
.
sType
==
'收货'
){
this
.
tabList
=
[
{
value
:
'主信息'
,
key
:
'0'
},
{
value
:
'产品信息'
,
key
:
'1'
}
];
this
.
columns
=
[
{
width
:
'25%'
,
name
:
'供应商'
,
align
:
'center'
,
field
:
'sProviderNameHTML'
,
underline
:
true
,
color
:
'#2d8cf0'
,
},
{
width
:
'20%'
,
name
:
'数量'
,
align
:
'center'
,
field
:
'nQtyHTML'
,
},
{
width
:
'25%'
,
name
:
'金额'
,
align
:
'center'
,
field
:
'nAmountHTML'
,
},
{
width
:
'30%'
,
name
:
'业务员'
,
align
:
'center'
,
field
:
'sCreatorHTML'
,
underline
:
true
}
]
}
else
if
(
this
.
hdr
.
sType
==
'成品入库'
){
this
.
tabList
=
[
{
value
:
'主信息'
,
key
:
'0'
},
{
value
:
'产品信息'
,
key
:
'1'
}
];
this
.
columns
=
[
{
width
:
'25%'
,
name
:
'供应商'
,
align
:
'center'
,
field
:
'sProviderNameHTML'
,
underline
:
true
,
color
:
'#2d8cf0'
,
},
{
width
:
'20%'
,
name
:
'数量'
,
align
:
'center'
,
field
:
'nQtyHTML'
,
},
{
width
:
'25%'
,
name
:
'金额'
,
align
:
'center'
,
field
:
'nAmountHTML'
,
},
{
width
:
'30%'
,
name
:
'仓管员'
,
align
:
'center'
,
field
:
'sCreatorHTML'
,
underline
:
true
}
]
}
else
{
this
.
columns
=
[
{
...
...
@@ -356,12 +436,16 @@ export default {
{
key
:
"begin_date"
,
value
:
this
.
hdr
.
begin_date
},
{
key
:
"end_date"
,
value
:
this
.
hdr
.
end_date
}
]
if
(
this
.
activeTab
==
'0'
&&
this
.
hdr
.
sType
==
'加工'
){
if
(
this
.
activeTab
==
'0'
){
postData
[
0
].
value
=
'Operation gai sType-customer'
;
postData
.
push
({
key
:
'sProcessCategory'
,
value
:
'坯布'
});
}
else
if
(
this
.
activeTab
==
'1'
&&
this
.
hdr
.
sType
==
'加工'
){
postData
[
0
].
value
=
'Operation gai sType-customer'
;
postData
.
push
({
key
:
'sProcessCategory'
,
value
:
'成品布'
});
if
(
this
.
hdr
.
sType
==
'加工'
){
postData
.
push
({
key
:
'sProcessCategory'
,
value
:
'坯布'
});
}
}
else
if
(
this
.
activeTab
==
'1'
){
if
(
this
.
hdr
.
sType
==
'加工'
){
postData
[
0
].
value
=
'Operation gai sType-customer'
;
postData
.
push
({
key
:
'sProcessCategory'
,
value
:
'成品布'
});
}
}
let
res
=
await
this
.
request
(
'getBoss'
,{
data
:
postData
,
...
...
@@ -369,9 +453,9 @@ export default {
},
'加载中'
,{})
if
(
this
.
activeTab
==
1
&&
this
.
hdr
.
sType
!=
'加工'
){
res
.
map
(
x
=>
{
x
.
sMaterial
=
`<div><span style="color:#FF6633">
${
x
.
sSampleMaterialNo
}
</span><br><span style="color:black;">
${
x
.
sSampleMaterialName
}
</span></div>`
x
.
sMaterial
=
`<div><span style="color:#FF6633">
${
x
.
sSampleMaterialNo
}
</span><br><span style="color:black;">
${
this
.
hdr
.
sType
==
'成品入库'
?
x
.
sMaterialName
:
x
.
sSampleMaterialName
}
</span></div>`
x
.
nAmountHTML
=
`<div><span style="color:#339966;">
${
x
.
nAmount
}
</span></div>`
;
x
.
nQtyHTML
=
`<div><span">
${
x
.
nQty
||
x
.
nOutQty
}
</span></div>`
;
x
.
nQtyHTML
=
`<div><span">
${
x
.
nQty
||
x
.
nOutQty
||
x
.
nInQty
}
</span></div>`
;
})
}
else
{
res
.
map
(
x
=>
{
...
...
@@ -382,6 +466,7 @@ export default {
x
.
nQtyHTML
=
`<div><span">
${
x
.
nQty
||
x
.
nOutQty
}
</span></div>`
;
x
.
sMaterialHTML
=
`<div><span">
${
x
.
sSampleMaterialNo
||
''
}
<br>
${
x
.
sSampleMaterialName
||
''
}
</span></div>`
;
x
.
sFollowerNameHTML
=
`<div><span style="text-decoration:underline;">
${
x
.
sFollowerName
||
''
}
</span></div>`
;
x
.
sCreatorHTML
=
`<div><span style="text-decoration:underline;">
${
x
.
sCreator
||
''
}
</span></div>`
;
})
}
this
.
list
=
res
;
...
...
src/view/tiip/kanban/operateSaleDetail.vue
View file @
c305843a
...
...
@@ -93,6 +93,8 @@ export default {
]
if
(
this
.
hdr
.
sType
==
'采购'
||
this
.
hdr
.
sType
==
'加工'
){
postData
.
push
({
key
:
"upbFollowerGUID"
,
value
:
this
.
orderItem
.
upbFollowerGUID
});
}
else
if
(
this
.
hdr
.
sType
==
'收货'
||
this
.
hdr
.
sType
==
'成品入库'
){
postData
.
push
({
key
:
"sCreator"
,
value
:
this
.
orderItem
.
sCreator
});
}
else
{
postData
.
push
({
key
:
"upbSalesGUID"
,
value
:
this
.
orderItem
.
upbSalesGUID
});
}
...
...
@@ -110,6 +112,10 @@ export default {
}
this
.
columns
[
0
].
field
=
'sProviderNameHTML'
;
x
.
sProviderNameHTML
=
`<div><span style="text-decoration:underline;">
${
x
.
sProviderName
||
''
}
</span></div>`
;
}
else
if
(
this
.
hdr
.
sType
==
'收货'
||
this
.
hdr
.
sType
==
'成品入库'
){
this
.
columns
[
0
].
name
=
'供应商名称'
;
this
.
columns
[
0
].
field
=
'sProviderNameHTML'
;
x
.
sProviderNameHTML
=
`<div><span style="text-decoration:underline;">
${
x
.
sProviderName
||
''
}
</span></div>`
;
}
else
{
this
.
columns
[
0
].
name
=
'客户名称'
;
this
.
columns
[
0
].
field
=
'sCustomerNameHTML'
;
...
...
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