Explorar el Código

fix(inventoryTable): 添加客户期望交付日期参数,默认设置为当前日期

yusheng hace 7 meses
padre
commit
5aa21f6d98
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/BIZComponents/inventoryTable.vue

+ 3 - 0
src/BIZComponents/inventoryTable.vue

@@ -2099,6 +2099,8 @@
           this.$set(parasm, 'pricingWay', 1);
           this.$set(parasm, 'goodsLevel', item.goodsLevel);
           this.$set(parasm, 'guaranteePeriod', item.warrantyPeriod);
+          this.$set(parasm, 'customerExpectDeliveryDeadline', dayjs(new Date()).format('YYYY-MM-DD'))
+          
           if (item.modelKey) {
             this.$set(parasm, 'modelKey', item.modelKey.split(','));
           }
@@ -2124,6 +2126,7 @@
               )
             );
           }
+          
           this.$set(
             parasm,
             'packageDispositionList',