Browse Source

预托书-新增-保存时间

jbb 1 year ago
parent
commit
eab3ba3b4d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/pre-book/addPreBookDrawer.vue

+ 2 - 0
src/views/pre-book/addPreBookDrawer.vue

@@ -543,6 +543,8 @@ export default {
     saveAdd() {
       const that = this;
       var newObj = this.addPreBook;
+      newObj.latestDateOfShipment = moment(this.addPreBook.latestDateOfShipment).format('YYYY-MM-DD');
+      newObj.theFinalShippingDate = moment(this.addPreBook.theFinalShippingDate).format('YYYY-MM-DD');
       if (newObj.syLetterDepositItemList.length == 0){
         this.$message.error('当前记录没有子表记录,无法保存');
         return;