Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
aed798da
Commit
aed798da
authored
Jun 07, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
备货bug
parent
ce875a11
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
5 deletions
+27
-5
index.vue
src/views/ecw/order/stocking/index.vue
+2
-2
stockingList.vue
src/views/ecw/order/stockingList.vue
+25
-3
No files found.
src/views/ecw/order/stocking/index.vue
View file @
aed798da
...
@@ -336,7 +336,7 @@ export default {
...
@@ -336,7 +336,7 @@ export default {
},
},
},
},
watch
:
{
watch
:
{
orderSpecialNeeds
(
val
){
/*
orderSpecialNeeds(val){
val.forEach(e => {
val.forEach(e => {
this.form.orderSpecialNeedReceivableReqVoList.push({
this.form.orderSpecialNeedReceivableReqVoList.push({
"id": e.id,
"id": e.id,
...
@@ -344,7 +344,7 @@ export default {
...
@@ -344,7 +344,7 @@ export default {
"receivableMoneyCurrency": e.transCurrency || 3
"receivableMoneyCurrency": e.transCurrency || 3
})
})
})
})
}
}
*/
},
},
computed
:
{
computed
:
{
...
...
src/views/ecw/order/stockingList.vue
View file @
aed798da
...
@@ -192,7 +192,7 @@ import { getProductAttrList } from '@/api/ecw/productAttr'
...
@@ -192,7 +192,7 @@ import { getProductAttrList } from '@/api/ecw/productAttr'
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
specialNeeds
from
'
@/views/ecw/order/components/specialNeeds
'
;
import
specialNeeds
from
'
@/views/ecw/order/components/specialNeeds
'
;
import
{
canReadyStockShipmentPage
,
exportReadyStock
,
getOrderPage
}
from
"
@/api/ecw/order
"
;
import
{
canReadyStockShipmentPage
,
exportReadyStock
,
getOrderPage
,
orderSpecialNeed
}
from
"
@/api/ecw/order
"
;
import
PrintTag
from
'
./components/PrintTag
'
import
PrintTag
from
'
./components/PrintTag
'
import
PrintWarehouseReceipt
from
'
./components/PrintWarehouseReceipt
'
import
PrintWarehouseReceipt
from
'
./components/PrintWarehouseReceipt
'
import
PrintLadingBill
from
'
./components/PrintLadingBill
'
import
PrintLadingBill
from
'
./components/PrintLadingBill
'
...
@@ -282,7 +282,7 @@ export default {
...
@@ -282,7 +282,7 @@ export default {
}
}
let
queryParams
=
Object
.
assign
({},
this
.
queryParams
,
timeParams
)
let
queryParams
=
Object
.
assign
({},
this
.
queryParams
,
timeParams
)
return
queryParams
return
queryParams
}
}
,
},
},
activated
(){
activated
(){
this
.
getList
()
this
.
getList
()
...
@@ -347,7 +347,29 @@ export default {
...
@@ -347,7 +347,29 @@ export default {
}).
finally
(()
=>
{
}).
finally
(()
=>
{
this
.
exporting
=
false
this
.
exporting
=
false
})
})
}
},
// 特需标识处理
specialRendering
(
val
){
console
.
log
(
'
val
'
,
val
)
if
(
val
!==
undefined
){
let
i
=
val
.
split
(
'
,
'
)
return
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ORDER_SPECIAL_NEEDS
).
filter
(
e
=>
{
return
i
.
indexOf
(
e
.
value
)
>
-
1
}).
map
(
item
=>
{
// 打字开头的用最后一个字,否则取第一个字
item
.
symbol
=
item
.
label
[
0
]
==
'
打
'
?
item
.
label
[
item
.
label
.
length
-
1
]:
item
.
label
[
0
]
return
item
})
}
},
// 删除特需
deleteSpecial
(
id
,
orderId
){
this
.
$confirm
(
this
.
$t
(
'
确定删除此特需么?
'
)).
then
(()
=>
{
return
orderSpecialNeed
({
orderId
:
orderId
,
advanceType
:
id
})
}).
then
(()
=>
{
this
.
getList
()
})
},
}
}
};
};
</
script
>
</
script
>
...
...
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