Commit 94901ae8 authored by Administrator's avatar Administrator

工单调试

parent 039f7d8d
Pipeline #224 canceled with stages
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
<el-form-item label="进度">{{ isOrderOneFilter(order_content.isorderone) }}</el-form-item> <el-form-item label="进度">{{ isOrderOneFilter(order_content.isorderone) }}</el-form-item>
<el-form-item label="反馈内容">{{ order_content.content }}</el-form-item> <el-form-item label="反馈内容">{{ order_content.content }}</el-form-item>
<el-form-item size="large"> <el-form-item size="large">
<el-button type="primary" :disabled="order_content.isorderone < 4 || order_content.state === 2 ? true : false" @click="onSubmitDetail(order_content.id)">确认</el-button> <el-button type="primary" :disabled="buttonStatus" @click="onSubmitDetail(order_content.id)">确认</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-col> </el-col>
...@@ -274,6 +274,7 @@ export default { ...@@ -274,6 +274,7 @@ export default {
data() { data() {
const _this = this; const _this = this;
return { return {
buttonStatus: false,
order_content: {}, order_content: {},
order_step: [], order_step: [],
marker: { marker: {
...@@ -486,6 +487,9 @@ export default { ...@@ -486,6 +487,9 @@ export default {
} }
} }
this.order_step = all_steps; this.order_step = all_steps;
if (this.order_content.isorderone < 4 || this.order_content.state === 2) {
this.buttonStatus = true;
}
if (response.data.state === 2) { if (response.data.state === 2) {
this.order_content.isorderone = 5; this.order_content.isorderone = 5;
} }
......
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