|
@@ -285,8 +285,6 @@ const onSubmit = () => {
|
|
|
distributionRecordAPI.validateBeforeSubmit(distributionRecordForm).then(res => {
|
|
distributionRecordAPI.validateBeforeSubmit(distributionRecordForm).then(res => {
|
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
|
if (res.result.success) {
|
|
if (res.result.success) {
|
|
|
- console.log(distributionRecordForm)
|
|
|
|
|
- return;
|
|
|
|
|
distributionRecordAPI.addDistributionRecord(distributionRecordForm).then(res => {
|
|
distributionRecordAPI.addDistributionRecord(distributionRecordForm).then(res => {
|
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
|
message.success('发放成功');
|
|
message.success('发放成功');
|