|
|
@@ -422,7 +422,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',
|
|
|
@@ -481,6 +480,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 });
|