Browse Source

成立时间

lining 6 năm trước cách đây
mục cha
commit
e41a5a2d84

+ 3 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/basisedit.vue

@@ -1058,6 +1058,9 @@ export default {
         this.formData.CompanyType = fdata.CompanyType
       }
       this.formData.SetupTime = fdata.SetupTime
+      if (this.formData.SetupTime === '0001-01-01T00:00:00Z') {
+        this.formData.SetupTime = new Date()
+      }
       this.formData.DepositBank = fdata.DepositBank
       this.formData.BankAccount = fdata.BankAccount
       this.formData.EMail = fdata.EMail

+ 3 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/goodsedit.vue

@@ -1004,6 +1004,9 @@ export default {
         this.formData.CompanyType = fdata.CompanyType
       }
       this.formData.SetupTime = fdata.SetupTime
+      if (this.formData.SetupTime === '0001-01-01T00:00:00Z') {
+        this.formData.SetupTime = new Date()
+      }
       this.formData.DepositBank = fdata.DepositBank
       this.formData.BankAccount = fdata.BankAccount
       this.formData.EMail = fdata.EMail

+ 3 - 0
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/_opera/techedit.vue

@@ -1051,6 +1051,9 @@ export default {
         this.formData.CompanyType = fdata.CompanyType
       }
       this.formData.SetupTime = fdata.SetupTime
+      if (this.formData.SetupTime === '0001-01-01T00:00:00Z') {
+        this.formData.SetupTime = new Date()
+      }
       this.formData.DepositBank = fdata.DepositBank
       this.formData.BankAccount = fdata.BankAccount
       this.formData.EMail = fdata.EMail