Browse Source

计划

master_hella_20240701
wangyufei 5 months ago
parent
commit
2c869f8390
  1. 14
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  2. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

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

@ -389,7 +389,21 @@ const getSearchTableData = async (number,formField,searchField)=>{
nextTick(async () => {
formRef.value.formRef.setValues({deliveryDate:dayjs().valueOf()})
})
PurchasePlanMain.allSchemas.formSchema.forEach((item) => {
//
if(item.field == 'supplierCode'){
item.componentProps.disabled = false
item.componentProps.isSearchList = true
}
})
}else{
PurchasePlanMain.allSchemas.formSchema.forEach((item) => {
//
if(item.field == 'supplierCode'){
item.componentProps.disabled = true
item.componentProps.isSearchList = false
}
})
isShowButtonSelection.value = true
}
}

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

@ -145,8 +145,8 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'date',
dateFormat: 'YYYY-MM-DD',
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
}
},
@ -160,7 +160,7 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
dictType: DICT_TYPE.PURCHASE_ORDER_TYPE,
dictClass: 'string',
isTable: false,
isTable: true,
isForm:true,
isSearch: true,
table: {
@ -745,8 +745,8 @@ export const PurchasePlanDetail = useCrudSchemas(reactive<CrudSchema[]>([
sortTableDefault:6,
},
{
label: '在途数量(没有字段,需要加)',
field: 'shippedQty',
label: '在途数量',
field: 'notReceiveQty',
sort: 'custom',
table: {
width: 150

Loading…
Cancel
Save