Browse Source

性能卡顿

master_hella_20240701
wangyufei 5 months ago
parent
commit
89d5083bca
  1. 1
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue
  2. 1
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue
  3. 1
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue
  4. 1
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue
  5. 1
      src/views/wms/productionManage/productionplan/productionMain/index.vue
  6. 1
      src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue
  7. 1
      src/views/wms/productionManage/productredress/productredressRequestMain/index.vue
  8. 1
      src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue
  9. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue
  10. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  11. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue
  12. 1
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

1
src/views/wms/basicDataManage/itemManage/itemarea/index.vue

@ -130,6 +130,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
}else{
newRow[formField] = item[searchField]
}
newRow['id'] = item['id']
tableData.value.push(newRow)
})

1
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue

@ -154,6 +154,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =
if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode'])) return
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))
newRow['uom'] = item['customerUom']
newRow['id'] = item['id']
tableData.value.push(newRow)
})
}else{

1
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue

@ -161,6 +161,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode'])) return
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))
newRow['uom'] = item['customerUom']
newRow['id'] = item['id']
tableData.value.push(newRow)
})
}

1
src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue

@ -133,6 +133,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))
newRow['uom'] = item['uom']
newRow['itemCode'] = item['code']
newRow['id'] = item['id']
tableData.value.push(newRow)
})
}

1
src/views/wms/productionManage/productionplan/productionMain/index.vue

@ -122,6 +122,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
val.forEach(item=>{
if(tableData.value.find(item1=>item1['id'] == item['id'])) return
const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item}))
newRow['id'] = item['id']
tableData.value.push(newRow)
})
} else {

1
src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue

@ -122,6 +122,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow['qty'] = item['qty']
newRow['inventoryStatus'] = item['inventoryStatus']
newRow['fromLocationCode'] = item['locationCode']
newRow['id'] = item['id']
tableData.value.push(newRow)
})
} else {

1
src/views/wms/productionManage/productredress/productredressRequestMain/index.vue

@ -142,6 +142,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow['packUnit'] = item['packUnit']
newRow['inventoryStatus'] = item['inventoryStatus']
newRow['toLocationCode'] = item['locationCode']
newRow['id'] = item['id']
tableData.value.push(newRow)
})
}

1
src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue

@ -176,6 +176,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow['uom'] = item['uom']
newRow['poNumber'] = item['number']
newRow['poLineType'] = item['poLineType']
newRow['id'] = item['id']
let supplierCode = formRef.formModel.supplierCode;
let queryData = {
supplierCode:supplierCode,

1
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue

@ -171,6 +171,7 @@ console.log('PurchaseMain.allSchemas.searchSchema',PurchaseMain.allSchemas.searc
}
newRow['lineNumber'] = lineNumber
newRow['uom'] = item['supplierUom']
newRow['id'] = item['id']
tableData.value.push(newRow)
})
// const itemCodes = val.map(valItem=>valItem['itemCode'])

1
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -121,6 +121,7 @@
newRow['itemCode'] = item['code']
newRow['poNumber'] = item['number']
newRow['poLine'] = item['lineNumber']
newRow['id'] = item['id']
if (formField == 'poLine') {
//--
newRow['itemCode'] = item['itemCode']

1
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue

@ -190,6 +190,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
newRow['poLine'] = item['poLine']
newRow['orderQty'] = item['orderQty']
newRow['uom'] = item['uom']
newRow['id'] = item['id']
if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode']&&item1['poLine'] == item['poLine']&&item1['poNumber'] == item['poNumber'])) return
itemCodes.push(item['itemCode'])

1
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -269,6 +269,7 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea
newRow['itemCode'] = item['itemCode']
newRow['deliveryDate'] = item['prhRcpDate']
newRow['arrivalQty'] = item['prhRcvd']
newRow['id'] = item['id']
}
tableData.value.push(newRow)
})

Loading…
Cancel
Save