Commit ca7e3c97 authored by 张冬's avatar 张冬

更新

parent 888ba114
......@@ -45,7 +45,7 @@
</el-form>
</div>
<div class="bottomButton flex-center">
<el-button>返回</el-button>
<el-button @click="back">返回</el-button>
<el-button type="primary" @click="submitData">提交审批</el-button>
</div>
</div>
......@@ -128,6 +128,9 @@
}
},
methods: {
back(){
this.$router.go(-1)
},
getfile(val) {
this.ruleForm.accessoryPOList = val
},
......@@ -160,7 +163,7 @@
code,
msg
} = await createwin(ruleForm)
if (code === 200) {
if (code == 200) {
this.$message({
message: msg,
type: 'success',
......@@ -169,6 +172,8 @@
setTimeout(() => {
this.$router.go(-1)
}, 1500)
}else{
this.$message.error(msg)
}
}
} catch (e) {
......
......@@ -36,7 +36,7 @@
</el-form>
</div>
<div class="bottomButton flex-center">
<el-button>返回</el-button>
<el-button @click="back">返回</el-button>
<el-button type="primary" @click="submitData">提交审批</el-button>
</div>
</div>
......@@ -94,6 +94,9 @@
}
},
methods: {
back() {
this.$router.go(-1)
},
getfile(val) {
this.file = val
},
......
......@@ -56,7 +56,7 @@ export default {
},
data() {
return {
activeIdx: 1,
activeIdx: 0,
allForm: {}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment