工单选择默认值设置

This commit is contained in:
yinjinlu-pc\尹金路 2023-11-03 12:27:42 +08:00
parent 4b9ad6b455
commit 2eae03319c

View File

@ -104,7 +104,11 @@
components: {},
dicts: ['mes_order_status','mes_workorder_sourcetype'],
props:{
workorder: undefined //
workorder: {
type: Object,
default: function(){
return {'workorderType': 'SELF'}
}} //
},
data() {
return {