diff --git a/src/pages/overhaulOrder/addServiceRecord.vue b/src/pages/overhaulOrder/addServiceRecord.vue index cd45ce7..8375b89 100644 --- a/src/pages/overhaulOrder/addServiceRecord.vue +++ b/src/pages/overhaulOrder/addServiceRecord.vue @@ -132,6 +132,7 @@ 确认 + { }) } // 打开弹窗 @@ -510,6 +518,22 @@ await getSelecUser() await getSparePartsList() }) + async function searchItem(name){ + await getSparePartsList(null,name); + } + + async function chooseItem1(type,forms){ + if(!forms.value.number&&type==1){ + proxy.$modal.showToast('请选择备件') + return + } + if(type==1){ + form1.value.number = forms.value.temporarilyNumber + form1.value.name =forms.value.temporarilyName + } + await getSparePartsList(null,null); + isShowSelectItem.value = false; + }