소스 검색

加工单-增加刷新获取日期

zhaohuanhuan 7 달 전
부모
커밋
245dcf607b
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/views/processing/register/index.vue

+ 4 - 0
src/views/processing/register/index.vue

@@ -190,6 +190,10 @@ const del=(item,index)=>{
   typeList.value.splice(index,1)
 }
 _getProcessingTypeList()
+const loadData=()=>{
+  date.value=formatDate(new Date())
+}
+window.onRefresh = loadData
 </script>
 <style scoped lang="sass">
 .register