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
8c72a219
Commit
8c72a219
authored
Nov 16, 2021
by
季圣华
Browse files
给单据录入界面增加仓库批量设置功能
parent
fe29b1a7
Changes
13
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/dialog/BatchSetDepot.vue
0 → 100644
View file @
8c72a219
<
template
>
<a-modal
:title=
"title"
:width=
"500"
:visible=
"visible"
:confirmLoading=
"confirmLoading"
@
ok=
"handleOk"
@
cancel=
"handleCancel"
cancelText=
"关闭"
wrapClassName=
"ant-modal-cust-warp"
style=
"top:30%;height: 35%;overflow-y: hidden"
>
<template
slot=
"footer"
>
<a-button
key=
"back"
v-if=
"isReadOnly"
@
click=
"handleCancel"
>
关闭
</a-button>
</
template
>
<a-spin
:spinning=
"confirmLoading"
>
<a-form
:form=
"form"
id=
"batchSetDepot"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"仓库名称"
>
<a-select
placeholder=
"请选择仓库"
v-decorator=
"[ 'depotId', validatorRules.depotId ]"
showSearch
optionFilterProp=
"children"
>
<a-select-option
v-for=
"(depot,index) in depotList"
:value=
"depot.id"
>
{{ depot.depotName }}
</a-select-option>
</a-select>
</a-form-item>
</a-form>
</a-spin>
</a-modal>
</template>
<
script
>
import
pick
from
'
lodash.pick
'
import
{
getAction
}
from
'
@/api/manage
'
export
default
{
name
:
"
BatchSetDepot
"
,
data
()
{
return
{
title
:
"
操作
"
,
visible
:
false
,
model
:
{},
depotList
:
[],
isReadOnly
:
false
,
labelCol
:
{
xs
:
{
span
:
24
},
sm
:
{
span
:
5
},
},
wrapperCol
:
{
xs
:
{
span
:
24
},
sm
:
{
span
:
16
},
},
confirmLoading
:
false
,
form
:
this
.
$form
.
createForm
(
this
),
validatorRules
:{
depotId
:{
rules
:
[
{
required
:
true
,
message
:
'
请选择仓库!
'
}
]
}
},
}
},
created
()
{
},
methods
:
{
getDepotData
()
{
getAction
(
'
/depot/findDepotByCurrentUser
'
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
depotList
=
res
.
data
;
}
else
{
this
.
$message
.
info
(
res
.
data
);
}
})
},
add
()
{
this
.
edit
({});
this
.
getDepotData
()
},
edit
(
record
)
{
this
.
form
.
resetFields
();
this
.
model
=
Object
.
assign
({},
record
);
this
.
visible
=
true
;
this
.
$nextTick
(()
=>
{
this
.
form
.
setFieldsValue
(
pick
(
this
.
model
,
'
depotId
'
))
});
},
close
()
{
this
.
$emit
(
'
close
'
);
this
.
visible
=
false
;
},
handleOk
()
{
const
that
=
this
;
// 触发表单验证
this
.
form
.
validateFields
((
err
,
values
)
=>
{
if
(
!
err
)
{
that
.
confirmLoading
=
true
;
let
formData
=
Object
.
assign
(
this
.
model
,
values
);
let
depotId
=
formData
.
depotId
that
.
$emit
(
'
ok
'
,
depotId
);
that
.
confirmLoading
=
false
;
that
.
close
();
}
})
},
handleCancel
()
{
this
.
close
()
}
}
}
</
script
>
<
style
scoped
>
</
style
>
\ No newline at end of file
jshERP-web/src/views/bill/mixins/BillModalMixin.js
View file @
8c72a219
...
@@ -229,6 +229,11 @@ export const BillModalMixin = {
...
@@ -229,6 +229,11 @@ export const BillModalMixin = {
this
.
$refs
.
memberModalForm
.
title
=
"
新增会员
"
;
this
.
$refs
.
memberModalForm
.
title
=
"
新增会员
"
;
this
.
$refs
.
memberModalForm
.
disableSubmit
=
false
;
this
.
$refs
.
memberModalForm
.
disableSubmit
=
false
;
},
},
handleBatchSetDepot
()
{
this
.
$refs
.
batchSetDepotModalForm
.
add
();
this
.
$refs
.
batchSetDepotModalForm
.
title
=
"
批量设置仓库
"
;
this
.
$refs
.
batchSetDepotModalForm
.
disableSubmit
=
false
;
},
addDepot
()
{
addDepot
()
{
this
.
$refs
.
depotModalForm
.
add
();
this
.
$refs
.
depotModalForm
.
add
();
this
.
$refs
.
depotModalForm
.
title
=
"
新增仓库
"
;
this
.
$refs
.
depotModalForm
.
title
=
"
新增仓库
"
;
...
@@ -248,6 +253,21 @@ export const BillModalMixin = {
...
@@ -248,6 +253,21 @@ export const BillModalMixin = {
memberModalFormOk
()
{
memberModalFormOk
()
{
this
.
initRetail
()
this
.
initRetail
()
},
},
batchSetDepotModalFormOk
(
depotId
)
{
this
.
getAllTable
().
then
(
tables
=>
{
return
getListData
(
this
.
form
,
tables
)
}).
then
(
allValues
=>
{
//获取单据明细列表信息
let
detailArr
=
allValues
.
tablesValue
[
0
].
values
//构造新的列表数组,用于存放单据明细信息
let
newDetailArr
=
[]
for
(
let
detail
of
detailArr
){
detail
.
depotId
=
depotId
newDetailArr
.
push
(
detail
)
}
this
.
materialTable
.
dataSource
=
newDetailArr
})
},
depotModalFormOk
()
{
depotModalFormOk
()
{
this
.
initDepot
()
this
.
initDepot
()
},
},
...
...
jshERP-web/src/views/bill/modules/AllocationOutModal.vue
View file @
8c72a219
...
@@ -42,12 +42,7 @@
...
@@ -42,12 +42,7 @@
@
added=
"onAdded"
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<template
#buttonAfter
>
<a-row
v-if=
"isTenant"
:gutter=
"24"
style=
"float:left;width:140px;"
>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-button
icon=
"plus"
@
click=
"addDepot"
>
新增仓库
</a-button>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
</a-col>
...
@@ -58,6 +53,17 @@
...
@@ -58,6 +53,17 @@
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
</a-col>
</a-col>
</a-row>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-dropdown>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"handleBatchSetDepot"
><a-icon
type=
"setting"
/>
批量设置
</a-menu-item>
<a-menu-item
v-if=
"isTenant"
key=
"2"
@
click=
"addDepot"
><a-icon
type=
"plus"
/>
新增仓库
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
仓库操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-col>
</a-row>
</
template
>
</
template
>
</j-editable-table>
</j-editable-table>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -77,11 +83,13 @@
...
@@ -77,11 +83,13 @@
</a-form>
</a-form>
</a-spin>
</a-spin>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<batch-set-depot
ref=
"batchSetDepotModalForm"
@
ok=
"batchSetDepotModalFormOk"
></batch-set-depot>
</j-modal>
</j-modal>
</template>
</template>
<
script
>
<
script
>
import
pick
from
'
lodash.pick
'
import
pick
from
'
lodash.pick
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
BatchSetDepot
from
'
../dialog/BatchSetDepot
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
...
@@ -94,6 +102,7 @@
...
@@ -94,6 +102,7 @@
mixins
:
[
JEditableTableMixin
,
BillModalMixin
],
mixins
:
[
JEditableTableMixin
,
BillModalMixin
],
components
:
{
components
:
{
DepotModal
,
DepotModal
,
BatchSetDepot
,
JUpload
,
JUpload
,
JDate
JDate
},
},
...
...
jshERP-web/src/views/bill/modules/AssembleModal.vue
View file @
8c72a219
...
@@ -41,12 +41,7 @@
...
@@ -41,12 +41,7 @@
@
added=
"onAdded"
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<template
#buttonAfter
>
<a-row
v-if=
"isTenant"
:gutter=
"24"
style=
"float:left;width:140px;"
>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-button
icon=
"plus"
@
click=
"addDepot"
>
新增仓库
</a-button>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
</a-col>
...
@@ -57,6 +52,17 @@
...
@@ -57,6 +52,17 @@
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
</a-col>
</a-col>
</a-row>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-dropdown>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"handleBatchSetDepot"
><a-icon
type=
"setting"
/>
批量设置
</a-menu-item>
<a-menu-item
v-if=
"isTenant"
key=
"2"
@
click=
"addDepot"
><a-icon
type=
"plus"
/>
新增仓库
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
仓库操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-col>
</a-row>
</
template
>
</
template
>
</j-editable-table>
</j-editable-table>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -76,11 +82,13 @@
...
@@ -76,11 +82,13 @@
</a-form>
</a-form>
</a-spin>
</a-spin>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<batch-set-depot
ref=
"batchSetDepotModalForm"
@
ok=
"batchSetDepotModalFormOk"
></batch-set-depot>
</j-modal>
</j-modal>
</template>
</template>
<
script
>
<
script
>
import
pick
from
'
lodash.pick
'
import
pick
from
'
lodash.pick
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
BatchSetDepot
from
'
../dialog/BatchSetDepot
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
...
@@ -94,6 +102,7 @@
...
@@ -94,6 +102,7 @@
mixins
:
[
JEditableTableMixin
,
BillModalMixin
],
mixins
:
[
JEditableTableMixin
,
BillModalMixin
],
components
:
{
components
:
{
DepotModal
,
DepotModal
,
BatchSetDepot
,
JUpload
,
JUpload
,
JDate
JDate
},
},
...
...
jshERP-web/src/views/bill/modules/DisassembleModal.vue
View file @
8c72a219
...
@@ -41,12 +41,7 @@
...
@@ -41,12 +41,7 @@
@
added=
"onAdded"
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<template
#buttonAfter
>
<a-row
v-if=
"isTenant"
:gutter=
"24"
style=
"float:left;width:140px;"
>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-button
icon=
"plus"
@
click=
"addDepot"
>
新增仓库
</a-button>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
</a-col>
...
@@ -57,6 +52,17 @@
...
@@ -57,6 +52,17 @@
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
</a-col>
</a-col>
</a-row>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-dropdown>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"handleBatchSetDepot"
><a-icon
type=
"setting"
/>
批量设置
</a-menu-item>
<a-menu-item
v-if=
"isTenant"
key=
"2"
@
click=
"addDepot"
><a-icon
type=
"plus"
/>
新增仓库
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
仓库操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-col>
</a-row>
</
template
>
</
template
>
</j-editable-table>
</j-editable-table>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -76,11 +82,13 @@
...
@@ -76,11 +82,13 @@
</a-form>
</a-form>
</a-spin>
</a-spin>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<batch-set-depot
ref=
"batchSetDepotModalForm"
@
ok=
"batchSetDepotModalFormOk"
></batch-set-depot>
</j-modal>
</j-modal>
</template>
</template>
<
script
>
<
script
>
import
pick
from
'
lodash.pick
'
import
pick
from
'
lodash.pick
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
BatchSetDepot
from
'
../dialog/BatchSetDepot
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
...
@@ -94,6 +102,7 @@
...
@@ -94,6 +102,7 @@
mixins
:
[
JEditableTableMixin
,
BillModalMixin
],
mixins
:
[
JEditableTableMixin
,
BillModalMixin
],
components
:
{
components
:
{
DepotModal
,
DepotModal
,
BatchSetDepot
,
JUpload
,
JUpload
,
JDate
JDate
},
},
...
...
jshERP-web/src/views/bill/modules/OtherInModal.vue
View file @
8c72a219
...
@@ -57,12 +57,7 @@
...
@@ -57,12 +57,7 @@
@
added=
"onAdded"
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<template
#buttonAfter
>
<a-row
v-if=
"isTenant"
:gutter=
"24"
style=
"float:left;width:140px;"
>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-button
icon=
"plus"
@
click=
"addDepot"
>
新增仓库
</a-button>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
</a-col>
...
@@ -73,6 +68,17 @@
...
@@ -73,6 +68,17 @@
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
</a-col>
</a-col>
</a-row>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-dropdown>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"handleBatchSetDepot"
><a-icon
type=
"setting"
/>
批量设置
</a-menu-item>
<a-menu-item
v-if=
"isTenant"
key=
"2"
@
click=
"addDepot"
><a-icon
type=
"plus"
/>
新增仓库
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
仓库操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-col>
</a-row>
</
template
>
</
template
>
</j-editable-table>
</j-editable-table>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -93,12 +99,14 @@
...
@@ -93,12 +99,14 @@
</a-spin>
</a-spin>
<vendor-modal
ref=
"vendorModalForm"
@
ok=
"vendorModalFormOk"
></vendor-modal>
<vendor-modal
ref=
"vendorModalForm"
@
ok=
"vendorModalFormOk"
></vendor-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<batch-set-depot
ref=
"batchSetDepotModalForm"
@
ok=
"batchSetDepotModalFormOk"
></batch-set-depot>
</j-modal>
</j-modal>
</template>
</template>
<
script
>
<
script
>
import
pick
from
'
lodash.pick
'
import
pick
from
'
lodash.pick
'
import
VendorModal
from
'
../../system/modules/VendorModal
'
import
VendorModal
from
'
../../system/modules/VendorModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
BatchSetDepot
from
'
../dialog/BatchSetDepot
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
...
@@ -112,6 +120,7 @@
...
@@ -112,6 +120,7 @@
components
:
{
components
:
{
VendorModal
,
VendorModal
,
DepotModal
,
DepotModal
,
BatchSetDepot
,
JUpload
,
JUpload
,
JDate
,
JDate
,
VNodes
:
{
VNodes
:
{
...
...
jshERP-web/src/views/bill/modules/OtherOutModal.vue
View file @
8c72a219
...
@@ -57,12 +57,7 @@
...
@@ -57,12 +57,7 @@
@
added=
"onAdded"
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<template
#buttonAfter
>
<a-row
v-if=
"isTenant"
:gutter=
"24"
style=
"float:left;width:140px;"
>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-button
icon=
"plus"
@
click=
"addDepot"
>
新增仓库
</a-button>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
</a-col>
...
@@ -73,6 +68,17 @@
...
@@ -73,6 +68,17 @@
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
</a-col>
</a-col>
</a-row>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-dropdown>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"handleBatchSetDepot"
><a-icon
type=
"setting"
/>
批量设置
</a-menu-item>
<a-menu-item
v-if=
"isTenant"
key=
"2"
@
click=
"addDepot"
><a-icon
type=
"plus"
/>
新增仓库
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
仓库操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-col>
</a-row>
</
template
>
</
template
>
</j-editable-table>
</j-editable-table>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -93,12 +99,14 @@
...
@@ -93,12 +99,14 @@
</a-spin>
</a-spin>
<customer-modal
ref=
"customerModalForm"
@
ok=
"customerModalFormOk"
></customer-modal>
<customer-modal
ref=
"customerModalForm"
@
ok=
"customerModalFormOk"
></customer-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<batch-set-depot
ref=
"batchSetDepotModalForm"
@
ok=
"batchSetDepotModalFormOk"
></batch-set-depot>
</j-modal>
</j-modal>
</template>
</template>
<
script
>
<
script
>
import
pick
from
'
lodash.pick
'
import
pick
from
'
lodash.pick
'
import
CustomerModal
from
'
../../system/modules/CustomerModal
'
import
CustomerModal
from
'
../../system/modules/CustomerModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
BatchSetDepot
from
'
../dialog/BatchSetDepot
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
...
@@ -112,6 +120,7 @@
...
@@ -112,6 +120,7 @@
components
:
{
components
:
{
CustomerModal
,
CustomerModal
,
DepotModal
,
DepotModal
,
BatchSetDepot
,
JUpload
,
JUpload
,
JDate
,
JDate
,
VNodes
:
{
VNodes
:
{
...
...
jshERP-web/src/views/bill/modules/PurchaseBackModal.vue
View file @
8c72a219
...
@@ -61,12 +61,7 @@
...
@@ -61,12 +61,7 @@
@
added=
"onAdded"
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<template
#buttonAfter
>
<a-row
v-if=
"isTenant"
:gutter=
"24"
style=
"float:left;width:140px;"
>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-button
icon=
"plus"
@
click=
"addDepot"
>
新增仓库
</a-button>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
</a-col>
...
@@ -77,6 +72,17 @@
...
@@ -77,6 +72,17 @@
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
</a-col>
</a-col>
</a-row>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-dropdown>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"handleBatchSetDepot"
><a-icon
type=
"setting"
/>
批量设置
</a-menu-item>
<a-menu-item
v-if=
"isTenant"
key=
"2"
@
click=
"addDepot"
><a-icon
type=
"plus"
/>
新增仓库
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
仓库操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-col>
</a-row>
</
template
>
</
template
>
</j-editable-table>
</j-editable-table>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -155,6 +161,7 @@
...
@@ -155,6 +161,7 @@
<vendor-modal
ref=
"vendorModalForm"
@
ok=
"vendorModalFormOk"
></vendor-modal>
<vendor-modal
ref=
"vendorModalForm"
@
ok=
"vendorModalFormOk"
></vendor-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<batch-set-depot
ref=
"batchSetDepotModalForm"
@
ok=
"batchSetDepotModalFormOk"
></batch-set-depot>
</j-modal>
</j-modal>
</template>
</template>
<
script
>
<
script
>
...
@@ -164,6 +171,7 @@
...
@@ -164,6 +171,7 @@
import
VendorModal
from
'
../../system/modules/VendorModal
'
import
VendorModal
from
'
../../system/modules/VendorModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
BatchSetDepot
from
'
../dialog/BatchSetDepot
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
...
@@ -181,6 +189,7 @@
...
@@ -181,6 +189,7 @@
VendorModal
,
VendorModal
,
DepotModal
,
DepotModal
,
AccountModal
,
AccountModal
,
BatchSetDepot
,
JUpload
,
JUpload
,
JDate
,
JDate
,
VNodes
:
{
VNodes
:
{
...
...
jshERP-web/src/views/bill/modules/PurchaseInModal.vue
View file @
8c72a219
...
@@ -68,11 +68,6 @@
...
@@ -68,11 +68,6 @@
@
added=
"onAdded"
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<template
#buttonAfter
>
<a-row
v-if=
"isTenant"
:gutter=
"24"
style=
"float:left;width:140px;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-button
icon=
"plus"
@
click=
"addDepot"
>
新增仓库
</a-button>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
...
@@ -84,6 +79,17 @@
...
@@ -84,6 +79,17 @@
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
</a-col>
</a-col>
</a-row>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-dropdown>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"handleBatchSetDepot"
><a-icon
type=
"setting"
/>
批量设置
</a-menu-item>
<a-menu-item
v-if=
"isTenant"
key=
"2"
@
click=
"addDepot"
><a-icon
type=
"plus"
/>
新增仓库
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
仓库操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-col>
</a-row>
</
template
>
</
template
>
</j-editable-table>
</j-editable-table>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -169,6 +175,7 @@
...
@@ -169,6 +175,7 @@
<vendor-modal
ref=
"vendorModalForm"
@
ok=
"vendorModalFormOk"
></vendor-modal>
<vendor-modal
ref=
"vendorModalForm"
@
ok=
"vendorModalFormOk"
></vendor-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<batch-set-depot
ref=
"batchSetDepotModalForm"
@
ok=
"batchSetDepotModalFormOk"
></batch-set-depot>
</j-modal>
</j-modal>
</template>
</template>
...
@@ -179,6 +186,7 @@
...
@@ -179,6 +186,7 @@
import
VendorModal
from
'
../../system/modules/VendorModal
'
import
VendorModal
from
'
../../system/modules/VendorModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
BatchSetDepot
from
'
../dialog/BatchSetDepot
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
...
@@ -196,6 +204,7 @@
...
@@ -196,6 +204,7 @@
VendorModal
,
VendorModal
,
DepotModal
,
DepotModal
,
AccountModal
,
AccountModal
,
BatchSetDepot
,
JUpload
,
JUpload
,
JDate
,
JDate
,
VNodes
:
{
VNodes
:
{
...
...
jshERP-web/src/views/bill/modules/RetailBackModal.vue
View file @
8c72a219
...
@@ -64,12 +64,7 @@
...
@@ -64,12 +64,7 @@
@
added=
"onAdded"
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<template
#buttonAfter
>
<a-row
v-if=
"isTenant"
:gutter=
"24"
style=
"float:left;width:140px;"
>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-button
icon=
"plus"
@
click=
"addDepot"
>
新增仓库
</a-button>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
</a-col>
...
@@ -80,6 +75,17 @@
...
@@ -80,6 +75,17 @@
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
</a-col>
</a-col>
</a-row>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-dropdown>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"handleBatchSetDepot"
><a-icon
type=
"setting"
/>
批量设置
</a-menu-item>
<a-menu-item
v-if=
"isTenant"
key=
"2"
@
click=
"addDepot"
><a-icon
type=
"plus"
/>
新增仓库
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
仓库操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-col>
</a-row>
</
template
>
</
template
>
</j-editable-table>
</j-editable-table>
</a-col>
</a-col>
...
@@ -139,6 +145,7 @@
...
@@ -139,6 +145,7 @@
<member-modal
ref=
"memberModalForm"
@
ok=
"memberModalFormOk"
></member-modal>
<member-modal
ref=
"memberModalForm"
@
ok=
"memberModalFormOk"
></member-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<batch-set-depot
ref=
"batchSetDepotModalForm"
@
ok=
"batchSetDepotModalFormOk"
></batch-set-depot>
</j-modal>
</j-modal>
</template>
</template>
<
script
>
<
script
>
...
@@ -147,6 +154,7 @@
...
@@ -147,6 +154,7 @@
import
MemberModal
from
'
../../system/modules/MemberModal
'
import
MemberModal
from
'
../../system/modules/MemberModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
BatchSetDepot
from
'
../dialog/BatchSetDepot
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
...
@@ -164,6 +172,7 @@
...
@@ -164,6 +172,7 @@
MemberModal
,
MemberModal
,
DepotModal
,
DepotModal
,
AccountModal
,
AccountModal
,
BatchSetDepot
,
JUpload
,
JUpload
,
JDate
,
JDate
,
VNodes
:
{
VNodes
:
{
...
...
jshERP-web/src/views/bill/modules/RetailOutModal.vue
View file @
8c72a219
...
@@ -74,11 +74,6 @@
...
@@ -74,11 +74,6 @@
@
added=
"onAdded"
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<template
#buttonAfter
>
<a-row
v-if=
"isTenant"
:gutter=
"24"
style=
"float:left;width:140px;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-button
icon=
"plus"
@
click=
"addDepot"
>
新增仓库
</a-button>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
...
@@ -90,6 +85,17 @@
...
@@ -90,6 +85,17 @@
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
</a-col>
</a-col>
</a-row>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-dropdown>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"handleBatchSetDepot"
><a-icon
type=
"setting"
/>
批量设置
</a-menu-item>
<a-menu-item
v-if=
"isTenant"
key=
"2"
@
click=
"addDepot"
><a-icon
type=
"plus"
/>
新增仓库
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
仓库操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-col>
</a-row>
</
template
>
</
template
>
</j-editable-table>
</j-editable-table>
</a-col>
</a-col>
...
@@ -153,6 +159,7 @@
...
@@ -153,6 +159,7 @@
<member-modal
ref=
"memberModalForm"
@
ok=
"memberModalFormOk"
></member-modal>
<member-modal
ref=
"memberModalForm"
@
ok=
"memberModalFormOk"
></member-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<batch-set-depot
ref=
"batchSetDepotModalForm"
@
ok=
"batchSetDepotModalFormOk"
></batch-set-depot>
</j-modal>
</j-modal>
</template>
</template>
<
script
>
<
script
>
...
@@ -160,6 +167,7 @@
...
@@ -160,6 +167,7 @@
import
MemberModal
from
'
../../system/modules/MemberModal
'
import
MemberModal
from
'
../../system/modules/MemberModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
BatchSetDepot
from
'
../dialog/BatchSetDepot
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
...
@@ -176,6 +184,7 @@
...
@@ -176,6 +184,7 @@
MemberModal
,
MemberModal
,
DepotModal
,
DepotModal
,
AccountModal
,
AccountModal
,
BatchSetDepot
,
JUpload
,
JUpload
,
JDate
,
JDate
,
VNodes
:
{
VNodes
:
{
...
...
jshERP-web/src/views/bill/modules/SaleBackModal.vue
View file @
8c72a219
...
@@ -61,12 +61,7 @@
...
@@ -61,12 +61,7 @@
@
added=
"onAdded"
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<template
#buttonAfter
>
<a-row
v-if=
"isTenant"
:gutter=
"24"
style=
"float:left;width:140px;"
>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-button
icon=
"plus"
@
click=
"addDepot"
>
新增仓库
</a-button>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
</a-col>
</a-col>
...
@@ -77,6 +72,17 @@
...
@@ -77,6 +72,17 @@
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
</a-col>
</a-col>
</a-row>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-dropdown>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"handleBatchSetDepot"
><a-icon
type=
"setting"
/>
批量设置
</a-menu-item>
<a-menu-item
v-if=
"isTenant"
key=
"2"
@
click=
"addDepot"
><a-icon
type=
"plus"
/>
新增仓库
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
仓库操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-col>
</a-row>
</
template
>
</
template
>
</j-editable-table>
</j-editable-table>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -158,6 +164,7 @@
...
@@ -158,6 +164,7 @@
<customer-modal
ref=
"customerModalForm"
@
ok=
"customerModalFormOk"
></customer-modal>
<customer-modal
ref=
"customerModalForm"
@
ok=
"customerModalFormOk"
></customer-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<batch-set-depot
ref=
"batchSetDepotModalForm"
@
ok=
"batchSetDepotModalFormOk"
></batch-set-depot>
</j-modal>
</j-modal>
</template>
</template>
<
script
>
<
script
>
...
@@ -167,6 +174,7 @@
...
@@ -167,6 +174,7 @@
import
CustomerModal
from
'
../../system/modules/CustomerModal
'
import
CustomerModal
from
'
../../system/modules/CustomerModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
BatchSetDepot
from
'
../dialog/BatchSetDepot
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
...
@@ -185,6 +193,7 @@
...
@@ -185,6 +193,7 @@
CustomerModal
,
CustomerModal
,
DepotModal
,
DepotModal
,
AccountModal
,
AccountModal
,
BatchSetDepot
,
JUpload
,
JUpload
,
JDate
,
JDate
,
JSelectMultiple
,
JSelectMultiple
,
...
...
jshERP-web/src/views/bill/modules/SaleOutModal.vue
View file @
8c72a219
...
@@ -69,11 +69,6 @@
...
@@ -69,11 +69,6 @@
@
added=
"onAdded"
@
added=
"onAdded"
@
deleted=
"onDeleted"
>
@
deleted=
"onDeleted"
>
<template
#buttonAfter
>
<template
#buttonAfter
>
<a-row
v-if=
"isTenant"
:gutter=
"24"
style=
"float:left;width:140px;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-button
icon=
"plus"
@
click=
"addDepot"
>
新增仓库
</a-button>
</a-col>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-row
:gutter=
"24"
style=
"float:left;"
data-step=
"4"
data-title=
"扫码录入"
data-intro=
"此功能支持扫码枪扫描商品条码进行录入"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-col
v-if=
"scanStatus"
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
<a-button
@
click=
"scanEnter"
>
扫码录入
</a-button>
...
@@ -85,6 +80,17 @@
...
@@ -85,6 +80,17 @@
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
<a-button
@
click=
"stopScan"
>
收起扫码
</a-button>
</a-col>
</a-col>
</a-row>
</a-row>
<a-row
:gutter=
"24"
style=
"float:left;"
>
<a-col
:md=
"24"
:sm=
"24"
>
<a-dropdown>
<a-menu
slot=
"overlay"
>
<a-menu-item
key=
"1"
@
click=
"handleBatchSetDepot"
><a-icon
type=
"setting"
/>
批量设置
</a-menu-item>
<a-menu-item
v-if=
"isTenant"
key=
"2"
@
click=
"addDepot"
><a-icon
type=
"plus"
/>
新增仓库
</a-menu-item>
</a-menu>
<a-button
style=
"margin-left: 8px"
>
仓库操作
<a-icon
type=
"down"
/></a-button>
</a-dropdown>
</a-col>
</a-row>
</
template
>
</
template
>
</j-editable-table>
</j-editable-table>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
...
@@ -174,6 +180,7 @@
...
@@ -174,6 +180,7 @@
<customer-modal
ref=
"customerModalForm"
@
ok=
"customerModalFormOk"
></customer-modal>
<customer-modal
ref=
"customerModalForm"
@
ok=
"customerModalFormOk"
></customer-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<depot-modal
ref=
"depotModalForm"
@
ok=
"depotModalFormOk"
></depot-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<account-modal
ref=
"accountModalForm"
@
ok=
"accountModalFormOk"
></account-modal>
<batch-set-depot
ref=
"batchSetDepotModalForm"
@
ok=
"batchSetDepotModalFormOk"
></batch-set-depot>
</j-modal>
</j-modal>
</template>
</template>
<
script
>
<
script
>
...
@@ -183,6 +190,7 @@
...
@@ -183,6 +190,7 @@
import
CustomerModal
from
'
../../system/modules/CustomerModal
'
import
CustomerModal
from
'
../../system/modules/CustomerModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
DepotModal
from
'
../../system/modules/DepotModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
AccountModal
from
'
../../system/modules/AccountModal
'
import
BatchSetDepot
from
'
../dialog/BatchSetDepot
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
FormTypes
}
from
'
@/utils/JEditableTableUtil
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
JEditableTableMixin
}
from
'
@/mixins/JEditableTableMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
import
{
BillModalMixin
}
from
'
../mixins/BillModalMixin
'
...
@@ -201,6 +209,7 @@
...
@@ -201,6 +209,7 @@
CustomerModal
,
CustomerModal
,
DepotModal
,
DepotModal
,
AccountModal
,
AccountModal
,
BatchSetDepot
,
JUpload
,
JUpload
,
JDate
,
JDate
,
JSelectMultiple
,
JSelectMultiple
,
...
...
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