fix:修改企标顺序号bug

This commit is contained in:
wxyclub
2023-08-16 17:49:31 +08:00
parent 2753359bdb
commit 965d56641b
@@ -2646,9 +2646,9 @@
this.rules.commentText[0].required = true; this.rules.commentText[0].required = true;
} }
}, },
ifStandCodebyStandName(standCode,standName){ ifStandCodebyStandName(standCode,standName,taskIds,standNum){
return new Promise((resolve, reject)=>{ 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)) .then(res => resolve(res))
.catch(e => { .catch(e => {
throw new Error(e) throw new Error(e)
@@ -2710,7 +2710,7 @@
this.$refs['formTongGuo'].validate((valid) => { this.$refs['formTongGuo'].validate((valid) => {
if (valid) { if (valid) {
if(this.form.reviseStatus === '1' || this.form.reviseStatus === '2'){ 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)=>{ .then((res)=>{
if(res.ok){ if(res.ok){
this.completeTask() this.completeTask()