|
@ -94,6 +94,7 @@ import { DeliverRequestMain,DeliverRequestMainRules,DeliverRequestDetail,Deliver |
|
|
import * as DeliverRequestMainApi from '@/api/wms/deliverRequestMain' |
|
|
import * as DeliverRequestMainApi from '@/api/wms/deliverRequestMain' |
|
|
import * as DeliverRequestDetailApi from '@/api/wms/deliverRequestDetail' |
|
|
import * as DeliverRequestDetailApi from '@/api/wms/deliverRequestDetail' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
|
|
|
import * as AreabasicApi from '@/api/wms/areabasic' |
|
|
|
|
|
|
|
|
// 发货申请 |
|
|
// 发货申请 |
|
|
defineOptions({ name: 'DeliverRequestMain' }) |
|
|
defineOptions({ name: 'DeliverRequestMain' }) |
|
@ -142,7 +143,7 @@ const updataTableColumns = (val) => { |
|
|
|
|
|
|
|
|
// 查询页面返回 |
|
|
// 查询页面返回 |
|
|
const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => { |
|
|
const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => { |
|
|
nextTick(() => { |
|
|
nextTick(async () => { |
|
|
if (type == 'tableForm') { |
|
|
if (type == 'tableForm') { |
|
|
if(formField == 'itemCode') { |
|
|
if(formField == 'itemCode') { |
|
|
const tableFormKeys = {} |
|
|
const tableFormKeys = {} |
|
@ -172,6 +173,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
//客户月台 |
|
|
//客户月台 |
|
|
setV['toWarehouseCode'] = val[0]['warehouseCode']//到仓库 |
|
|
setV['toWarehouseCode'] = val[0]['warehouseCode']//到仓库 |
|
|
setV['toLocationCode'] = val[0]['defaultLocationCode']//到库位 |
|
|
setV['toLocationCode'] = val[0]['defaultLocationCode']//到库位 |
|
|
|
|
|
let res = await AreabasicApi.selectAreabasicDOByCode(val[0]['defaultLocationCode']) |
|
|
|
|
|
if(res){ |
|
|
|
|
|
setV['deliverType'] = res['type'] |
|
|
|
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
setV[formField] = val[0][searchField] |
|
|
setV[formField] = val[0][searchField] |
|
|
} |
|
|
} |
|
|