Browse Source

备货物料展示

master_hella_20240701
chenfang 8 months ago
parent
commit
615e5ee719
  1. 9
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue
  2. 2
      src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts

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

@ -90,7 +90,6 @@ import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue'
import * as DeliverPlanDetailApi from '@/api/wms/deliverPlanDetail'
import {DeliverRequestDetail} from '../../deliver/deliverRequestMain/deliverRequestMain.data'
//
defineOptions({ name: 'StockupMainRequest' })
@ -119,12 +118,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
const setV = {}
setV[formField] = val[0][searchField]
if (type == 'tableForm') {
if(formField == 'packingNumber') {
row['packingNumber'] = val[0]['packingNumber']
row['containerNumber'] = val[0]['containerNumber']
row['batch'] = val[0]['batch']
row['inventoryStatus'] = val[0]['inventoryStatus']
row['itemCode'] = val[0]['itemCode']
if(formField == 'itemCode') {
row['itemCode'] = val[0]['code']
row['uom'] = val[0]['uom']
}
if(formField == 'toLocationCode'){

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

@ -572,7 +572,7 @@ export const StockupDetailRequest = useCrudSchemas(reactive<CrudSchema[]>([
tableForm:{
isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择物料代码',
searchField: 'itemCode',
searchField: 'code',
searchTitle: '物料基础信息',
searchAllSchemas: Itembasic.allSchemas,
searchPage: ItemBasicApi.getItembasicPage,

Loading…
Cancel
Save