|
|
@@ -12,7 +12,7 @@
|
|
|
</span>
|
|
|
<span style="float: right;">
|
|
|
<el-button type="primary" size="mini" @click="submitqualChange"
|
|
|
- v-if="(QualStatus == 0 || QualStatus == '') && butnab">提交申请</el-button>
|
|
|
+ v-if="(QualStatus == 0 || QualStatus == '') && !butnab">提交申请</el-button>
|
|
|
<router-link :to="'/oilsupplier/qualchange'">
|
|
|
<el-button type="primary" size="mini" style="margin-left: 8px">返回</el-button>
|
|
|
</router-link>
|
|
|
@@ -215,7 +215,7 @@
|
|
|
waituploads: [], // 等待上传的附件列表
|
|
|
doclist: [],
|
|
|
QualStatus: '',
|
|
|
- butnab: true,
|
|
|
+ butnab: false,
|
|
|
commitshow: false,
|
|
|
auditerOption: [],
|
|
|
}
|
|
|
@@ -230,7 +230,7 @@
|
|
|
}
|
|
|
this.QualStatus = this.$route.query.QualStatus
|
|
|
if (this.QualStatus > 0) {
|
|
|
- this.butnab = false
|
|
|
+ this.butnab = true
|
|
|
}
|
|
|
this.SupplierId = this.serviceId
|
|
|
this.SupplierTypeCode = this.classId
|
|
|
@@ -324,7 +324,6 @@
|
|
|
_this.$axios.put('/qualchange/editqualchange/' + _this.SubfileForm.Id, _this.SubfileForm)
|
|
|
.then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
- this.butnab = true
|
|
|
_this.$message({
|
|
|
type: 'success',
|
|
|
message: res.data.message,
|
|
|
@@ -455,7 +454,7 @@
|
|
|
// 保存成功后,初始化数据,变成修改
|
|
|
this.initData()
|
|
|
this.commitshow = false
|
|
|
- this.butnab = false
|
|
|
+ this.butnab = true
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: res.data.message
|