|
@@ -531,6 +531,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',
|
|
@@ -547,6 +548,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);
|
|
@@ -561,6 +563,7 @@
|
|
|
}
|
|
|
},
|
|
|
error: function () {
|
|
|
+ z.ui.loading(false)
|
|
|
|
|
|
}
|
|
|
})
|
|
@@ -761,7 +764,7 @@
|
|
|
}
|
|
|
}
|
|
|
if (html === '保存') {
|
|
|
-
|
|
|
+ z.ui.loading(true, true, 0, "保存中...");
|
|
|
z.ui.ajax({
|
|
|
url: z.ui.comm.getEntranceUrl("/contract-return-money"),
|
|
|
type: 'post',
|
|
@@ -778,6 +781,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);
|
|
@@ -792,6 +796,7 @@
|
|
|
}
|
|
|
},
|
|
|
error: function () {
|
|
|
+ z.ui.loading(false)
|
|
|
|
|
|
}
|
|
|
})
|