|
@ -84,7 +84,6 @@ import { InventorymoveRequestMain,InventorymoveRequestMainRules,InventorymoveReq |
|
|
import * as InventorymoveRequestMainApi from '@/api/wms/inventorymoveRequestMain' |
|
|
import * as InventorymoveRequestMainApi from '@/api/wms/inventorymoveRequestMain' |
|
|
import * as InventorymoveRequestDetailApi from '@/api/wms/inventorymoveRequestDetail' |
|
|
import * as InventorymoveRequestDetailApi from '@/api/wms/inventorymoveRequestDetail' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import { log } from 'console' |
|
|
|
|
|
|
|
|
|
|
|
// 库存转移申请 |
|
|
// 库存转移申请 |
|
|
defineOptions({ name: 'InventorymoveRequestMain' }) |
|
|
defineOptions({ name: 'InventorymoveRequestMain' }) |
|
@ -602,8 +601,6 @@ const submitForm = async (formType, data) => { |
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
data.subList = tableData.value // 拼接子表数据参数 |
|
|
let isExist = false |
|
|
let isExist = false |
|
|
tableData.value.forEach(item => { |
|
|
tableData.value.forEach(item => { |
|
|
console.log(item,777777777777); |
|
|
|
|
|
|
|
|
|
|
|
let rs = tableData.value.filter(filterItem => (filterItem.fromPackingNumber == item.fromPackingNumber) ) |
|
|
let rs = tableData.value.filter(filterItem => (filterItem.fromPackingNumber == item.fromPackingNumber) ) |
|
|
console.log(rs,5666); |
|
|
console.log(rs,5666); |
|
|
if(rs.length > 1) isExist = true |
|
|
if(rs.length > 1) isExist = true |
|
|