#
LSH
2023-12-14 ca7a65d30d4e620974f851aa34cdcc0003bafbcd
pages/pakin/goodsDown.vue
@@ -255,6 +255,13 @@
                        // 为指定事件添加一个监听器,获取被打开页面传送到当前页面的数据
                        events: {
                           matList: function(data) {
                              if(data.data.batch == "" || data.data.batch == null){
                                 const now = new Date();
                                 const year = now.getFullYear();
                                 const month = now.getMonth() + 1; // 月份从0开始,需要加1
                                 const day = now.getDate();
                                 data.data.batch = (""+year+month+day)
                              }
                              that.checkMat(data.data)
                           },
                        },