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
a7ac4581
Commit
a7ac4581
authored
Sep 22, 2021
by
季圣华
Browse files
给单据增加复制功能
parent
efb1e828
Changes
28
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/modules/PurchaseBackModal.vue
View file @
a7ac4581
...
...
@@ -253,6 +253,12 @@
let
url
=
this
.
readOnly
?
this
.
url
.
detailList
:
this
.
url
.
detailList
;
this
.
requestSubTableData
(
url
,
params
,
this
.
materialTable
);
}
//复制新增单据-初始化单号和日期
if
(
this
.
action
===
'
copyAdd
'
)
{
this
.
model
.
id
=
''
this
.
model
.
tenantId
=
''
this
.
copyAddInit
(
this
.
prefixNo
)
}
this
.
initSupplier
()
this
.
initDepot
()
this
.
initAccount
()
...
...
jshERP-web/src/views/bill/modules/PurchaseInModal.vue
View file @
a7ac4581
...
...
@@ -254,6 +254,12 @@
let
url
=
this
.
readOnly
?
this
.
url
.
detailList
:
this
.
url
.
detailList
;
this
.
requestSubTableData
(
url
,
params
,
this
.
materialTable
);
}
//复制新增单据-初始化单号和日期
if
(
this
.
action
===
'
copyAdd
'
)
{
this
.
model
.
id
=
''
this
.
model
.
tenantId
=
''
this
.
copyAddInit
(
this
.
prefixNo
)
}
this
.
initSupplier
()
this
.
initDepot
()
this
.
initAccount
()
...
...
jshERP-web/src/views/bill/modules/PurchaseOrderModal.vue
View file @
a7ac4581
...
...
@@ -175,6 +175,12 @@
let
url
=
this
.
readOnly
?
this
.
url
.
detailList
:
this
.
url
.
detailList
;
this
.
requestSubTableData
(
url
,
params
,
this
.
materialTable
);
}
//复制新增单据-初始化单号和日期
if
(
this
.
action
===
'
copyAdd
'
)
{
this
.
model
.
id
=
''
this
.
model
.
tenantId
=
''
this
.
copyAddInit
(
this
.
prefixNo
)
}
this
.
initSupplier
()
this
.
initDepot
()
},
...
...
jshERP-web/src/views/bill/modules/RetailBackModal.vue
View file @
a7ac4581
...
...
@@ -220,6 +220,12 @@
let
url
=
this
.
readOnly
?
this
.
url
.
detailList
:
this
.
url
.
detailList
;
this
.
requestSubTableData
(
url
,
params
,
this
.
materialTable
);
}
//复制新增单据-初始化单号和日期
if
(
this
.
action
===
'
copyAdd
'
)
{
this
.
model
.
id
=
''
this
.
model
.
tenantId
=
''
this
.
copyAddInit
(
this
.
prefixNo
)
}
this
.
initRetail
()
this
.
initDepot
()
this
.
initAccount
()
...
...
jshERP-web/src/views/bill/modules/RetailOutModal.vue
View file @
a7ac4581
...
...
@@ -228,6 +228,12 @@
let
url
=
this
.
readOnly
?
this
.
url
.
detailList
:
this
.
url
.
detailList
;
this
.
requestSubTableData
(
url
,
params
,
this
.
materialTable
);
}
//复制新增单据-初始化单号和日期
if
(
this
.
action
===
'
copyAdd
'
)
{
this
.
model
.
id
=
''
this
.
model
.
tenantId
=
''
this
.
copyAddInit
(
this
.
prefixNo
)
}
this
.
initRetail
()
this
.
initDepot
()
this
.
initAccount
()
...
...
jshERP-web/src/views/bill/modules/SaleBackModal.vue
View file @
a7ac4581
...
...
@@ -260,6 +260,12 @@
let
url
=
this
.
readOnly
?
this
.
url
.
detailList
:
this
.
url
.
detailList
;
this
.
requestSubTableData
(
url
,
params
,
this
.
materialTable
);
}
//复制新增单据-初始化单号和日期
if
(
this
.
action
===
'
copyAdd
'
)
{
this
.
model
.
id
=
''
this
.
model
.
tenantId
=
''
this
.
copyAddInit
(
this
.
prefixNo
)
}
this
.
initCustomer
()
this
.
initSalesman
()
this
.
initDepot
()
...
...
jshERP-web/src/views/bill/modules/SaleOrderModal.vue
View file @
a7ac4581
...
...
@@ -181,6 +181,12 @@
let
url
=
this
.
readOnly
?
this
.
url
.
detailList
:
this
.
url
.
detailList
;
this
.
requestSubTableData
(
url
,
params
,
this
.
materialTable
);
}
//复制新增单据-初始化单号和日期
if
(
this
.
action
===
'
copyAdd
'
)
{
this
.
model
.
id
=
''
this
.
model
.
tenantId
=
''
this
.
copyAddInit
(
this
.
prefixNo
)
}
this
.
initCustomer
()
this
.
initSalesman
()
this
.
initDepot
()
...
...
jshERP-web/src/views/bill/modules/SaleOutModal.vue
View file @
a7ac4581
...
...
@@ -260,6 +260,12 @@
let
url
=
this
.
readOnly
?
this
.
url
.
detailList
:
this
.
url
.
detailList
;
this
.
requestSubTableData
(
url
,
params
,
this
.
materialTable
);
}
//复制新增单据-初始化单号和日期
if
(
this
.
action
===
'
copyAdd
'
)
{
this
.
model
.
id
=
''
this
.
model
.
tenantId
=
''
this
.
copyAddInit
(
this
.
prefixNo
)
}
this
.
initCustomer
()
this
.
initSalesman
()
this
.
initDepot
()
...
...
Prev
1
2
Next
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