|
@@ -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;
|