diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue index a35c5fb98..1456bae42 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue @@ -53,7 +53,8 @@ @tableSelectionDelete="tableSelectionDelete" @searchTableSuccess="searchTableSuccess" @submitForm="submitForm" - @onEnter="onEnter"/> + @onEnter="onEnter" + @onBlur="onEnter"/> @@ -176,6 +177,7 @@ // var ms = endTime.substring(0, 2) // var me = endTime.substring(3) // setV['endTime'] = new Date(2024, 1, 1, Number(ms), Number(me)) + setV['timeWindow'] = res.timeWindow setV['beginTime'] = res.beginTime setV['endTime'] = res.endTime setV['contacts'] = res.contacts @@ -377,6 +379,7 @@ const getSearchTableData = async (number,formField,searchField)=>{ } else if (val == 'supplierdeliver') { // 创建供应商发货申请 supplierdeliverFormRef.value.openFormByCreate({ number:row.number, //要货单号 + poNumber:row.poNumber, //采购订单号 supplierCode:row.supplierCode, //供应商代码 endTime:row.endTime, //结束时间 deliveryDate:row.deliveryDate // 送达日期 diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue index c4991cd51..14a656acb 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue @@ -99,6 +99,7 @@ const openFormByCreate = async ( data ) => { const setV = {} // 供应商代码回显 setV['supplierCode'] = data['supplierCode'] // 供应商代码 + setV['poNumber'] = data['poNumber'] //采购订单 setV['ppNumber'] = data['number'] // 要货单号 searchPage: SupplierApi.getSupplierPage //新增--选择完要货计划,自动展示明细