🦄 refactor: 入库出库和移库单独的二级页面移除采购推荐
This commit is contained in:
@@ -167,21 +167,21 @@
|
||||
</el-dialog>
|
||||
|
||||
<!-- 智能采购单弹窗, 底部弹出 -->
|
||||
<el-drawer :title="`智能采购单(订单ID:${clacOrderId})`" direction="btt" :visible.sync="clacDialogVisible" width="100%" size="90%" append-to-body>
|
||||
<!-- <el-drawer :title="`智能采购单(订单ID:${clacOrderId})`" direction="btt" :visible.sync="clacDialogVisible" width="100%" size="90%" append-to-body>
|
||||
<clac-panel :orderId="clacOrderId" @confirm="handleRecommendConfirm" />
|
||||
</el-drawer>
|
||||
</el-drawer> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { listOrder, getOrder, delOrder, addOrder, updateOrder } from "@/api/wms/order";
|
||||
import OrderDetailPanel from './panels/detail.vue';
|
||||
import ClacPanel from '../purchasePlan/panels/clac.vue';
|
||||
// import ClacPanel from '../purchasePlan/panels/clac.vue';
|
||||
import { EOrderStatus } from "@/utils/enums";
|
||||
|
||||
export default {
|
||||
name: "Order",
|
||||
components: { OrderDetailPanel, ClacPanel },
|
||||
components: { OrderDetailPanel },
|
||||
dicts: ['order_status'],
|
||||
data() {
|
||||
return {
|
||||
@@ -244,12 +244,12 @@ export default {
|
||||
this.$router.push('/shop/order/dashboard');
|
||||
},
|
||||
/** 推荐采购计划确认 */
|
||||
handleRecommendConfirm(data) {
|
||||
console.log('推荐采购计划数据:', data);
|
||||
this.$modal.msgSuccess("推荐采购计划已生成");
|
||||
this.clacDialogVisible = false;
|
||||
this.getList(); // 刷新列表
|
||||
},
|
||||
// handleRecommendConfirm(data) {
|
||||
// console.log('推荐采购计划数据:', data);
|
||||
// this.$modal.msgSuccess("推荐采购计划已生成");
|
||||
// this.clacDialogVisible = false;
|
||||
// this.getList();
|
||||
// },
|
||||
// 取消按钮
|
||||
cancel() {
|
||||
this.open = false;
|
||||
|
||||
Reference in New Issue
Block a user