|
@@ -46,7 +46,7 @@
|
|
|
</a-table>
|
|
</a-table>
|
|
|
</contextMenu>
|
|
</contextMenu>
|
|
|
<ControlModal :selectedRow="selectedRow"
|
|
<ControlModal :selectedRow="selectedRow"
|
|
|
- @refresh="queryTable" />
|
|
|
|
|
|
|
+ @refresh="getData" />
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -81,18 +81,21 @@ export default defineComponent({
|
|
|
// 表格列表数据
|
|
// 表格列表数据
|
|
|
const { loading, tableList, queryTable } = queryTableList<QhjTradeGoodsPickup>();
|
|
const { loading, tableList, queryTable } = queryTableList<QhjTradeGoodsPickup>();
|
|
|
|
|
|
|
|
- // 1:备货中 完成备货
|
|
|
|
|
- // 2:待取货(自提) 确认取货
|
|
|
|
|
- // 4:待收货(邮寄) 上传物流信息、确认收货
|
|
|
|
|
- initData(() => {
|
|
|
|
|
|
|
+ function getData() {
|
|
|
// 获取列表数据
|
|
// 获取列表数据
|
|
|
queryTable(queryTradeGoodsPickup).then((res) => {
|
|
queryTable(queryTradeGoodsPickup).then((res) => {
|
|
|
tableList.value = res.map((el) => {
|
|
tableList.value = res.map((el) => {
|
|
|
- console.log(el.takeorderid);
|
|
|
|
|
-
|
|
|
|
|
return { ...el, key: String(el.takeorderid) };
|
|
return { ...el, key: String(el.takeorderid) };
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 1:备货中 完成备货
|
|
|
|
|
+ // 2:待取货(自提) 确认取货
|
|
|
|
|
+ // 4:待收货(邮寄) 上传物流信息、确认收货
|
|
|
|
|
+ initData(() => {
|
|
|
|
|
+ // 获取列表数据
|
|
|
|
|
+ getData();
|
|
|
// 注册表头信息 过滤
|
|
// 注册表头信息 过滤
|
|
|
registerColumn('table_pcweb_qhj_pickup_query', ['reqtime', 'pickupgoodsname', 'takeorderstatus', 'goodsname']);
|
|
registerColumn('table_pcweb_qhj_pickup_query', ['reqtime', 'pickupgoodsname', 'takeorderstatus', 'goodsname']);
|
|
|
});
|
|
});
|
|
@@ -100,6 +103,7 @@ export default defineComponent({
|
|
|
return {
|
|
return {
|
|
|
btnList,
|
|
btnList,
|
|
|
columns,
|
|
columns,
|
|
|
|
|
+ getData,
|
|
|
updateColumn,
|
|
updateColumn,
|
|
|
expandedRowKeys,
|
|
expandedRowKeys,
|
|
|
selectedRow,
|
|
selectedRow,
|