更新
This commit is contained in:
@@ -174,6 +174,8 @@
|
||||
status_type = '05'
|
||||
AND
|
||||
IFNULL( end_time, '' ) = ''
|
||||
and
|
||||
device.is_active = '1'
|
||||
OPTION 输入.workprocedure_id <> ""
|
||||
device.workprocedure_id = 输入.workprocedure_id
|
||||
ENDOPTION
|
||||
@@ -192,6 +194,8 @@
|
||||
status_type = '03'
|
||||
AND
|
||||
IFNULL( end_time, '' ) = ''
|
||||
and
|
||||
device.is_active = '1'
|
||||
OPTION 输入.workprocedure_id <> ""
|
||||
device.workprocedure_id = 输入.workprocedure_id
|
||||
ENDOPTION
|
||||
@@ -209,6 +213,8 @@
|
||||
INNER JOIN pdm_bi_devicerunstatusrecord run ON run.device_id = device.device_id AND IFNULL(run.end_time,'') =''
|
||||
WHERE
|
||||
shift.is_delete = '0'
|
||||
and
|
||||
device.is_active = '1'
|
||||
AND
|
||||
shift.order_status <> '04'
|
||||
AND
|
||||
@@ -258,6 +264,8 @@
|
||||
pdm_bi_device device
|
||||
LEFT JOIN pdm_bi_devicerunstatusrecord run ON run.device_id = device.device_id AND IFNULL(run.end_time,'') = ''
|
||||
LEFT JOIN pdm_bi_workprocedure pro ON pro.workprocedure_id = device.workprocedure_id
|
||||
where
|
||||
device.is_active = '1'
|
||||
ENDSELECT
|
||||
ENDQUERY
|
||||
ENDIF
|
||||
|
||||
@@ -66,11 +66,12 @@
|
||||
:visible.sync="devicedialogVisible"
|
||||
width="35%"
|
||||
:before-close="handleClose">
|
||||
<el-form :model="deviceForm" status-icon label-width="120px" ref="deviceForm" class="demo-ruleForm">
|
||||
<el-form :model="deviceForm" status-icon label-width="90px" ref="deviceForm" class="demo-ruleForm">
|
||||
<el-form-item label="选择设备" prop="device_id">
|
||||
<el-select
|
||||
v-model="deviceForm.device_id"
|
||||
clearable
|
||||
filterable
|
||||
size="mini"
|
||||
class="filter-item"
|
||||
>
|
||||
@@ -94,7 +95,7 @@
|
||||
:visible.sync="reportdialogVisibler"
|
||||
width="35%"
|
||||
:before-close="handleClose">
|
||||
<el-form :model="reportForm" status-icon ref="reportForm" label-width="120px" class="demo-ruleForm">
|
||||
<el-form :model="reportForm" status-icon ref="reportForm" label-width="90px" class="demo-ruleForm">
|
||||
<el-form-item label="生产数量" prop="produce_qty">
|
||||
<el-input disabled v-model="reportForm.produce_qty" />
|
||||
</el-form-item>
|
||||
|
||||
Reference in New Issue
Block a user