schangxiang@126.com
2025-09-10 3d43ffa3152110b7823f9fa6320c08a6ae02358a
SiemensWarehouse/siemens2-site/src/views/stat/inventory/sapdata_fail.vue
@@ -76,6 +76,7 @@
</template>
<script>
import { parseTime,formatDate } from '@/utils'
import { getThisWeekRange} from '@/utils/formatTime.js'
export default {
  data() {
    return {
@@ -107,9 +108,14 @@
  },
  created() {},
  mounted() {
      this.initTimeData();
    this.find(1)
  },
  methods: {
     initTimeData(){
      this.datatime= '';
      this.datatime= getThisWeekRange(60);//启用了
    },
     // 时间转换
    formatterDateTime (row, column, cellValue, index) {
      if (cellValue === null || cellValue === '') {
@@ -259,6 +265,7 @@
      this.searchParam.purchaseCode = null
      this.selectTypeValue = ''
      this.datatime = ''
      this.initTimeData();//重置时间
      this.find()
    }
  }