fix:修改企标顺序号bug

This commit is contained in:
wxyclub
2023-08-23 15:35:24 +08:00
parent cf9c62d751
commit c47ac02de0
@@ -2544,9 +2544,9 @@
}) })
} }
}, },
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)
@@ -2615,7 +2615,7 @@
this.$refs['formTongGuo'].validate((valid) => { this.$refs['formTongGuo'].validate((valid) => {
if (valid) { if (valid) {
if(this.form.standStatus === '1' || this.form.standStatus === '2'){ 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)=>{ .then((res)=>{
if(res.ok){ if(res.ok){
this.completeTask() this.completeTask()