增加销售订单转采购订单的功能(优化)

This commit is contained in:
jishenghua
2025-05-03 16:21:45 +08:00
parent ad95ec1952
commit c70ad0d569

View File

@@ -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) {