rev:新增报工时间字段,下料机优先级,缓存线写0(三层缓存线跑)下一道工序设备来料仓排序

This commit is contained in:
zhangzq
2023-11-29 10:15:33 +08:00
parent d1bf663e0f
commit 2927e7e25f
7 changed files with 22 additions and 4 deletions

View File

@@ -249,7 +249,7 @@
type="success"
@click="suspend(crud.selections)"
>
暂停
报工
</el-button>
<el-button
slot="right"
@@ -713,6 +713,11 @@
label="实际结束时间"
prop="realproduceend_date"
/>
<el-table-column
width="160"
label="报工时间"
prop="stop_time"
/>
<el-table-column
width="160"
:formatter="dateformat"
@@ -840,6 +845,7 @@ const defaultForm = {
update_id: null,
update_name: null,
update_time: null,
stop_time: null,
is_delete: null
}
export default {
@@ -966,7 +972,7 @@ export default {
suspendreq(rows) {
rows[0].report_qty = this.reportForm.report_qty
crudProduceshiftorder.report(rows[0]).then(res => {
this.crud.notify('暂停成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
this.crud.notify('报工成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
this.crud.toQuery()
})
},

View File

@@ -189,6 +189,7 @@
<span>{{ parseTime(scope.row.update_time) }}</span>
</template>
</el-table-column>
<el-table-column prop="priority" label="任务优先级" min-width="100" show-overflow-tooltip />
<el-table-column prop="task_step" label="任务执行步骤" min-width="100" show-overflow-tooltip />
<el-table-column
v-permission="['admin','instruction:edit','instruction:del']"