|
@ -103,7 +103,7 @@ const openFormByCreate = async ( data ) => { |
|
|
setV['ppNumber'] = data['number'] // 要货单号 |
|
|
setV['ppNumber'] = data['number'] // 要货单号 |
|
|
searchPage: SupplierApi.getSupplierPage |
|
|
searchPage: SupplierApi.getSupplierPage |
|
|
//新增--选择完要货计划,自动展示明细 |
|
|
//新增--选择完要货计划,自动展示明细 |
|
|
getSearchTableData(data['number'],'ppNumber','number') |
|
|
getSearchTableData(data['number'],'ppNumber','number',0) |
|
|
|
|
|
|
|
|
// 设置计划到货时间 |
|
|
// 设置计划到货时间 |
|
|
let beginTime = data['endTime'] |
|
|
let beginTime = data['endTime'] |
|
@ -234,7 +234,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
//新增--选择完要货计划,自动展示明细 |
|
|
//新增--选择完要货计划,自动展示明细 |
|
|
|
|
|
|
|
|
setV['poNumber'] = val[0]['poNumber'] //采购订单 |
|
|
setV['poNumber'] = val[0]['poNumber'] //采购订单 |
|
|
getSearchTableData(val[0]['number'],formField,searchField) |
|
|
getSearchTableData(val[0]['number'],formField,searchField,1) |
|
|
|
|
|
|
|
|
// 设置计划到货时间 |
|
|
// 设置计划到货时间 |
|
|
|
|
|
|
|
@ -258,9 +258,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const getSearchTableData = async (number,formField,searchField)=>{ |
|
|
const getSearchTableData = async (number,formField,searchField,isAll)=>{ |
|
|
const {tableObject ,tableMethods} = useTable({ |
|
|
const {tableObject ,tableMethods} = useTable({ |
|
|
defaultParams:{number,flag:1}, |
|
|
defaultParams:{number,flag:1,isAll}, |
|
|
getListApi: PurchasePlanDetailApi.getPurchasePlanDetailPage // 分页接口 |
|
|
getListApi: PurchasePlanDetailApi.getPurchasePlanDetailPage // 分页接口 |
|
|
}) |
|
|
}) |
|
|
tableObject.pageSize = 500 |
|
|
tableObject.pageSize = 500 |
|
|