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

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

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

Loading…
Cancel
Save