소스 검색

Merge remote-tracking branch 'origin/master'

xkwg 4 년 전
부모
커밋
ca83d4a0c9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/information/spot-contract/components/add/index.vue

+ 1 - 1
src/views/information/spot-contract/components/add/index.vue

@@ -430,7 +430,6 @@ import { Goods } from '@/services/go/ermcp/goodsInfo/interface';
 import { ValidateErrorEntity } from 'ant-design-vue/lib/form/interface';
 import { FormState } from './interface';
 import { formatTime } from '@/common/methods/format';
-import moment from 'moment';
 
 export default defineComponent({
     name: 'add-spot-contract',
@@ -493,6 +492,7 @@ export default defineComponent({
                     // 点价期
                     const pDate = priceDate.value;
                     if (pDate.length && param.PriceType !== 1) {
+                        // 点价日期[2:点价3:暂定价]
                         const StartDate = formatTime(dDate[0], 'd') + '00:00:00';
                         const EndDate = formatTime(dDate[1], 'd') + '00:00:00';
                         Object.assign(param, { StartDate, EndDate });