Commit 7820a7af authored by rainbowmorel@163.com's avatar rainbowmorel@163.com

修复一些bug

parent a3365d05
......@@ -30,6 +30,7 @@ export class HandleFormSubmit {
}
getTableData() {
if(this.#tableData === undefined) return false;
return this.#tableData.map(v => {
return (
{
......@@ -128,6 +129,10 @@ export class HandleFormSubmit {
}
submit() {
if (!this.getTableData()) {
message.error('请选择送货物料');
return;
}
if (this.handleBeforeFields()) return Promise.reject("error");
return this.validateFormFields()
}
......
......@@ -130,7 +130,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
}}
onChange={(val) => {
form.setFieldsValue({
"executorVO.phone": val.phone
"executorVO.phone": val?.phone
})
}}
/>
......
......@@ -132,7 +132,7 @@ const DeliveryNoticeManageSRMDetails: React.FC = () => {
}}
onChange={(val) => {
form.setFieldsValue({
"executorVO.phone": val.phone
"executorVO.phone": val?.phone
})
}}
/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment