Просмотр исходного кода

加工方式文本变更为生产类型

jingshuyong 11 месяцев назад
Родитель
Сommit
b7df3608b1

+ 1 - 1
src/views/materialPlan/components/produceOrder-search.vue

@@ -196,7 +196,7 @@
       <!--      </el-col>-->
       <!--      </el-col>-->
 
 
       <el-col v-bind="styleResponsive ? { lg: 3, md: 6 } : { span: 3 }">
       <el-col v-bind="styleResponsive ? { lg: 3, md: 6 } : { span: 3 }">
-        <el-form-item label-width="80px" label="加工方式:">
+        <el-form-item label-width="80px" label="生产类型:">
           <el-select
           <el-select
             size="mini"
             size="mini"
             clearable
             clearable

+ 2 - 2
src/views/productionPlan/autoIndex.vue

@@ -1010,7 +1010,7 @@
           }
           }
         }
         }
         if (flag) {
         if (flag) {
-          this.$message.warning('请选择加工方式相同的计划!');
+          this.$message.warning('请选择生产类型相同的计划!');
           return;
           return;
         }
         }
         console.log(type);
         console.log(type);
@@ -1019,7 +1019,7 @@
         } else if (type == 3) {
         } else if (type == 3) {
           this.$refs.homogeneityInspectInstallDialog.open(this.selection);
           this.$refs.homogeneityInspectInstallDialog.open(this.selection);
         } else {
         } else {
-          this.$message.warning('请确认加工方式!');
+          this.$message.warning('请确认生产类型!');
         }
         }
       },
       },
       statusFormatter(status) {
       statusFormatter(status) {

+ 8 - 8
src/views/productionPlan/components/factoryAdd/index.vue

@@ -456,10 +456,10 @@
       // 是否必填 字段 ( 首先看计划类型 如果是返工返修)
       // 是否必填 字段 ( 首先看计划类型 如果是返工返修)
       // 就不是必填 否则就看配置参数
       // 就不是必填 否则就看配置参数
 
 
-      // 必填的时候 不显示选择按钮 跟 展示输入框 只能有下拉选择框 ( 选择了加工方式 带出 BOM 版本 带出 工艺路线 工艺路线不能选择)
+      // 必填的时候 不显示选择按钮 跟 展示输入框 只能有下拉选择框 ( 选择了生产类型 带出 BOM 版本 带出 工艺路线 工艺路线不能选择)
       // 不必填的时候 显示 选择按钮跟 展示输入框 并且可以存在选择框 一开始默认展示选择框
       // 不必填的时候 显示 选择按钮跟 展示输入框 并且可以存在选择框 一开始默认展示选择框
-      //   选择按钮选择数据后 隐藏选择框 显示展示框(input) 情况 加工方式 跟 BOM版本
-      //   选择了加工方式 清空 选择框选择的工艺路线
+      //   选择按钮选择数据后 隐藏选择框 显示展示框(input) 情况 生产类型 跟 BOM版本
+      //   选择了生产类型 清空 选择框选择的工艺路线
 
 
       // 是否必填字段
       // 是否必填字段
       isRequired() {
       isRequired() {
@@ -571,7 +571,7 @@
           {
           {
             slot: 'productType',
             slot: 'productType',
             prop: 'productType',
             prop: 'productType',
-            label: '加工方式',
+            label: '生产类型',
             headerSlot: 'headerProcessingBOM',
             headerSlot: 'headerProcessingBOM',
             align: 'center',
             align: 'center',
             minWidth: 180
             minWidth: 180
@@ -743,7 +743,7 @@
           { code: 3, name: '装配(ABOM)' }
           { code: 3, name: '装配(ABOM)' }
         ],
         ],
         selectIndex: 0, // 选择工艺路线的当前数据下标
         selectIndex: 0, // 选择工艺路线的当前数据下标
-        processingRequired: 0 // 加工方式跟BOM 版本是否必填 1:是 0:否
+        processingRequired: 0 // 生产类型跟BOM 版本是否必填 1:是 0:否
         // selectionRowShow: false // 工艺路线输入框展示 状态
         // selectionRowShow: false // 工艺路线输入框展示 状态
       };
       };
     },
     },
