Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
陈薪名 8 months ago
parent
commit
d0516146a1
  1. 6
      src/views/wms/basicDataManage/itemManage/itemarea/index.vue
  2. 1
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts
  3. 10
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

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

@ -121,11 +121,15 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
row[formField] = val[0][searchField] row[formField] = val[0][searchField]
} }
}else{ }else{
const setV = {} const setV = {}
if(formField == 'areaCode') { if(formField == 'areaCode') {
console.log(val[0]); console.log(val[0]);
setV['areaCode'] = val[0]['code'] setV['areaCode'] = val[0]['code']
setV['areaType'] = val[0]['type'] setV['areaType'] = val[0]['type']
}else if(formField == 'inPackUnit') {
setV['inPackUnit'] = val[0]['code']
}else if(formField == 'outPackUnit') {
setV['outPackUnit'] = val[0]['code']
}else{ }else{
setV[formField] = setV[0][searchField] setV[formField] = setV[0][searchField]
} }

1
src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts

@ -603,6 +603,7 @@ export const StockupDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
tableForm: { tableForm: {
type: 'Select',
disabled: true disabled: true
}, },
form: { form: {

10
src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

@ -83,6 +83,7 @@ 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' })
@ -596,9 +597,10 @@ 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 => {
let rs = tableData.value.filter(filterItem => (filterItem.packingNumber == item.packingNumber)) console.log(item,777777777777);
console.log(rs);
let rs = tableData.value.filter(filterItem => (filterItem.fromPackingNumber == item.fromPackingNumber) )
console.log(rs,5666);
if(rs.length > 1) isExist = true if(rs.length > 1) isExist = true
}) })
if (isExist) { if (isExist) {
@ -617,7 +619,7 @@ const submitForm = async (formType, data) => {
flag.value = true flag.value = true
return; return;
} }
}) })
if(flag.value){ if(flag.value){
formRef.value.formLoading = false formRef.value.formLoading = false
return return

Loading…
Cancel
Save