|
@@ -579,6 +579,7 @@
|
|
|
relationList.push(z.ui.form.childStringify(mealName));
|
|
|
}
|
|
|
}
|
|
|
+ z.ui.loading(true, true, 0, "保存中...");
|
|
|
z.ui.ajax({
|
|
|
url: z.ui.comm.getEntranceUrl("/contract-return-money"),
|
|
|
type: 'post',
|
|
@@ -595,6 +596,7 @@
|
|
|
'relationList': relationList
|
|
|
}),
|
|
|
success: function (res) {
|
|
|
+ z.ui.loading(false);
|
|
|
if(res.code === 0){
|
|
|
if(!returnId){
|
|
|
tr.find("[name='ContractReturnMoney["+i+"]$id']").val(res.data);
|
|
@@ -609,7 +611,7 @@
|
|
|
}
|
|
|
},
|
|
|
error: function () {
|
|
|
-
|
|
|
+ z.ui.loading(false);
|
|
|
}
|
|
|
})
|
|
|
} else if (html === '编辑') {
|