diff --git a/src/components/Business/ProdOrder/ProdOrderCheck.vue b/src/components/Business/ProdOrder/ProdOrderCheck.vue index f13a9b6..194ef1d 100644 --- a/src/components/Business/ProdOrder/ProdOrderCheck.vue +++ b/src/components/Business/ProdOrder/ProdOrderCheck.vue @@ -39,6 +39,9 @@ + + + @@ -51,6 +54,9 @@ + + + 搜索 重置 @@ -129,7 +135,6 @@ import BooleanTag from "@/components/BooleanTag/index.vue"; import Price from "@/views/yh/price/index.vue"; import DeptTreeSelect from "@/components/Business/Dept/DeptTreeSelect.vue"; import {$showColumns} from "@/utils/mixins"; -import {listPrice} from "@/api/yh/price"; import {deepClone, isEmpty} from "@/utils"; import {listProdOrder} from "@/api/yh/prodOrder"; @@ -181,6 +186,14 @@ export default { isAsc: defaultSort.order, erpStatusList: [], erpIsRework: null, + erpBillNo: null, + erpDocumentStatus: null, + deptId: null, + materialCategory: null, + materialSize: null, + materialSurface: null, + materialCover: null, + materialGraphics: null, }, total: 0, selected: [], diff --git a/src/components/Business/ProdOrder/ProdOrderLink.vue b/src/components/Business/ProdOrder/ProdOrderLink.vue new file mode 100644 index 0000000..e0aeda0 --- /dev/null +++ b/src/components/Business/ProdOrder/ProdOrderLink.vue @@ -0,0 +1,26 @@ + + + diff --git a/src/utils/constants.js b/src/utils/constants.js index 7041af0..d2c2178 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -66,7 +66,7 @@ export const ReportStatus = { }, // 允许删除 canDel(status) { - return [this.WAIT_SUBMIT].includes(status); + return [this.WAIT_SUBMIT, this.REJECT].includes(status); }, // 是否已审核过的状态 isVerified(status) { @@ -171,5 +171,11 @@ export const DatePickerOptions = { picker.$emit('pick', [start, end]); } }] + }, + // 禁用未来 + DISABLE_FUTURE: { + disabledDate(date) { + return date.getTime() > Date.now(); + } } } diff --git a/src/views/yh/material/index.vue b/src/views/yh/material/index.vue index fff29b0..a63a4fe 100644 --- a/src/views/yh/material/index.vue +++ b/src/views/yh/material/index.vue @@ -57,6 +57,14 @@ @keyup.enter.native="handleQuery" /> + + + 搜索 重置 @@ -184,10 +192,9 @@