@@ -754,7 +754,7 @@
     //   }
     //   }
     // },
     // },
     mounted() {
     mounted() {
-      // 加工方式跟BOM版本字段是否必填
+      // 生产类型跟BOM版本字段是否必填
       parameterGetByCode({
       parameterGetByCode({
         code: 'production_plan_code'
         code: 'production_plan_code'
       }).then((res) => {
       }).then((res) => {
@@ -1034,7 +1034,7 @@
         // this.selectionRowShow = false;
         // this.selectionRowShow = false;
       },
       },
 
 
-      // 选择加工方式
+      // 选择生产类型
       changeProductType(row, index) {
       changeProductType(row, index) {
         let param = {
         let param = {
           bomType: row.productType,
           bomType: row.productType,
@@ -1068,7 +1068,7 @@
           if (this.isRequired) {
           if (this.isRequired) {
             if (!v.productType) {
             if (!v.productType) {
               flag = false;
               flag = false;
-              this.$message.warning('请选择加工方式');
+              this.$message.warning('请选择生产类型');
               return;
               return;
             }
             }
 
 

+ 1 - 1
src/views/productionPlan/components/productionPlan-search.vue

@@ -182,7 +182,7 @@
       <!--      </el-col>-->
       <!--      </el-col>-->
 
 
       <el-col v-bind="styleResponsive ? { lg: 3, md: 6 } : { span: 3 }">
       <el-col v-bind="styleResponsive ? { lg: 3, md: 6 } : { span: 3 }">
-        <el-form-item label-width="80px" label="加工方式:">
+        <el-form-item label-width="80px" label="生产类型:">
           <el-select
           <el-select
             size="mini"
             size="mini"
             clearable
             clearable

+ 2 - 2
src/views/productionPlan/index.vue

@@ -772,7 +772,7 @@
           }
           }
         }
         }
         if (flag) {
         if (flag) {
-          this.$message.warning('请选择加工方式相同的计划!');
+          this.$message.warning('请选择生产类型相同的计划!');
           return;
           return;
         }
         }
         console.log(type);
         console.log(type);
@@ -781,7 +781,7 @@
         } else if (type == 3) {
         } else if (type == 3) {
           this.$refs.homogeneityInspectInstallDialog.open(this.selection);
           this.$refs.homogeneityInspectInstallDialog.open(this.selection);
         } else {
         } else {
-          this.$message.warning('请确认加工方式!');
+          this.$message.warning('请确认生产类型!');
         }
         }
       },
       },
       statusFormatter(status) {
       statusFormatter(status) {

+ 2 - 2
src/views/productionPlan/manuIndex.vue

@@ -946,7 +946,7 @@
           }
           }
         }
         }
         if (flag) {
         if (flag) {
-          this.$message.warning('请选择加工方式相同的计划!');
+          this.$message.warning('请选择生产类型相同的计划!');
           return;
           return;
         }
         }
         console.log(type);
         console.log(type);
@@ -955,7 +955,7 @@
         } else if (type == 3) {
         } else if (type == 3) {
           this.$refs.homogeneityInspectInstallDialog.open(this.selection);
           this.$refs.homogeneityInspectInstallDialog.open(this.selection);
         } else {
         } else {
-          this.$message.warning('请确认加工方式!');
+          this.$message.warning('请确认生产类型!');
         }
         }
       },
       },
       statusFormatter(status) {
       statusFormatter(status) {

+ 8 - 8
src/views/saleOrder/components/create-order.vue

@@ -229,14 +229,14 @@
           </el-table-column>
           </el-table-column>
 
 
           <el-table-column
           <el-table-column
-            label="加工方式"
+            label="生产类型"
             width="140"
             width="140"
             align="center"
             align="center"
             prop="productType"
             prop="productType"
           >
           >
             <template slot="header" slot-scope="scope">
             <template slot="header" slot-scope="scope">
               <div :class="isRequired ? 'header_required' : ''"
               <div :class="isRequired ? 'header_required' : ''"
-                ><span class="is-required">加工方式</span></div
+                ><span class="is-required">生产类型</span></div
               >
               >
             </template>
             </template>
             <template slot-scope="scope">
             <template slot-scope="scope">
@@ -594,7 +594,7 @@
           }
           }
         ],
         ],
         selectIndex: 0, // 选择工艺路线的当前数据下标
         selectIndex: 0, // 选择工艺路线的当前数据下标
