@@ -328,6 +328,41 @@
//审批通过 (修改内容)
async handleApprovePassModify(){
+ if(!this.oldFileNum){
+ uni.showToast({
+ title:'请填写文件份数',
+ icon:"none"
+ })
+ return
+ }
+ if(this.oldFileNum<1){
+ title:'文件份数不合法',
+ if(!this.oldSealType){
+ title:'印章类型不能为空',
+ if(!this.oldUse){
+ title:'请选择用印用途',
+ if(!this.files.url){
+ title:'合同附件不能为空',
const res=await apiApprovalPassModify({
FileNum:Number(this.oldFileNum),
Remark:this.oldRemark,
@@ -57,7 +57,7 @@ const http=(url,params,method)=>{
console.log(error);
setTimeout(() => {
uni.showToast({
- title:'服务器错误',
+ title:'网络异常',
icon:'none'
})
}, 0);