|
|
@@ -9,7 +9,7 @@
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th>
|
|
|
- <span>{{ item.goodsname }}</span>
|
|
|
+ <span>{{ item.goodscode }}/{{ goodsname(item.goodscode) }}</span>
|
|
|
<time class="text-small">{{ formatDate(item.ordertime) }}</time>
|
|
|
</th>
|
|
|
<th>
|
|
|
@@ -48,7 +48,7 @@
|
|
|
<tfoot>
|
|
|
<tr>
|
|
|
<td colspan="2">
|
|
|
- <Button size="small" @click="cancelOrder(item)">撤销</Button>
|
|
|
+ <Button size="small" @click="cancelOrder(item)">{{ $t('operation.cancel') }}</Button>
|
|
|
</td>
|
|
|
</tr>
|
|
|
</tfoot>
|
|
|
@@ -96,6 +96,10 @@ const dateValue = shallowRef(props.params.tradedate?.split('-') ?? [])
|
|
|
|
|
|
const { componentRef, componentId, openComponent, closeComponent } = useComponent()
|
|
|
|
|
|
+const goodsname = (code: string) => {
|
|
|
+ return futuresStore.getI18nGoodsName(code)
|
|
|
+}
|
|
|
+
|
|
|
const { loading, pageIndex, pageCount, run } = useRequest(queryDigitalTradeOrderDetails, {
|
|
|
manual: props.showDatePicker,
|
|
|
defaultParams: props.params,
|
|
|
@@ -114,7 +118,8 @@ const tableList = computed(() => dataList.value.map((e) => {
|
|
|
...e,
|
|
|
goodsname: quoteItem?.goodsname || e.goodsid,
|
|
|
basecurrencycode: quoteItem?.basecurrencycode,
|
|
|
- quotecurrencycode: quoteItem?.quotecurrencycode
|
|
|
+ quotecurrencycode: quoteItem?.quotecurrencycode,
|
|
|
+ goodscode: quoteItem?.goodscode
|
|
|
}
|
|
|
}))
|
|
|
|