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
c259b89f
Commit
c259b89f
authored
Oct 21, 2021
by
季圣华
Browse files
给采购和销售零售的5个单据增加新手引导
parent
fa64fdc0
Changes
5
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/modules/PurchaseInModal.vue
View file @
c259b89f
...
...
@@ -16,7 +16,8 @@
<a-form
:form=
"form"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"供应商"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"供应商"
data-step=
"1"
data-title=
"供应商"
data-intro=
"供应商必须选择,如果发现需要选择的供应商尚未录入,可以在下拉框中点击新增供应商进行录入"
>
<a-select
placeholder=
"选择供应商"
v-decorator=
"[ 'organId', validatorRules.organId ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
>
<div
slot=
"dropdownRender"
slot-scope=
"menu"
>
...
...
@@ -37,12 +38,15 @@
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"单据编号"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"单据编号"
data-step=
"2"
data-title=
"单据编号"
data-intro=
"单据编号自动生成、自动累加、开头是单据类型的首字母缩写,累加的规则是每次打开页面会自动占用一个新的编号"
>
<a-input
placeholder=
"请输入单据编号"
v-decorator.trim=
"[ 'number' ]"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"关联订单"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"关联订单"
data-step=
"3"
data-title=
"关联订单"
data-intro=
"采购入库单据可以通过关联订单来选择已录入的订单,选择之后会自动加载订单的内容,然后继续录入仓库等信息完成单据的提交,
提交之后原来的采购订单会对应的改变单据状态。另外本系统支持订单多次入库,只需选择订单之后修改对应的商品数量即可"
>
<a-input-search
placeholder=
"请选择关联订单"
v-decorator=
"[ 'linkNumber' ]"
@
search=
"onSearchLinkNumber"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
...
...
@@ -60,7 +64,7 @@
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
...
...
@@ -82,29 +86,34 @@
</a-row>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"优惠率"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"优惠率"
data-step=
"5"
data-title=
"优惠率"
data-intro=
"针对单据明细中商品总金额进行优惠的比例"
>
<a-input
style=
"width:185px;"
placeholder=
"请输入优惠率"
v-decorator.trim=
"[ 'discount' ]"
suffix=
"%"
@
keyup=
"onKeyUpDiscount"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"付款优惠"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"付款优惠"
data-step=
"6"
data-title=
"付款优惠"
data-intro=
"针对单据明细中商品总金额进行优惠的金额"
>
<a-input
placeholder=
"请输入付款优惠"
v-decorator.trim=
"[ 'discountMoney' ]"
@
keyup=
"onKeyUpDiscountMoney"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"优惠后金额"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"优惠后金额"
data-step=
"7"
data-title=
"优惠后金额"
data-intro=
"针对单据明细中商品总金额进行优惠后的金额"
>
<a-input
placeholder=
"请输入优惠后金额"
v-decorator.trim=
"[ 'discountLastMoney' ]"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"其它费用"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"其它费用"
data-step=
"8"
data-title=
"其它费用"
data-intro=
"比如快递费、油费、过路费"
>
<a-input
placeholder=
"请输入其它费用"
v-decorator.trim=
"[ 'otherMoney' ]"
@
keyup=
"onKeyUpOtherMoney"
/>
</a-form-item>
</a-col>
</a-row>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"结算账户"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"结算账户"
data-step=
"9"
data-title=
"结算账户"
data-intro=
"如果在下拉框中选择多账户,则可以通过多个结算账户进行结算"
>
<a-select
style=
"width:185px;"
placeholder=
"选择结算账户"
v-decorator=
"[ 'accountId', validatorRules.accountId ]"
:dropdownMatchSelectWidth=
"false"
allowClear
@
select=
"selectAccount"
>
<a-select-option
v-for=
"(item,index) in accountList"
:key=
"index"
:value=
"item.id"
>
...
...
@@ -122,7 +131,8 @@
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"本次欠款"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"本次欠款"
data-step=
"10"
data-title=
"本次欠款"
data-intro=
"欠款产生的费用,后续可以在付款单进行支付"
>
<a-input
placeholder=
"请输入本次欠款"
v-decorator.trim=
"[ 'debt' ]"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
...
...
@@ -131,7 +141,8 @@
</a-row>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"附件"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"附件"
data-step=
"11"
data-title=
"附件"
data-intro=
"可以上传与单据相关的图片、文档,支持多个文件"
>
<j-upload
v-model=
"fileList"
bizPath=
"bill"
></j-upload>
</a-form-item>
</a-col>
...
...
@@ -152,7 +163,7 @@
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
getMpListShort
,
changeListFmtMinus
}
from
"
@/utils/util
"
import
{
getMpListShort
,
changeListFmtMinus
,
handleIntroJs
}
from
"
@/utils/util
"
import
{
getAction
}
from
'
@/api/manage
'
import
JUpload
from
'
@/components/jeecg/JUpload
'
import
JDate
from
'
@/components/jeecg/JDate
'
...
...
@@ -269,6 +280,9 @@
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
this
.
$nextTick
(()
=>
{
handleIntroJs
(
'
purchaseIn
'
,
11
)
})
}
else
{
this
.
model
.
operTime
=
this
.
model
.
operTimeStr
this
.
model
.
debt
=
(
this
.
model
.
discountLastMoney
+
this
.
model
.
otherMoney
-
this
.
model
.
changeAmount
).
toFixed
(
2
)
...
...
jshERP-web/src/views/bill/modules/PurchaseOrderModal.vue
View file @
c259b89f
...
...
@@ -16,7 +16,8 @@
<a-form
:form=
"form"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"供应商"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"供应商"
data-step=
"1"
data-title=
"供应商"
data-intro=
"供应商必须选择,如果发现需要选择的供应商尚未录入,可以在下拉框中点击新增供应商进行录入"
>
<a-select
placeholder=
"选择供应商"
v-decorator=
"[ 'organId', validatorRules.organId ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
>
<div
slot=
"dropdownRender"
slot-scope=
"menu"
>
...
...
@@ -37,7 +38,8 @@
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"单据编号"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"单据编号"
data-step=
"2"
data-title=
"单据编号"
data-intro=
"单据编号自动生成、自动累加、开头是单据类型的首字母缩写,累加的规则是每次打开页面会自动占用一个新的编号"
>
<a-input
placeholder=
"请输入单据编号"
v-decorator.trim=
"[ 'number' ]"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
...
...
@@ -55,7 +57,7 @@
@
valueChange=
"onValueChange"
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
data-step=
"3"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
...
...
@@ -77,7 +79,7 @@
</a-row>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"附件"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"附件"
data-step=
"4"
data-title=
"附件"
data-intro=
"可以上传与单据相关的图片、文档,支持多个文件"
>
<j-upload
v-model=
"fileList"
bizPath=
"bill"
></j-upload>
</a-form-item>
</a-col>
...
...
@@ -93,7 +95,7 @@
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
getMpListShort
}
from
"
@/utils/util
"
import
{
getMpListShort
,
handleIntroJs
}
from
"
@/utils/util
"
import
JUpload
from
'
@/components/jeecg/JUpload
'
import
JDate
from
'
@/components/jeecg/JDate
'
import
Vue
from
'
vue
'
...
...
@@ -187,6 +189,9 @@
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
this
.
$nextTick
(()
=>
{
handleIntroJs
(
'
purchaseOrder
'
,
2
)
})
}
else
{
this
.
model
.
operTime
=
this
.
model
.
operTimeStr
this
.
fileList
=
this
.
model
.
fileName
...
...
jshERP-web/src/views/bill/modules/RetailOutModal.vue
View file @
c259b89f
...
...
@@ -16,7 +16,8 @@
<a-form
:form=
"form"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"会员卡号"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"会员卡号"
data-step=
"1"
data-title=
"会员卡号"
data-intro=
"如果发现需要选择的会员卡号尚未录入,可以在下拉框中点击新增会员信息进行录入"
>
<a-select
placeholder=
"选择会员卡号"
v-decorator=
"[ 'organId' ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
@
change=
"onChangeOrgan"
>
<a-select-option
v-for=
"(item,index) in retailList"
:key=
"index"
:value=
"item.id"
>
...
...
@@ -31,12 +32,14 @@
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"单据编号"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"单据编号"
data-step=
"2"
data-title=
"单据编号"
data-intro=
"单据编号自动生成、自动累加、开头是单据类型的首字母缩写,累加的规则是每次打开页面会自动占用一个新的编号"
>
<a-input
placeholder=
"请输入单据编号"
v-decorator.trim=
"[ 'number' ]"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"收款类型"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"收款类型"
data-step=
"3"
data-title=
"收款类型"
data-intro=
"收款类型可以有现付和预付款两种类型,当选择了会员之后,如果该会员有预付款,在此处会显示具体预付款的金额,而且系统会优先默认选中预付款"
>
<a-select
placeholder=
"请选择付款类型"
v-decorator=
"[ 'payType' ]"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in payTypeList"
:key=
"index"
:value=
"item.value"
>
{{
item
.
text
}}
...
...
@@ -61,7 +64,7 @@
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
...
...
@@ -79,22 +82,26 @@
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"24"
:md=
"6"
:sm=
"6"
><br/><br/></a-col>
<a-col
:lg=
"24"
:md=
"6"
:sm=
"6"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"实收金额"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"实收金额"
data-step=
"5"
data-title=
"实收金额"
data-intro=
"实收金额等于左侧商品的总金额"
>
<a-input
v-decorator.trim=
"[ 'changeAmount' ]"
:style=
"{color:'purple'}"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"24"
:md=
"6"
:sm=
"6"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"收款金额"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"收款金额"
data-step=
"6"
data-title=
"收款金额"
data-intro=
"收款金额为收银员收取用户的实际金额"
>
<a-input
v-decorator.trim=
"[ 'getAmount' ]"
:style=
"{color:'red'}"
defaultValue=
"0"
@
keyup=
"onKeyUpGetAmount"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"24"
:md=
"6"
:sm=
"6"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"找零"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"找零"
data-step=
"7"
data-title=
"找零"
data-intro=
"找零等于收款金额减去实收金额"
>
<a-input
v-decorator.trim=
"[ 'backAmount' ]"
:style=
"{color:'green'}"
:readOnly=
"true"
defaultValue=
"0"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"24"
:md=
"6"
:sm=
"6"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"收款账户"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"收款账户"
data-step=
"8"
data-title=
"收款账户"
data-intro=
"收款账户的信息来自基本资料菜单下的【结算账户】"
>
<a-select
placeholder=
"选择收款账户"
v-decorator=
"[ 'accountId', validatorRules.accountId ]"
:dropdownMatchSelectWidth=
"false"
>
<a-select-option
v-for=
"(item,index) in accountList"
:key=
"index"
:value=
"item.id"
>
{{ item.name }}
...
...
@@ -114,7 +121,8 @@
</a-row>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"附件"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"附件"
data-step=
"9"
data-title=
"附件"
data-intro=
"可以上传与单据相关的图片、文档,支持多个文件"
>
<j-upload
v-model=
"fileList"
bizPath=
"bill"
></j-upload>
</a-form-item>
</a-col>
...
...
@@ -128,7 +136,7 @@
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
getMpListShort
}
from
"
@/utils/util
"
import
{
getMpListShort
,
handleIntroJs
}
from
"
@/utils/util
"
import
{
getAccount
}
from
'
@/api/api
'
import
{
getAction
}
from
'
@/api/manage
'
import
JUpload
from
'
@/components/jeecg/JUpload
'
...
...
@@ -220,6 +228,9 @@
if
(
this
.
action
===
'
add
'
)
{
this
.
addInit
(
this
.
prefixNo
)
this
.
fileList
=
[]
this
.
$nextTick
(()
=>
{
handleIntroJs
(
'
retailOut
'
,
1
)
})
this
.
$nextTick
(()
=>
{
this
.
form
.
setFieldsValue
({
'
payType
'
:
'
现付
'
})
})
...
...
jshERP-web/src/views/bill/modules/SaleOrderModal.vue
View file @
c259b89f
...
...
@@ -16,7 +16,9 @@
<a-form
:form=
"form"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"客户"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"客户"
data-step=
"1"
data-title=
"客户"
data-intro=
"客户必须选择,如果发现需要选择的客户尚未录入,可以在下拉框中点击新增客户进行录入。
特别注意,客户如果录入之后在下拉框中不显示,请检查是否给当前用户分配对应的客户权限"
>
<a-select
placeholder=
"选择客户"
v-decorator=
"[ 'organId', validatorRules.organId ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
>
<div
slot=
"dropdownRender"
slot-scope=
"menu"
>
...
...
@@ -37,12 +39,14 @@
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"单据编号"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"单据编号"
data-step=
"2"
data-title=
"单据编号"
data-intro=
"单据编号自动生成、自动累加、开头是单据类型的首字母缩写,累加的规则是每次打开页面会自动占用一个新的编号"
>
<a-input
placeholder=
"请输入单据编号"
v-decorator.trim=
"[ 'number' ]"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"销售人员"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"销售人员"
data-step=
"3"
data-title=
"销售人员"
data-intro=
"销售人员的数据来自【经手人管理】菜单中的业务员"
>
<j-select-multiple
placeholder=
"请选择销售人员"
v-model=
"personList.value"
:options=
"personList.options"
/>
</a-form-item>
</a-col>
...
...
@@ -59,7 +63,7 @@
@
valueChange=
"onValueChange"
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
...
...
@@ -81,7 +85,7 @@
</a-row>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"附件"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"附件"
data-step=
"5"
data-title=
"附件"
data-intro=
"可以上传与单据相关的图片、文档,支持多个文件"
>
<j-upload
v-model=
"fileList"
bizPath=
"bill"
></j-upload>
</a-form-item>
</a-col>
...
...
@@ -97,7 +101,7 @@
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
getMpListShort
}
from
"
@/utils/util
"
import
{
getMpListShort
,
handleIntroJs
}
from
"
@/utils/util
"
import
JSelectMultiple
from
'
@/components/jeecg/JSelectMultiple
'
import
JUpload
from
'
@/components/jeecg/JUpload
'
import
JDate
from
'
@/components/jeecg/JDate
'
...
...
@@ -191,6 +195,9 @@
this
.
addInit
(
this
.
prefixNo
)
this
.
personList
.
value
=
''
this
.
fileList
=
[]
this
.
$nextTick
(()
=>
{
handleIntroJs
(
'
saleOrder
'
,
2
)
})
}
else
{
this
.
model
.
operTime
=
this
.
model
.
operTimeStr
this
.
personList
.
value
=
this
.
model
.
salesMan
...
...
jshERP-web/src/views/bill/modules/SaleOutModal.vue
View file @
c259b89f
...
...
@@ -16,7 +16,9 @@
<a-form
:form=
"form"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"客户"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"客户"
data-step=
"1"
data-title=
"客户"
data-intro=
"客户必须选择,如果发现需要选择的客户尚未录入,可以在下拉框中点击新增客户进行录入。
特别注意,客户如果录入之后在下拉框中不显示,请检查是否给当前用户分配对应的客户权限"
>
<a-select
placeholder=
"选择客户"
v-decorator=
"[ 'organId', validatorRules.organId ]"
:dropdownMatchSelectWidth=
"false"
showSearch
optionFilterProp=
"children"
>
<div
slot=
"dropdownRender"
slot-scope=
"menu"
>
...
...
@@ -37,12 +39,15 @@
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"单据编号"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"单据编号"
data-step=
"2"
data-title=
"单据编号"
data-intro=
"单据编号自动生成、自动累加、开头是单据类型的首字母缩写,累加的规则是每次打开页面会自动占用一个新的编号"
>
<a-input
placeholder=
"请输入单据编号"
v-decorator.trim=
"[ 'number' ]"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"关联订单"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"关联订单"
data-step=
"3"
data-title=
"关联订单"
data-intro=
"销售出库单据可以通过关联订单来选择已录入的订单,选择之后会自动加载订单的内容,然后继续录入仓库等信息完成单据的提交,
提交之后原来的销售订单会对应的改变单据状态。另外本系统支持订单多次出库,只需选择订单之后修改对应的商品数量即可"
>
<a-input-search
placeholder=
"请选择关联订单"
v-decorator=
"[ 'linkNumber' ]"
@
search=
"onSearchLinkNumber"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
...
...
@@ -60,7 +65,7 @@
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
...
...
@@ -82,29 +87,34 @@
</a-row>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"优惠率"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"优惠率"
data-step=
"5"
data-title=
"优惠率"
data-intro=
"针对单据明细中商品总金额进行优惠的比例"
>
<a-input
style=
"width:185px;"
placeholder=
"请输入优惠率"
v-decorator.trim=
"[ 'discount' ]"
suffix=
"%"
@
keyup=
"onKeyUpDiscount"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"收款优惠"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"收款优惠"
data-step=
"6"
data-title=
"收款优惠"
data-intro=
"针对单据明细中商品总金额进行优惠的金额"
>
<a-input
placeholder=
"请输入付款优惠"
v-decorator.trim=
"[ 'discountMoney' ]"
@
keyup=
"onKeyUpDiscountMoney"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"优惠后金额"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"优惠后金额"
data-step=
"7"
data-title=
"优惠后金额"
data-intro=
"针对单据明细中商品总金额进行优惠后的金额"
>
<a-input
placeholder=
"请输入优惠后金额"
v-decorator.trim=
"[ 'discountLastMoney' ]"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"其它费用"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"其它费用"
data-step=
"8"
data-title=
"其它费用"
data-intro=
"比如快递费、油费、过路费"
>
<a-input
placeholder=
"请输入其它费用"
v-decorator.trim=
"[ 'otherMoney' ]"
@
keyup=
"onKeyUpOtherMoney"
/>
</a-form-item>
</a-col>
</a-row>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"结算账户"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"结算账户"
data-step=
"9"
data-title=
"结算账户"
data-intro=
"如果在下拉框中选择多账户,则可以通过多个结算账户进行结算"
>
<a-select
style=
"width:185px;"
placeholder=
"选择结算账户"
v-decorator=
"[ 'accountId', validatorRules.accountId ]"
:dropdownMatchSelectWidth=
"false"
allowClear
@
select=
"selectAccount"
>
<a-select-option
v-for=
"(item,index) in accountList"
:key=
"index"
:value=
"item.id"
>
...
...
@@ -122,19 +132,22 @@
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"本次欠款"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"本次欠款"
data-step=
"10"
data-title=
"本次欠款"
data-intro=
"欠款产生的费用,后续可以在收款单进行收取"
>
<a-input
placeholder=
"请输入本次欠款"
v-decorator.trim=
"[ 'debt' ]"
:readOnly=
"true"
/>
</a-form-item>
</a-col>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"销售人员"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"销售人员"
data-step=
"11"
data-title=
"销售人员"
data-intro=
"销售人员的数据来自【经手人管理】菜单中的业务员"
>
<j-select-multiple
placeholder=
"请选择销售人员"
v-model=
"personList.value"
:options=
"personList.options"
/>
</a-form-item>
</a-col>
</a-row>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"6"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"附件"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"附件"
data-step=
"12"
data-title=
"附件"
data-intro=
"可以上传与单据相关的图片、文档,支持多个文件"
>
<j-upload
v-model=
"fileList"
bizPath=
"bill"
></j-upload>
</a-form-item>
</a-col>
...
...
@@ -154,7 +167,7 @@
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
getMpListShort
}
from
"
@/utils/util
"
import
{
getMpListShort
,
handleIntroJs
}
from
"
@/utils/util
"
import
{
getAction
}
from
'
@/api/manage
'
import
JSelectMultiple
from
'
@/components/jeecg/JSelectMultiple
'
import
JUpload
from
'
@/components/jeecg/JUpload
'
...
...
@@ -272,6 +285,9 @@
this
.
addInit
(
this
.
prefixNo
)
this
.
personList
.
value
=
''
this
.
fileList
=
[]
this
.
$nextTick
(()
=>
{
handleIntroJs
(
'
saleOut
'
,
2
)
})
}
else
{
this
.
model
.
operTime
=
this
.
model
.
operTimeStr
this
.
model
.
debt
=
(
this
.
model
.
discountLastMoney
+
this
.
model
.
otherMoney
-
this
.
model
.
changeAmount
).
toFixed
(
2
)
...
...
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