优化
This commit is contained in:
@ -381,8 +381,11 @@ const submitForm = (status1: string) => {
|
||||
if (valid) {
|
||||
buttonLoading.value = true;
|
||||
var res;
|
||||
delete form.value.id;
|
||||
res = await addDesignChange({ ...form.value, changeReason, saveFile }).finally(() => (buttonLoading.value = false));
|
||||
if (res.code == 200) {
|
||||
routeParams.value.type = 'update';
|
||||
form.value = res.data;
|
||||
if (form.value.costEstimation == '0') {
|
||||
ElMessage.success('通知成功');
|
||||
goBack();
|
||||
|
Reference in New Issue
Block a user