Browse Source

新增--自动带出

master_hella_20240701
wangyufei 4 months ago
parent
commit
df7e9a9455
  1. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue
  2. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

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

@ -216,6 +216,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
setV[formField] = val[0][searchField] setV[formField] = val[0][searchField]
if(formField == 'ppNumber'){ if(formField == 'ppNumber'){
//-- //--
setV['poNumber'] = val[0]['poNumber'] //
getSearchTableData(val[0]['number'],formField,searchField) getSearchTableData(val[0]['number'],formField,searchField)
// //

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

@ -119,7 +119,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
}, },
{ {
label: '要求到货时间(提供字段)', label: '要求到货时间(提供字段)',
field: 'planArriveTime1', field: 'planArriveTime',
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -132,6 +132,7 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
disabled: true,
style: { width: '100%' }, style: { width: '100%' },
type: 'datetime', type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss', dateFormat: 'YYYY-MM-DD HH:mm:ss',
@ -144,6 +145,12 @@ export const SupplierdeliverRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
field: 'poNumber', field: 'poNumber',
isForm:true, isForm:true,
isTableForm:false, isTableForm:false,
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
disabled: true,
}
}
}, },
{ {
label: '计划到货时间', label: '计划到货时间',
@ -1151,6 +1158,7 @@ export const SupplierdeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]
label: '备注', label: '备注',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
isTable: false,
hiddenInMain:true, hiddenInMain:true,
table: { table: {
width: 150 width: 150

Loading…
Cancel
Save