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: '' + }) } } }