|
|
@@ -583,7 +583,10 @@
|
|
|
commitHeader:function () {
|
|
|
let _this=this;
|
|
|
let url='{{url('apiLocal/rejectedBill/store')}}';
|
|
|
+ tempTip.setDuration(99999);
|
|
|
+ tempTip.waitingTip('提交中')
|
|
|
axios.post(url,_this.billInputting).then(function (response) {
|
|
|
+ tempTip.cancelWaitingTip();
|
|
|
_this.cleanError();
|
|
|
if(response.data.success==='true'){
|
|
|
tempTip.setDuration(1000);
|
|
|
@@ -651,7 +654,10 @@
|
|
|
let _this=this;
|
|
|
if(!confirm("确定要提交修改吗?")){return;}
|
|
|
let url='{{url('apiLocal/rejectedBill/update')}}';
|
|
|
+ tempTip.setDuration(99999);
|
|
|
+ tempTip.waitingTip('提交中')
|
|
|
axios.post(url,_this.billInputting).then(function (response) {
|
|
|
+ tempTip.cancelWaitingTip();
|
|
|
_this.cleanError();
|
|
|
if(response.data.success==='true'){
|
|
|
tempTip.setDuration(1000);
|