Browse Source

要货计划修改

master
zhaoxuebing 8 months ago
parent
commit
c55e9624bf
  1. 2
      src/components/Detail/src/Detail.vue

2
src/components/Detail/src/Detail.vue

@ -563,7 +563,7 @@ const openForm = async (type: string, row?: number) => {
const submitForm = async (formType, data) => {
try {
// detailValidate
const rs = (await props.detailValidate) ? props.detailValidate(data) : true
const rs = (await props.detailValidate) ? await props.detailValidate(data) : true
if (!rs) return
if (formType === 'create') {
await props.apiCreate(data)

Loading…
Cancel
Save