Browse Source

需求:YT-2257 要货计划新增展示

intex_zhaoxuebing
赵雪冰 6 days ago
parent
commit
bf695aa387
  1. 4
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts
  2. 3
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue
  3. 6
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

4
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -242,13 +242,13 @@ export const PurchasePlanMain = useCrudSchemas(
isTable: true,
isForm: true,
isTableForm: false,
isSearch: true,
isSearch: false,
sortSearchDefault: 3,
formatter: dateFormatter2,
search: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'YYYY-MM-DD',
type: 'daterange',
defaultTime: [new Date('1 '), new Date('1 ')]
}

3
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue

@ -126,6 +126,9 @@ const openFormByCreate = async ( data ) => {
setV['planArriveTime']= new Date(planArriveTimeStr.value).valueOf();
setV['arriveTime']= new Date(planArriveTimeStr.value).valueOf();
}
if(data['schdShipDate']){
setV['schdShipDate']= data['schdShipDate'];
}
formRef.value.open('create', null)
//

6
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

@ -259,20 +259,18 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
},
{
label: '取货日期',
sortTableDefault:5,
field: 'schdShipDate',
sort: 'custom',
isDetail: true,
isTable: true,
isTable: false,
isForm: true,
isTableForm: false,
isSearch: true,
sortSearchDefault: 3,
formatter: dateFormatter2,
search: {
component: 'DatePicker',
componentProps: {
valueFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'YYYY-MM-DD',
type: 'daterange',
defaultTime: [new Date('1 '), new Date('1 ')]
}

Loading…
Cancel
Save