huang_an 1 жил өмнө
parent
commit
49fcc4ea54

+ 3 - 4
src/views/bpm/stockManagement/storage.vue

@@ -1457,9 +1457,7 @@
       getNowFormatDate() {
         if (this.bizType == 2) {
           let time = '00:00:00';
-          this.formData.storageTime = new Date(
-            `${this.form.receiveDate}T${time}`
-          );
+          this.formData.storageTime = this.form.receiveDate + ' ' + time;
         } else {
           let obj = this.getNowDate();
           this.formData.storageTime = `${obj.year}-${obj.month}-${obj.strDate} ${obj.hour}:${obj.minute}:${obj.second}`;
@@ -1670,7 +1668,8 @@
             this.$message.error('请先保存所有产品信息');
             return;
           }
-          console.log('ysy_ bizType', this.bizType);
+
+          console.log('ysy_ bizType', this.bizType, this.formData.storageTime);
           console.log('ysy_初始 detailList', this.detailList[0]);
           console.log('ysy_初始 detailProductList', this.detailProductList[0]);