Răsfoiți Sursa

refactor(表单输入): 移除多个物品清单表格组件中对批次号中文输入限制(v-no-chinese指令),以允许用户输入中文字符

liujt 1 lună în urmă
părinte
comite
f40bb33e89

+ 2 - 1
src/BIZComponents/inventoryTable.vue

@@ -632,8 +632,9 @@
             v-model="scope.row.batchNo"
             placeholder="请输入"
             :disabled="quoteType === 2"
-            v-no-chinese
           >
+          <!-- 批次号可以为中文 -->
+          <!-- v-no-chinese -->
           </el-input>
         </el-form-item>
       </template>

+ 0 - 1
src/views/purchasingManage/purchaseOrder/components/inventoryTable.vue

@@ -441,7 +441,6 @@
           <el-input
             v-model="scope.row.batchNo"
             placeholder="请输入"
-            v-no-chinese
           >
           </el-input>
         </el-form-item>

+ 0 - 1
src/views/purchasingManage/purchaseOrder/components/inventoryTableNew.vue

@@ -490,7 +490,6 @@
           <el-input
             v-model="scope.row.batchNo"
             placeholder="请输入"
-            v-no-chinese
           >
           </el-input>
         </el-form-item>

+ 1 - 1
src/views/purchasingManage/purchaseOrder/invoice/components/inventoryTable.vue

@@ -74,7 +74,7 @@
             }
           ]"
         >
-          <el-input v-model="scope.row.batchNo" v-no-chinese></el-input>
+          <el-input v-model="scope.row.batchNo"></el-input>
         </el-form-item>
       </template>
       <template v-slot:productionDate="scope">

+ 1 - 1
src/views/purchasingManage/purchasePlanManage/components/inventoryTable.vue

@@ -81,7 +81,7 @@
       </template>
       <template v-slot:batchNo="scope">
         <el-form-item :prop="'datasource.' + scope.$index + '.batchNo'">
-          <el-input v-model="scope.row.batchNo" v-no-chinese></el-input>
+          <el-input v-model="scope.row.batchNo"></el-input>
         </el-form-item>
       </template>
 

+ 2 - 2
src/views/saleManage/saleOrder/invoice/components/inventoryTable copy.vue

@@ -77,7 +77,7 @@
 
       <template v-slot:batchStockId="scope">
         <el-form-item :prop="'datasource.' + scope.$index + '.batchStockId'">
-          <!-- <el-input v-model="scope.row.batchNo" v-no-chinese></el-input> -->
+          <!-- <el-input v-model="scope.row.batchNo"></el-input> -->
           <el-select
             v-model="scope.row.batchStockId"
             clearable 
@@ -97,7 +97,7 @@
       <!-- 生产编号 可编辑 -->
       <template v-slot:productionCodes="{ row }">
         <el-form-item>
-          <el-input v-model="row.productionCodes" v-no-chinese></el-input>
+          <el-input v-model="row.productionCodes"></el-input>
         </el-form-item>
       </template>
       <template v-slot:blockCount="scope">

+ 2 - 2
src/views/saleManage/saleOrder/invoice/components/inventoryTable.vue

@@ -77,7 +77,7 @@
 
       <template v-slot:batchStockId="scope">
         <el-form-item :prop="'datasource.' + scope.$index + '.batchStockId'">
-          <!-- <el-input v-model="scope.row.batchNo" v-no-chinese></el-input> -->
+          <!-- <el-input v-model="scope.row.batchNo"></el-input> -->
           <el-select
             v-model="scope.row.batchStockId"
             clearable
@@ -97,7 +97,7 @@
       <!-- 生产编号 可编辑 -->
       <template v-slot:productionCodes="{ row }">
         <el-form-item>
-          <el-input v-model="row.productionCodes" v-no-chinese></el-input>
+          <el-input v-model="row.productionCodes"></el-input>
         </el-form-item>
       </template>
       <template v-slot:blockCount="scope">

+ 1 - 1
src/views/saleManage/saleOrder/invoice/components/replaceTable.vue

@@ -138,7 +138,7 @@
       </template>
       <template v-slot:batchNo="scope">
         <el-form-item :prop="'datasource.' + scope.$index + '.batchNo'">
-          <el-input v-model="scope.row.batchNo" v-no-chinese></el-input>
+          <el-input v-model="scope.row.batchNo"></el-input>
         </el-form-item>
       </template>
       <template v-slot:blockCount="scope">

+ 1 - 1
src/views/saleManage/saleOrder/returnGoods/components/inventoryTableReturn.vue

@@ -345,7 +345,7 @@
           :prop="'datasource.' + scope.$index + '.batchNo'">
           <el-input
             :disabled="isContractId"
-            v-model="scope.row.batchNo" v-no-chinese
+            v-model="scope.row.batchNo"
             placeholder="请输入">
           </el-input>
         </el-form-item>

+ 0 - 1
src/views/saleManage/saleOrder/suspend/components/offsettingDialig.vue

@@ -138,7 +138,6 @@
         > 
             <template v-slot:batchStockId="scope">
                 <el-form-item :prop="'datasource.' + scope.$index + '.batchStockId'">
-                <!-- <el-input v-model="scope.row.batchNo" v-no-chinese></el-input> -->
                 <el-select
                     v-model="scope.row.batchStockId" 
                     placeholder="请选择"