-        processingRequired: 0 // 加工方式跟BOM 版本是否必填 1:是 0:否
+        processingRequired: 0 // 生产类型跟BOM 版本是否必填 1:是 0:否
       };
       };
     },
     },
     watch: {
     watch: {
@@ -845,7 +845,7 @@
           if (this.isRequired) {
           if (this.isRequired) {
             if (!v.productType) {
             if (!v.productType) {
               flag = false;
               flag = false;
-              this.$message.warning('请选择加工方式');
+              this.$message.warning('请选择生产类型');
               break;
               break;
             }
             }
 
 
@@ -866,7 +866,7 @@
         //   if (this.isRequired) {
         //   if (this.isRequired) {
         //     if (!v.productType) {
         //     if (!v.productType) {
         //       flag = false;
         //       flag = false;
-        //       this.$message.warning('请选择加工方式');
+        //       this.$message.warning('请选择生产类型');
         //       return;
         //       return;
         //     }
         //     }
 
 
@@ -986,7 +986,7 @@
         // this.selectionRowShow = false;
         // this.selectionRowShow = false;
       },
       },
 
 
-      // 选择加工方式
+      // 选择生产类型
       changeProductType(row, index) {
       changeProductType(row, index) {
         let param = {
         let param = {
           bomType: row.productType,
           bomType: row.productType,
@@ -1039,7 +1039,7 @@
 
 
       homogeneityInspect(row) {
       homogeneityInspect(row) {
         if (!row.productType) {
         if (!row.productType) {
-          this.$message.warning('请选择加工方式');
+          this.$message.warning('请选择生产类型');
           return;
           return;
         }
         }
         if (!row.bomCategoryId) {
         if (!row.bomCategoryId) {
@@ -1053,7 +1053,7 @@
         } else if (row.productType == 3) {
         } else if (row.productType == 3) {
           this.$refs.orderHomogeneityInspectInstallDialog.open([row.id]);
           this.$refs.orderHomogeneityInspectInstallDialog.open([row.id]);
         } else {
         } else {
-          this.$message.warning('请确认加工方式!');
+          this.$message.warning('请确认生产类型!');
         }
         }
       },
       },
 
 

+ 1 - 1
src/views/saleOrder/components/plan-submit.vue

@@ -32,7 +32,7 @@
           {{ info.codeNum }}
           {{ info.codeNum }}
         </el-descriptions-item>
         </el-descriptions-item>
         <el-descriptions-item>
         <el-descriptions-item>
-          <template slot="label"> 加工方式 </template>
+          <template slot="label"> 生产类型 </template>
           {{ info.produceVersionName }}
           {{ info.produceVersionName }}
         </el-descriptions-item>
         </el-descriptions-item>
 
 

+ 3 - 3
src/views/saleOrder/index.vue

@@ -455,7 +455,7 @@
                 for(let item of list){
                 for(let item of list){
                   if(!item.productType){
                   if(!item.productType){
                     flag = false;
                     flag = false;
-                    this.$message.warning('产品(' + item.productCode + ')未选择加工方式');
+                    this.$message.warning('产品(' + item.productCode + ')未选择生产类型');
                     return;
                     return;
                   }
                   }
                   type = item.productType;
                   type = item.productType;
@@ -467,7 +467,7 @@
                   if(pre){
                   if(pre){
                     if(pre.productType != item.productType){
                     if(pre.productType != item.productType){
                       flag = false;
                       flag = false;
-                      this.$message.warning('请选择加工方式相同的订单');
+                      this.$message.warning('请选择生产类型相同的订单');
                       return;
                       return;
                     }
                     }
                   }
                   }
@@ -487,7 +487,7 @@
             } else if(type == 3){
             } else if(type == 3){
               this.$refs.orderHomogeneityInspectInstallDialog.open(data);
               this.$refs.orderHomogeneityInspectInstallDialog.open(data);
             } else {
             } else {
-              this.$message.warning('请确认加工方式!');
+              this.$message.warning('请确认生产类型!');
             }
             }
           }
           }
         } else {
         } else {

+ 1 - 1
src/views/saleOrder/salesToProduction.vue

@@ -93,7 +93,7 @@
           ],
           ],
 
 
           produceType: [
           produceType: [
-            { required: true, message: '请选择加工方式', trigger: 'blur' }
+            { required: true, message: '请选择生产类型', trigger: 'blur' }
           ],
           ],
           bomCategoryId: [
           bomCategoryId: [
             { required: true, message: '请选择BOM版本', trigger: 'blur' }
             { required: true, message: '请选择BOM版本', trigger: 'blur' }

+ 2 - 2
src/views/saleOrder/salesToProductionNew.vue

@@ -34,7 +34,7 @@
           <el-col :span="6">
           <el-col :span="6">
             <el-form-item
             <el-form-item
               :class="isRequired ? 'header_required' : ''"
               :class="isRequired ? 'header_required' : ''"
-              label="加工方式:"
+              label="生产类型:"
               prop="produceType"
               prop="produceType"
             >
             >
               <el-select
               <el-select
@@ -384,7 +384,7 @@
         },
         },
         // selection: [],
         // selection: [],
         loading: false,
         loading: false,
-        processingRequired: 0, // 加工方式跟BOM 版本是否必填 1:是 0:否
+        processingRequired: 0, // 生产类型跟BOM 版本是否必填 1:是 0:否
         selectionRowShow: false // 工艺路线输入框展示 状态
         selectionRowShow: false // 工艺路线输入框展示 状态
       };
       };
     },
     },

