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 @@
-
+
-
-
+
-
+
+
-
-
-
+
+
+
+
@@ -209,7 +211,7 @@
-
+
{{ parseTime(scope.row.productDate, '{y}-{m}-{d}') }}
@@ -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; //返回值
+ }
+
},
// 新增-物料搜索