Browse Source

提了

master_hella_20240701
wangyufei 5 months ago
parent
commit
85ae1aeb38
  1. 7
      src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue
  2. 4
      src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue
  3. 4
      src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

7
src/views/wms/inventoryjobManage/sparepartsrequisition/sparepartsrequisitionRequestMain/index.vue

@ -399,7 +399,12 @@ const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item))
}
//
const submitForm = async (formType, data) => {
const submitForm = async (formType, submitData) => {
let data = {...submitData}
if(data.masterId){
data.id = data.masterId
}
data.subList = tableData.value //
try {
if (formType === 'create') {

4
src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/index.vue

@ -419,7 +419,9 @@ const tableSelectionDelete = (selection) => {
//
const submitForm = async (formType, submitData) => {
let data = {...submitData}
data.id = data.masterId
if(data.masterId){
data.id = data.masterId
}
data.subList = tableData.value //
try {
if (formType === 'create') {

4
src/views/wms/inventoryjobManage/unplannedreceipt/unplannedreceiptRequestMain/index.vue

@ -643,7 +643,9 @@ const tableSelectionDelete = (selection) => {
const submitForm = async (formType, submitData) => {
let data = {...submitData}
data.id = data.masterId
if(data.masterId){
data.id = data.masterId
}
data.subList = tableData.value //
data.subList.forEach(row=>{
row['expireDate'] = row['validityDays']?addDay(row['produceDate'],row['validityDays']).valueOf():''

Loading…
Cancel
Save