Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
1043ee9b
Commit
1043ee9b
authored
Apr 13, 2021
by
季圣华
Browse files
销售退货增加销售代表
parent
0ccd346f
Changes
2
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/components/tools/UserPassword.vue
View file @
1043ee9b
...
...
@@ -115,8 +115,11 @@
console
.
log
(
"
修改密码提交数据
"
,
params
)
putAction
(
this
.
url
,
params
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
console
.
log
(
res
)
that
.
$message
.
success
(
res
.
data
.
message
);
if
(
res
.
data
.
status
===
2
||
res
.
data
.
status
===
3
)
{
that
.
$message
.
warning
(
res
.
data
.
message
);
}
else
{
that
.
$message
.
success
(
res
.
data
.
message
);
}
that
.
close
();
}
else
{
that
.
$message
.
warning
(
res
.
data
.
message
);
...
...
jshERP-web/src/views/bill/modules/SaleBackModal.vue
View file @
1043ee9b
...
...
@@ -97,6 +97,9 @@
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"销售人员"
>
<j-select-multiple
placeholder=
"请选择销售人员"
v-model=
"personList.value"
:options=
"personList.options"
/>
</a-form-item>
</a-col>
</a-row>
</a-form>
...
...
@@ -109,13 +112,15 @@
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
getMpListShort
}
from
"
@/utils/util
"
import
JSelectMultiple
from
'
@/components/jeecg/JSelectMultiple
'
import
JDate
from
'
@/components/jeecg/JDate
'
import
Vue
from
'
vue
'
export
default
{
name
:
"
SaleBackModal
"
,
mixins
:
[
JEditableTableMixin
,
BillModalMixin
],
components
:
{
JDate
JDate
,
JSelectMultiple
},
data
()
{
return
{
...
...
@@ -186,6 +191,7 @@
editAfter
()
{
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
"
XSTH
"
)
this
.
personList
.
value
=
''
}
else
{
this
.
model
.
operTime
=
this
.
model
.
operTimeStr
this
.
model
.
debt
=
(
this
.
model
.
discountLastMoney
+
this
.
model
.
otherMoney
-
this
.
model
.
changeAmount
).
toFixed
(
2
)
...
...
@@ -197,9 +203,10 @@
}
else
{
this
.
manyAccountBtnStatus
=
false
}
this
.
personList
.
value
=
this
.
model
.
salesMan
this
.
$nextTick
(()
=>
{
this
.
form
.
setFieldsValue
(
pick
(
this
.
model
,
'
organId
'
,
'
operTime
'
,
'
number
'
,
'
remark
'
,
'
discount
'
,
'
discountMoney
'
,
'
discountLastMoney
'
,
'
otherMoney
'
,
'
accountId
'
,
'
changeAmount
'
,
'
debt
'
))
'
discount
'
,
'
discountMoney
'
,
'
discountLastMoney
'
,
'
otherMoney
'
,
'
accountId
'
,
'
changeAmount
'
,
'
debt
'
,
'
salesMan
'
))
});
// 加载子表数据
let
params
=
{
...
...
@@ -225,6 +232,7 @@
if
(
this
.
model
.
id
){
billMain
.
id
=
this
.
model
.
id
}
billMain
.
salesMan
=
this
.
personList
.
value
return
{
info
:
JSON
.
stringify
(
billMain
),
rows
:
JSON
.
stringify
(
detailArr
),
...
...
Write
Preview
Supports
Markdown
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