|
|
@@ -141,7 +141,7 @@
|
|
|
<script lang="ts">
|
|
|
import { defineComponent, PropType, ref, watchEffect } from 'vue';
|
|
|
import { closeModal } from '@/common/setup/modal/index';
|
|
|
-import { formatTime, initData } from '@/common/methods/index';
|
|
|
+import { formatTime } from '@/common/methods/index';
|
|
|
import { getPayCurrencyTypeEnumList, getSpotContractTypeEnumList } from '@/common/constants/enumsList';
|
|
|
import { AllEnums } from '@/services/go/commonService/interface';
|
|
|
import { getMiddleGoodsD, handleForm } from '../setup';
|
|
|
@@ -193,7 +193,7 @@ export default defineComponent({
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
- function submit(OperateType: 1 | 2) {
|
|
|
+ function submit() {
|
|
|
validateAction<FormState>(formRef, formState).then((param) => {
|
|
|
const loginId = getLongTypeLoginID() as LongType;
|
|
|
const userid = getAreaUserId();
|
|
|
@@ -203,7 +203,7 @@ export default defineComponent({
|
|
|
DeliveryGoodsID: Number(param.DeliveryGoodsID),
|
|
|
WRStandardID: Number(param.WRStandardID), // 现货品种
|
|
|
PlanQty: Number(param.PlanQty), // 计划数量
|
|
|
- OperateType: OperateType,
|
|
|
+ OperateType: 2,
|
|
|
ConvertFactor: param.ConvertFactor,
|
|
|
Currencyid: param.Currencyid,
|
|
|
ApplyId: Number(loginId),
|