From d85e1b4cce3e137a02f08515cd78c601fcf325b0 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 05 一月 2026 17:53:46 +0800
Subject: [PATCH] 新增生产工单页面

---
 src/views/productionManagement/productionReporting/Input.vue |   92 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 92 insertions(+), 0 deletions(-)

diff --git a/src/views/productionManagement/productionReporting/Input.vue b/src/views/productionManagement/productionReporting/Input.vue
new file mode 100644
index 0000000..144e5bd
--- /dev/null
+++ b/src/views/productionManagement/productionReporting/Input.vue
@@ -0,0 +1,92 @@
+<template>
+  <div>
+    <el-dialog
+        v-model="isShow"
+        title="鎶曞叆"
+        @close="closeModal"
+    >
+      <PIMTable
+          rowKey="id"
+          :column="tableColumn"
+          :tableData="data"
+          :page="page"
+          :tableLoading="tableLoading"
+          @pagination="pagination"
+      ></PIMTable>
+      <template #footer>
+        <div class="dialog-footer">
+          <el-button type="primary" @click="closeModal">鍏抽棴</el-button>
+        </div>
+      </template>
+    </el-dialog>
+  </div>
+</template>
+
+<script setup>
+import {ref, computed, onMounted} from "vue";
+
+const props = defineProps({
+  visible: {
+    type: Boolean,
+    required: true,
+  },
+});
+
+const emit = defineEmits(['update:visible', 'completed']);
+
+const page = reactive({
+  current: 1,
+  size: 100,
+  total: 0
+});
+
+const pagination = (obj) => {
+  page.current = obj.page;
+  page.size = obj.limit;
+  fetchData();
+};
+
+const tableLoading = ref(false);
+
+const tableColumn = [
+  {
+    label: '鎶ュ伐鍗曞彿',
+    prop: 'productNo',
+  },
+  {
+    label: '浜у搧鍨嬪彿',
+    prop: 'productModelName',
+  },
+  {
+    label: '鎶曞叆鏁伴噺',
+    prop: 'quantity',
+  },
+]
+
+const isShow = computed({
+  get() {
+    return props.visible;
+  },
+  set(val) {
+    emit('update:visible', val);
+  },
+});
+
+const data = ref([])
+
+const closeModal = () => {
+  isShow.value = false;
+};
+
+const fetchData = () => {
+};
+
+defineExpose({
+  closeModal,
+  isShow,
+});
+
+onMounted(() => {
+  fetchData()
+})
+</script>

--
Gitblit v1.9.3