fix:修改企标顺序号bug

This commit is contained in:
wxyclub
2023-08-18 16:48:53 +08:00
parent b40218f811
commit b3cf9c2ba7
2 changed files with 6 additions and 6 deletions
@@ -2544,9 +2544,9 @@
})
}
},
ifStandCodebyStandName(standCode,standName){
ifStandCodebyStandName(standCode,standName,taskIds,standNum){
return new Promise((resolve, reject)=>{
this.$http._postData('lawss/sarBussionessStand/ifStandCodebyStandName',{standCode,standName})
this.$http._postData('lawss/sarBussionessStand/ifStandCodebyStandName',{standCode,standName,taskIds,standNum})
.then(res => resolve(res))
.catch(e => {
throw new Error(e)
@@ -2615,7 +2615,7 @@
this.$refs['formTongGuo'].validate((valid) => {
if (valid) {
if(this.form.standStatus === '1' || this.form.standStatus === '2'){
this.ifStandCodebyStandName(this.form.standCode,this.form.standName)
this.ifStandCodebyStandName(this.form.standCode,this.form.standName,this.taskIds,this.form.standNum)
.then((res)=>{
if(res.ok){
this.completeTask()
@@ -2646,9 +2646,9 @@
this.rules.commentText[0].required = true;
}
},
ifStandCodebyStandName(standCode,standName){
ifStandCodebyStandName(standCode,standName,taskIds,standNum){
return new Promise((resolve, reject)=>{
this.$http._postData('lawss/sarBussionessStand/ifStandCodebyStandName',{standCode,standName})
this.$http._postData('lawss/sarBussionessStand/ifStandCodebyStandName',{standCode,standName,taskIds,standNum})
.then(res => resolve(res))
.catch(e => {
throw new Error(e)
@@ -2710,7 +2710,7 @@
this.$refs['formTongGuo'].validate((valid) => {
if (valid) {
if(this.form.reviseStatus === '1' || this.form.reviseStatus === '2'){
this.ifStandCodebyStandName(this.form.standCode,this.form.standName)
this.ifStandCodebyStandName(this.form.standCode,this.form.standName,this.taskIds,this.form.standNum)
.then((res)=>{
if(res.ok){
this.completeTask()