多人一屏同步问题解决前版本
This commit is contained in:
@@ -627,7 +627,7 @@
|
||||
<el-button type="primary" icon="el-icon-arrow-left" size="mini" @click="getPrevious_current_workorder">上一个工单</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
<el-button type="danger" size="medium" @click="workOrderCompleted">本工单完成</el-button>
|
||||
<el-button type="primary" size="medium" @click="workOrderCompleted">本工单完成</el-button>
|
||||
<table>
|
||||
<tr>
|
||||
<td>产品描述</td>
|
||||
@@ -927,7 +927,7 @@ export default {
|
||||
},
|
||||
//todo 工单完成
|
||||
workOrderCompleted() {
|
||||
this.$modal.confirm('是否确认完成的数据项?').then(() => {
|
||||
this.$modal.confirm('是否确认完成本工单?').then(() => {
|
||||
this.getNext_current_workorder()
|
||||
})
|
||||
},
|
||||
@@ -1180,7 +1180,7 @@ export default {
|
||||
grid-template-rows: 1fr 1fr 1fr;
|
||||
grid-gap: 0.5em;
|
||||
.title_Line {
|
||||
color: #409eff;
|
||||
color: #fff;
|
||||
font-family: Arial, sans-serif;
|
||||
font-size: 1.2rem;
|
||||
text-align: center;
|
||||
|
||||
@@ -447,7 +447,7 @@
|
||||
<el-button type="primary" icon="el-icon-arrow-left" size="mini" @click="getPrevious_current_workorder">上一个工单</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
<el-button type="danger" size="medium" @click="workOrderCompleted">本工单完成</el-button>
|
||||
<el-button type="primary" size="medium" @click="workOrderCompleted">本工单完成</el-button>
|
||||
<table>
|
||||
<tr>
|
||||
<td>产品描述</td>
|
||||
@@ -752,7 +752,7 @@ export default {
|
||||
},
|
||||
//todo 工单完成
|
||||
workOrderCompleted() {
|
||||
this.$modal.confirm('是否确认完成的数据项?').then(() => {
|
||||
this.$modal.confirm('是否确认完成本工单?').then(() => {
|
||||
this.getNext_current_workorder()
|
||||
})
|
||||
},
|
||||
@@ -995,7 +995,7 @@ export default {
|
||||
grid-template-rows: 1fr 1fr 1fr;
|
||||
grid-gap: 0.5em;
|
||||
.title_Line {
|
||||
color: #409eff;
|
||||
color: #fff;
|
||||
font-family: Arial, sans-serif;
|
||||
font-size: 1.2rem;
|
||||
text-align: center;
|
||||
|
||||
@@ -634,7 +634,7 @@
|
||||
<el-button type="primary" icon="el-icon-arrow-left" size="mini" @click="getPrevious_current_workorder">上一个工单</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
<el-button type="danger" size="medium" @click="workOrderCompleted">本工单完成</el-button>
|
||||
<el-button type="primary" size="medium" @click="workOrderCompleted">本工单完成</el-button>
|
||||
<table>
|
||||
<tr>
|
||||
<td>产品描述</td>
|
||||
@@ -898,7 +898,7 @@ export default {
|
||||
//todo 工单完成
|
||||
workOrderCompleted() {
|
||||
this.$modal
|
||||
.confirm('是否确认完成的数据项?')
|
||||
.confirm('是否确认完成本工单?')
|
||||
.then(() => {
|
||||
this.getNext_current_workorder()
|
||||
//todo 更改这个工单状态为2
|
||||
@@ -907,6 +907,7 @@ export default {
|
||||
.then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.$notify.success('工单完成')
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -917,6 +918,7 @@ export default {
|
||||
if (res.code == 200) {
|
||||
if (res.data != null) {
|
||||
this.CurrentWorkorder = res.data
|
||||
this.$store.dispatch('quality/currentWorkOrder_thirty', res.data)
|
||||
this.$loading()
|
||||
this.$message.success('获取工单号成功')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user