| | |
| | | style="height: 60vh; overflow-x: hidden"> |
| | | <div class="basic-info"> |
| | | <div class="product-view"> |
| | | <CommonFormTableView :isBoder="true" :selectBox="true" :detailEnter="true" :recalculateShow="false" |
| | | <CommonFormTableView :isBoder="true" |
| | | name="rework" :selectBox="true" :detailEnter="true" :recalculateShow="false" |
| | | :addTypeIdMultiple="true" :product-table-list="productTableList" sign="purchase" @rowClick="rowClick" |
| | | @getSelectArray="getSelectArray" @toFiltering="toFiltering"> |
| | | |
| | |
| | | savePurchaseQualityInspectionInfo |
| | | } from "@/api/purchaseManage/purchase" |
| | | import CommonFormTableView from "@/components/makepager/CommonFormTableView" |
| | | import { getDataByType } from "@/api/data" |
| | | export default { |
| | | name: "ArrivalConfirmation", |
| | | components: { CommonFormTableView }, |
| | |
| | | ], |
| | | thatStatus: [], |
| | | thatTimes: [], |
| | | selectList: [] |
| | | selectList: [], |
| | | qualityStatusList: getDataByType("qualityStatus"), |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | { label: "数量", prop: "amount" }, |
| | | { label: "单位", prop: "unit" }, |
| | | { |
| | | label: "状态", prop: "status", |
| | | label: "状态", |
| | | prop: "status", |
| | | isFilter: true, |
| | | isFilterList: this.statusList, |
| | | selectedListDefault: this.getSelectedOperateStatus([], this.statusList), |
| | | isCallMethod: true, |
| | | getCallMethod: this.getpurchaseStatus |
| | | }, |
| | | ] |
| | | } |
| | |
| | | falseClick(row) { |
| | | console.log(row, "row") |
| | | |
| | | } |
| | | }, |
| | | getpurchaseStatus(val) { |
| | | if (val) { |
| | | for (let i in this.qualityStatusList) { |
| | | if (this.qualityStatusList[i].id == val) { |
| | | return this.qualityStatusList[i].name |
| | | } |
| | | } |
| | | } else { |
| | | return "--" |
| | | } |
| | | }, |
| | | } |
| | | } |
| | | </script> |