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
2103b51e
Commit
2103b51e
authored
Apr 20, 2020
by
张锡奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upload
parent
1ac55143
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
3 deletions
+35
-3
operate.vue
src/view/tiip/kanban/operate.vue
+24
-2
operateCustomDetail.vue
src/view/tiip/kanban/operateCustomDetail.vue
+1
-1
index.vue
src/view/tiip/orderDetails/index.vue
+2
-0
index.vue
src/view/tiip/uploadImg/index.vue
+8
-0
No files found.
src/view/tiip/kanban/operate.vue
View file @
2103b51e
...
...
@@ -54,7 +54,14 @@
<div
@
click=
"routerToOperateDetail(v)"
style=
"text-decoration:underline;"
>
{{
v
.
sType
}}
</div>
</td>
<td>
<div>
{{
Number
(
v
.
nQty
||
0
).
toLocaleString
()
}}
</div>
<div
style=
"display:flex;flex-wrap:wrap"
>
<span
style=
"width:100%;"
>
{{
Number
(
v
.
M_nQty
||
0
).
toLocaleString
()
}}
(M)
</span>
<span>
{{
Number
(
v
.
YD_nQty
||
0
).
toLocaleString
()
}}
(YD)
</span>
</div>
</td>
<td>
<div>
{{
Number
(
v
.
nPieces
||
0
).
toLocaleString
()
}}
</div>
...
...
@@ -104,7 +111,22 @@ export default {
params
:{},
},
true
,{})
if
(
typeof
value
==
'object'
&&
value
.
length
>
0
){
this
.
list
=
value
let
data
=
[]
value
.
map
(
x
=>
{
let
flag
=
false
;
data
.
map
(
y
=>
{
if
(
x
.
sType
==
y
.
sType
){
y
[
`
${
x
.
sUnit
}
_nQty`
]
=
x
.
nQty
;
flag
=
true
;
}
})
if
(
!
flag
){
x
[
`
${
x
.
sUnit
}
_nQty`
]
=
x
.
nQty
;
data
.
push
(
x
);
}
})
this
.
list
=
data
}
else
{
this
.
list
=
[]
}
...
...
src/view/tiip/kanban/operateCustomDetail.vue
View file @
2103b51e
...
...
@@ -119,7 +119,6 @@ export default {
field
:
this
.
hdr
.
sType
==
'供应商索赔'
?
'sPayableNO'
:
'sReceivableNO'
,
underline
:
true
,
color
:
'#2d8cf0'
,
field
:
this
.
hdr
.
sType
==
'供应商索赔'
?
params
.
row
.
sPayableNO
:
params
.
row
.
sReceivableNO
,
render
:
(
h
,
params
)
=>
{
return
h
(
'span'
,{
style
:
{
...
...
@@ -419,6 +418,7 @@ export default {
{
key
:
"begin_date"
,
value
:
this
.
hdr
.
begin_date
},
{
key
:
"end_date"
,
value
:
this
.
hdr
.
end_date
},
];
console
.
log
(
this
.
hdr
.
sType
)
if
(
this
.
type
==
'custom'
){
if
(
this
.
hdr
.
sType
==
'采购退货'
||
this
.
hdr
.
sType
==
'采购'
||
this
.
hdr
.
sType
==
'加工'
||
this
.
hdr
.
sType
==
'收货'
||
this
.
hdr
.
sType
==
'成品入库'
||
this
.
hdr
.
sType
==
'加工回修'
){
postData
.
push
({
key
:
"upbProviderGUID"
,
value
:
this
.
customerItem
.
upbProviderGUID
});
...
...
src/view/tiip/orderDetails/index.vue
View file @
2103b51e
...
...
@@ -50,6 +50,8 @@
color:#586e86;
font-weight: bold;
background: #eef4fe;
word-wrap: break-word;
display: inline-block;
}
>div{
height:100%;
...
...
src/view/tiip/uploadImg/index.vue
View file @
2103b51e
...
...
@@ -169,6 +169,14 @@ export default {
})
return false;
}
if (parseInt(file.files[0].size / 1024) > (1024 * 10)) {
that.$vux.confirm.show({
title:"提示",
content:`图片大小超过10M,请重新上传!`,
showCancelButton:false,
})
return false;
}
that.upload(reader.result); //或者 e.target.result都是一样的,都是base64码
}
reader.readAsDataURL(this.files[0]);
...
...
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