fix:修改企标顺序号bug
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user