From 20d6197c77b92399a7a0539d4e73905f6ab96978 Mon Sep 17 00:00:00 2001 From: liuxy Date: Mon, 1 Aug 2022 14:53:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mes/qd/src/views/wms/mps/produce/index.vue | 173 ++++++++++++++++++++- 1 file changed, 171 insertions(+), 2 deletions(-) diff --git a/mes/qd/src/views/wms/mps/produce/index.vue b/mes/qd/src/views/wms/mps/produce/index.vue index cba88d07..1a436dc5 100644 --- a/mes/qd/src/views/wms/mps/produce/index.vue +++ b/mes/qd/src/views/wms/mps/produce/index.vue @@ -154,7 +154,7 @@ :title="crud.status.title" width="1200px" > - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -374,6 +514,7 @@ import ViewDialog from '@/views/wms/mps/produce/ViewDialog' import crudClassstandard from '@/api/wms/basedata/master/classstandard' const defaultForm = { + tableData: [], produceorder_id: null, produceorder_code: null, producedeviceorder_code: null, @@ -591,6 +732,34 @@ export default { this.crud.notify('下发成功', CRUD.NOTIFICATION_TYPE.SUCCESS) this.crud.toQuery() }) + }, + insertDtl() { + this.form.tableData.push({ + produceorder_id: '', + produceorder_code: '', + producedeviceorder_code: '', + shift_type_scode: '01', + workprocedure_id: '', + produce_date: '', + plan_qty: '', + real_qty: '', + report_qty: '', + material_id: '', + material_code: '', + material_weight: '', + planproducestart_date: '', + planproduceend_date: '', + realproducestart_date: '', + realproduceend_date: '', + order_status: '00', + is_needmove: '1', + order_type_scode: '01', + material_name: '', + device_id: '', + is_canupdate_update: '1', + material_spec: '', + sale_id: '' + }) } } }