huang_an 1 年之前
父節點
當前提交
49fcc4ea54
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      src/views/bpm/stockManagement/storage.vue

+ 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]);