Przeglądaj źródła

货代 2024-1-15

caojunjie 1 rok temu
rodzic
commit
c2449c2bf4

+ 2 - 2
src/views/iosBasicData/SeafreightExportF/bills/billsDetails.vue

@@ -1260,7 +1260,7 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                             return;
                         }
                         // 赋值 ETD 日期
-                        this.form.billDate = this.form.etd
+                        this.form.billDate = this.form.etd?this.form.etd.slice(0,10) + ' 00:00:00':null // 单据日期
                         // 调用保存接口
                         this.billsSubmitfun()
                     }
@@ -1280,7 +1280,7 @@ import {editypesList} from "@/api/iosBasicData/editypes";
                     row.businessType = this.form.businessType // 业务类型
                     row.billType = this.form.billType // 单据类型
                     row.billNo = this.form.billNo // 单据编号
-                    row.billDate = this.form.billDate // 单据日期
+                    row.billDate = this.form.billDate
                     row.billCorpId = this.form.corpId // 主表客户 id
                     row.billCorpCnName = this.form.corpCnName // 主表客户中文名称
                     row.billCorpEnName = this.form.corpEnName // 主表客户英文名称