|
|
@@ -179,6 +179,7 @@ import { getRules } from '@/services/bus/rules';
|
|
|
import { ListingForm } from './interface';
|
|
|
import { HdWRDealOrder, wrBargainApply } from '@/services/proto/warehousetrade';
|
|
|
import Long from 'long';
|
|
|
+import Bus from '@/utils/eventBus';
|
|
|
|
|
|
export default defineComponent({
|
|
|
emits: ['cancel', 'update'],
|
|
|
@@ -294,6 +295,7 @@ export default defineComponent({
|
|
|
};
|
|
|
requestResultLoadingAndInfo(wrBargainApply, param, loading, ['议价摘牌成功', '议价摘牌失败:']).then(() => {
|
|
|
cancel(true);
|
|
|
+ Bus.$emit('blocsTrade', true);
|
|
|
});
|
|
|
} else {
|
|
|
// 首先确定 这是仓单贸易的有仓单挂摘牌 HasWr = 1
|
|
|
@@ -334,6 +336,7 @@ export default defineComponent({
|
|
|
|
|
|
requestResultLoadingAndInfo(HdWRDealOrder, param, loading, ['摘牌成功', '摘牌失败:']).then(() => {
|
|
|
cancel(true);
|
|
|
+ Bus.$emit('blocsTrade', true);
|
|
|
});
|
|
|
}
|
|
|
});
|