增加销售订单转采购订单的功能(优化)
This commit is contained in:
@@ -733,10 +733,16 @@ export const BillListMixin = {
|
|||||||
} else {
|
} else {
|
||||||
let info = this.selectionRows[0]
|
let info = this.selectionRows[0]
|
||||||
if(info.status === '1' || info.status === '3') {
|
if(info.status === '1' || info.status === '3') {
|
||||||
|
let linkType = 'basic'
|
||||||
|
if(type === '转采购订单-以销定购') {
|
||||||
|
linkType = 'purchase'
|
||||||
|
} else {
|
||||||
|
linkType = 'basic'
|
||||||
|
}
|
||||||
let param = {
|
let param = {
|
||||||
headerId: info.id,
|
headerId: info.id,
|
||||||
mpList : '',
|
mpList : '',
|
||||||
linkType: 'basic'
|
linkType: linkType
|
||||||
}
|
}
|
||||||
getAction('/depotItem/getDetailList', param).then((res) => {
|
getAction('/depotItem/getDetailList', param).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user