|
@@ -51,9 +51,8 @@
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
|
import FilterOption from '@/common/components/filter/index.vue';
|
|
import FilterOption from '@/common/components/filter/index.vue';
|
|
|
-import { defineComponent, PropType } from 'vue';
|
|
|
|
|
|
|
+import { defineComponent, onMounted, PropType } from 'vue';
|
|
|
import { ref } from 'vue';
|
|
import { ref } from 'vue';
|
|
|
-import { handlMiddleGoods } from '@/views/report/setup';
|
|
|
|
|
import { initData } from '@/common/methods';
|
|
import { initData } from '@/common/methods';
|
|
|
import { handleFtDeliveryGoods, handleWarehouse } from '../../setup';
|
|
import { handleFtDeliveryGoods, handleWarehouse } from '../../setup';
|
|
|
import { queryWrStandardFactoryItem } from '@/services/go/wrtrade';
|
|
import { queryWrStandardFactoryItem } from '@/services/go/wrtrade';
|
|
@@ -62,7 +61,6 @@ import { message, TreeSelect } from 'ant-design-vue';
|
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
import { EnumRouterName } from '@/common/constants/enumRouterName';
|
|
|
import { Moment } from 'moment';
|
|
import { Moment } from 'moment';
|
|
|
import moment from 'moment';
|
|
import moment from 'moment';
|
|
|
-import { handleGoods } from '@/views/order/spot_warran/components/spot_warrant_spot_details/components/listing/setup';
|
|
|
|
|
import { addSubscribeQuotation, removeSubscribeQuotation } from '@/services/socket/quota';
|
|
import { addSubscribeQuotation, removeSubscribeQuotation } from '@/services/socket/quota';
|
|
|
import { v4 } from 'uuid';
|
|
import { v4 } from 'uuid';
|
|
|
import { getGoodsList, getQuoteDayInfoByCodeFindPrice } from '@/services/bus/goods';
|
|
import { getGoodsList, getQuoteDayInfoByCodeFindPrice } from '@/services/bus/goods';
|
|
@@ -126,6 +124,9 @@ export default defineComponent({
|
|
|
const arr = [{ exchangeCode: 250, goodsCode: goods!.goodscode, subState: 0 }];
|
|
const arr = [{ exchangeCode: 250, goodsCode: goods!.goodscode, subState: 0 }];
|
|
|
addSubscribeQuotation(uuid, arr);
|
|
addSubscribeQuotation(uuid, arr);
|
|
|
}
|
|
}
|
|
|
|
|
+ onMounted(() => {
|
|
|
|
|
+ removeSubscribeQuotation(uuid);
|
|
|
|
|
+ });
|
|
|
// 交收月
|
|
// 交收月
|
|
|
const time = ref<Moment>(); // string 交收月
|
|
const time = ref<Moment>(); // string 交收月
|
|
|
function search(isQuery: boolean) {
|
|
function search(isQuery: boolean) {
|
|
@@ -214,8 +215,6 @@ export default defineComponent({
|
|
|
goodsChange,
|
|
goodsChange,
|
|
|
isWR,
|
|
isWR,
|
|
|
isFloat,
|
|
isFloat,
|
|
|
- // findGoodsCode,
|
|
|
|
|
- // handleGoodsChange,
|
|
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|