+ 6 - 6
src/views/saleOrder/salesToProductionNewTwo.vue

@@ -34,7 +34,7 @@
 
 
           <el-col v-bind="styleResponsive ? { lg: 5, md: 8 } : { span: 4 }">
           <el-col v-bind="styleResponsive ? { lg: 5, md: 8 } : { span: 4 }">
             <el-form-item
             <el-form-item
-              label="加工方式:"
+              label="生产类型:"
               :class="isRequired ? 'header_required' : ''"
               :class="isRequired ? 'header_required' : ''"
             >
             >
               <el-select
               <el-select
@@ -240,7 +240,7 @@
             </el-form-item>
             </el-form-item>
           </el-col>
           </el-col>
 
 
-          <!-- <el-form-item label="加工方式:" prop="produceType">
+          <!-- <el-form-item label="生产类型:" prop="produceType">
                 <el-select v-model="form.produceType" style="width: 100%"   @change="changeProduceType" >
                 <el-select v-model="form.produceType" style="width: 100%"   @change="changeProduceType" >
                     <el-option
                     <el-option
                       v-for="item of producedList"
                       v-for="item of producedList"
@@ -819,7 +819,7 @@
           //   }
           //   }
           // ],
           // ],
           //   produceType: [
           //   produceType: [
-          //     { required: true, message: '请选择加工方式', trigger: 'blur' }
+          //     { required: true, message: '请选择生产类型', trigger: 'blur' }
           //   ],
           //   ],
           //   bomCategoryId: [
           //   bomCategoryId: [
           //     { required: true, message: '请选择BOM版本', trigger: 'blur' }
           //     { required: true, message: '请选择BOM版本', trigger: 'blur' }
@@ -830,7 +830,7 @@
         },
         },
         // selection: [],
         // selection: [],
         loading: false,
         loading: false,
-        processingRequired: 0, // 加工方式跟BOM 版本是否必填 1:是 0:否
+        processingRequired: 0, // 生产类型跟BOM 版本是否必填 1:是 0:否
         selectionRowShow: false, // 工艺路线输入框展示 状态
         selectionRowShow: false, // 工艺路线输入框展示 状态
         validDate
         validDate
       };
       };
@@ -1170,7 +1170,7 @@
           // if(v.salesOrders)
           // if(v.salesOrders)
         });
         });
         if (this.form.produceType) {
         if (this.form.produceType) {
-          //查询加工方式
+          //查询生产类型
           this.form.produceVersionName = this.producedList.find(
           this.form.produceVersionName = this.producedList.find(
             (v) => v.code == this.form.produceType
             (v) => v.code == this.form.produceType
           )?.name;
           )?.name;
@@ -1221,7 +1221,7 @@
         if (this.isRequired) {
         if (this.isRequired) {
           if (!this.form.produceType) {
           if (!this.form.produceType) {
             flag = false;
             flag = false;
-            this.$message.warning('请选择加工方式');
+            this.$message.warning('请选择生产类型');
             return;
             return;
           }
           }