Browse Source

自动提交自动审批

master_hella_20240701
zhaoxuebing 9 months ago
parent
commit
34f63132d9
  1. 41
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

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

@ -126,6 +126,44 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isForm: false,
},
{
label: '自动发布',
field: 'autoPublish',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: "TRUE",
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '自动接收',
field: 'autoAccept',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: "TRUE",
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '是否可用',
field: 'available',
@ -141,7 +179,8 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
activeValue: 'TRUE',
disabled: true
}
},
isSearch: true,

Loading…
Cancel
Save