| | |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | | <el-button type="primary" size="small" @click="isShowProductsModal = true" :disabled="!formState.purchaseLedgerId">添加产品</el-button> |
| | | <el-button type="primary" size="small" style="margin-bottom: 10px;" @click="isShowProductsModal = true" :disabled="!formState.purchaseLedgerId">添加产品</el-button> |
| | | <el-table :data="products" border> |
| | | <el-table-column align="center" |
| | | type="selection" |
| | |
| | | <template> |
| | | <template> |
| | | <div> |
| | | <el-dialog |
| | | v-model="isShow" |
| | |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | </template> |
| | | |
| | | <script setup> |
| | | import {computed, reactive, ref} from "vue"; |
| | | import {computed, reactive, ref, onMounted} from "vue"; |
| | | import {productList} from "@/api/procurementManagement/procurementLedger.js"; |
| | | import {ElMessage} from "element-plus"; |
| | | |
| | |
| | | } |
| | | |
| | | emit('completed', selectedRows.value); |
| | | closeModal() |
| | | } |
| | | |
| | | const closeModal = () => { |