li.shaoyi 3 năm trước cách đây
mục cha
commit
a7d940d656

+ 4 - 18
src/views/search/search_document_records_done/search_document_records_done_commodity_contract/search_document_records_done_commodity_contract_history/index.vue

@@ -1,22 +1,8 @@
 <template>
   <!-- 商品订单 - 成交 -历史记录-->
-  <section
-    :class="[isShowBottom ? 'topTableHeight_441' : 'topTableHeight_441_no_bottom', 'topTableHeight']"
-  >
+  <section :class="[isShowBottom ? 'topTableHeight_441' : 'topTableHeight_441_no_bottom', 'topTableHeight']">
     <Filter @search="search" />
-    <a-table
-      :columns="columns"
-      class="srcollYTable"
-      :scroll="{ x: '100%', y: 'calc(100vh - 441px)' }"
-      :pagination="false"
-      :loading="loading"
-      :expandedRowKeys="expandedRowKeys"
-      :customRow="Rowclick"
-      :expandIcon="expandIcon"
-      :expandIconAsCell="false"
-      rowKey="key"
-      :data-source="tableList"
-    >
+    <a-table :columns="columns" class="srcollYTable" :scroll="{ x: '100%', y: 'calc(100vh - 441px)' }" :pagination="false" :loading="loading" :expandedRowKeys="expandedRowKeys" :customRow="Rowclick" :expandIcon="expandIcon" :expandIconAsCell="false" rowKey="key" :data-source="tableList">
       <!-- 类型 -->
       <template #buyorsell="{ text }">
         <span>{{ getBuyOrSellTypeName(text) }}</span>
@@ -71,8 +57,8 @@ export default defineComponent({
     // 查询数据
     const search = (value: Moment[]) => {
       const param = {
-        enddate: value[1].format('YYYY-MM-DD'),
-        begindate: value[0].format('YYYY-MM-DD'),
+        startDate: value[0].format('YYYY-MM-DD'),
+        endDate: value[1].format('YYYY-MM-DD'),
         tradeMode: TradeMode.DiaoQi.toString()
       };
       queryTable(queryHisTradeDetail, param);