Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
folacin-front
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
ynby
folacin-front
Commits
d9930d8b
Commit
d9930d8b
authored
Aug 16, 2021
by
罗成兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分配记录
parent
b13b1bfb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
addMaterialDistribution.vue
...nent/inStockManage/components/addMaterialDistribution.vue
+9
-8
No files found.
src/views/indexComponent/inStockManage/components/addMaterialDistribution.vue
View file @
d9930d8b
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<a-input
<a-input
v-toInputNum=
"
{num:15}"
v-toInputNum=
"
{num:15}"
placeholder="请填写发货人,最多可输入15个字"
placeholder="请填写发货人,最多可输入15个字"
v-model="formData.sendContact"
v-model="formData.sendContact"
>
</a-input>
>
</a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
...
@@ -49,9 +49,9 @@
...
@@ -49,9 +49,9 @@
<a-col
:span=
"8"
>
<a-col
:span=
"8"
>
<a-form-model-item
label=
"收货人姓名"
prop=
"receiver"
>
<a-form-model-item
label=
"收货人姓名"
prop=
"receiver"
>
<a-input
<a-input
v-toInputNum=
"
{num:15}"
v-toInputNum=
"
{num:15}"
placeholder="请填写收货人,最多可输入15个字"
placeholder="请填写收货人,最多可输入15个字"
v-model="formData.receiver"
v-model="formData.receiver"
>
</a-input>
>
</a-input>
</a-form-model-item>
</a-form-model-item>
</a-col>
</a-col>
...
@@ -183,7 +183,8 @@
...
@@ -183,7 +183,8 @@
}
}
},
},
created
()
{
created
()
{
this
.
getSelectedMedical
()
this
.
routerParams
=
this
.
$route
.
query
;
this
.
getSelectedMedical
();
this
.
formData
.
sendUnitId
=
this
.
unitInfo
.
unitId
;
this
.
formData
.
sendUnitId
=
this
.
unitInfo
.
unitId
;
this
.
formData
.
sendUnitName
=
this
.
unitInfo
.
unitName
;
this
.
formData
.
sendUnitName
=
this
.
unitInfo
.
unitName
;
this
.
getChildUnitList
();
this
.
getChildUnitList
();
...
@@ -226,10 +227,10 @@
...
@@ -226,10 +227,10 @@
this
.
$message
.
warning
(
'分配物资不能为空!'
);
this
.
$message
.
warning
(
'分配物资不能为空!'
);
}
else
{
}
else
{
this
.
subLoad
=
true
;
this
.
subLoad
=
true
;
let
params
=
{}
let
params
=
{}
;
let
reviceUnitName
=
this
.
childUnitList
.
filter
(
item
=>
item
.
id
==
this
.
formData
.
receiveUnitId
)[
0
].
unitName
;
let
reviceUnitName
=
this
.
childUnitList
.
filter
(
item
=>
item
.
id
==
this
.
formData
.
receiveUnitId
)[
0
].
unitName
;
let
treeNodeId
=
this
.
childUnitList
.
filter
(
item
=>
item
.
id
==
this
.
formData
.
receiveUnitId
)[
0
].
treeNodeId
;
let
treeNodeId
=
this
.
childUnitList
.
filter
(
item
=>
item
.
id
==
this
.
formData
.
receiveUnitId
)[
0
].
treeNodeId
;
let
unitInfo
=
JSON
.
parse
(
window
.
sessionStorage
.
s
etItem
(
'unitInfo'
));
let
unitInfo
=
JSON
.
parse
(
window
.
sessionStorage
.
g
etItem
(
'unitInfo'
));
params
=
{
params
=
{
...
this
.
formData
,
...
this
.
formData
,
receiveNodeId
:
treeNodeId
,
receiveNodeId
:
treeNodeId
,
...
@@ -246,7 +247,7 @@
...
@@ -246,7 +247,7 @@
});
});
});
});
params
.
detailedList
=
detailedList
;
params
.
detailedList
=
detailedList
;
params
.
menuId
=
this
.
routerParams
.
menuId
params
.
menuId
=
this
.
routerParams
.
menuId
;
this
.
$api
.
stockManage
.
fetchDispatchGoods
(
params
).
then
(({
code
})
=>
{
this
.
$api
.
stockManage
.
fetchDispatchGoods
(
params
).
then
(({
code
})
=>
{
this
.
subLoad
=
false
;
this
.
subLoad
=
false
;
if
(
code
===
'SUCCESS'
)
{
if
(
code
===
'SUCCESS'
)
{
...
...
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