From 64b8274e302a99a6a78be53fcf9d63c68c7aeb30 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Wed, 31 Jan 2024 13:58:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BD=E5=9D=AF=E8=AE=A2=E5=8D=95=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=A2=9E=E5=8A=A0=E7=89=A9=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plan/workorderBP/index.vue | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/views/plan/workorderBP/index.vue b/src/views/plan/workorderBP/index.vue index d2ad699..479b93b 100644 --- a/src/views/plan/workorderBP/index.vue +++ b/src/views/plan/workorderBP/index.vue @@ -181,25 +181,27 @@ - + - - + - + + - - - + + + + - + @@ -815,7 +817,12 @@ export default { methods: { //产品编码格式化 productCodeFormate(row, column, cellValue){ - return cellValue.slice(7,18); //返回值 + if(cellValue.length>11){ + return cellValue.slice(7,18); //返回值 + }else{ + return cellValue; //返回值 + } + }, // 新增-物料搜索