Browse Source

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

zhaohuanhuan 7 tháng trước cách đây
mục cha
commit
245dcf607b

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

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