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