Browse Source

送达日期

hella_online_20240829
wangyufei 4 months ago
parent
commit
1f823b3b71
  1. 7
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  2. 8
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

7
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -460,6 +460,10 @@ const getSearchTableData = async (number,formField,searchField)=>{
item.componentProps.disabled = false
item.componentProps.isSearchList = true
}
if(item.field == 'deliveryDate'){
item.componentProps.disabled = false
}
})
}else{
PurchasePlanMain.allSchemas.formSchema.forEach((item) => {
@ -468,6 +472,9 @@ const getSearchTableData = async (number,formField,searchField)=>{
item.componentProps.disabled = true
item.componentProps.isSearchList = false
}
if(item.field == 'deliveryDate'){
item.componentProps.disabled = true
}
})
}
}

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

@ -70,7 +70,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
isTableForm:false,
isSearch:true,
sortSearchDefault:3,
formatter: dateFormatter,
formatter: dateFormatter2,
search: {
component: 'DatePicker',
componentProps: {
@ -140,19 +140,19 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
formatter: dateFormatter,
formatter: dateFormatter2,
sortTableDefault:2,
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'datetime',
type: 'date',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
dateFormat: 'YYYY-MM-DD'
},
},
{

Loading…
Cancel
Save