| | |
| | | clearable |
| | | @change="handleQuery" |
| | | /> |
| | | <span class="search_title ml10">合同号:</span> |
| | | <el-input |
| | | v-model="searchForm.salesContractNo" |
| | | style="width: 240px" |
| | | placeholder="请输入合同号" |
| | | clearable |
| | | /> |
| | | <span class="search_title ml10">来源:</span> |
| | | <el-select v-model="searchForm.recordType" |
| | | style="width: 240px" |
| | |
| | | min-width="100" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | label="合同号" |
| | | prop="salesContractNo" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | label="出库日期" |
| | | prop="createTime" |
| | | :formatter="formatTableDateYmd" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | |
| | | |
| | | <script setup> |
| | | import pagination from "@/components/PIMTable/Pagination.vue"; |
| | | import { ref } from "vue"; |
| | | import { ref, reactive, toRefs, getCurrentInstance, onMounted } from "vue"; |
| | | import { ElMessageBox } from "element-plus"; |
| | | import useUserStore from "@/store/modules/user"; |
| | | import { getCurrentDate } from "@/utils/index.js"; |
| | | import { parseTime } from "@/utils/ruoyi"; |
| | | import { |
| | | getStockOutPage, |
| | | delStockOut, |
| | |
| | | |
| | | const userStore = useUserStore(); |
| | | const { proxy } = getCurrentInstance(); |
| | | |
| | | const formatTableDateYmd = (row, column, cellValue) => { |
| | | if (cellValue == null || cellValue === "") { |
| | | return ""; |
| | | } |
| | | return parseTime(cellValue, "{y}-{m}-{d}") || ""; |
| | | }; |
| | | const tableData = ref([]); |
| | | const selectedRows = ref([]); |
| | | const tableLoading = ref(false); |
| | |
| | | const data = reactive({ |
| | | searchForm: { |
| | | supplierName: "", |
| | | salesContractNo: "", |
| | | timeStr: "", |
| | | recordType: "", |
| | | } |