huminmin
6 天以前 b665f6f67837fb608e0055dd2ea9ad05c5c5fb34
src/views/productionManagement/productionReporting/index.vue
@@ -130,10 +130,12 @@
    <input-modal
        v-if="isShowInput"
        v-model:visible="isShowInput"
        :production-product-main-id="isShowingId"
    />
    <output-modal
        v-if="isShowOutput"
        v-model:visible="isShowOutput"
        :production-product-main-id="isShowingId"
    />
   </div>
</template>
@@ -148,7 +150,7 @@
} from "@/api/productionManagement/productionReporting.js";
import {
  productionProductMainListPage,
} from "@/api/productionManagement/production_product_main.js";
} from "@/api/productionManagement/productionProductMain.js";
import {userListNoPageByTenantId} from "@/api/system/user.js";
import InputModal from "@/views/productionManagement/productionReporting/Input.vue";
import OutputModal from "@/views/productionManagement/productionReporting/Output.vue";
@@ -394,14 +396,17 @@
// 打开投入模态框
const isShowInput = ref(false);
const isShowingId = ref(0)
const showInput = (row) => {
   isShowInput.value = true;
  isShowingId.value = row.id
}
// 打开产出模态框
const isShowOutput = ref(false);
const showOutput = (row) => {
   isShowOutput.value = true;
  isShowingId.value = row.id
}
// 导出