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

销售订单生产编码输入放开限制

2213980799@qq.com 1 год назад
Родитель
Сommit
efd8ba147d
1 измененных файлов с 1 добавлено и 4 удалено
  1. 1 4
      src/views/saleOrder/components/create-order.vue

+ 1 - 4
src/views/saleOrder/components/create-order.vue

@@ -105,10 +105,7 @@
           <el-table-column label="生产编号" align="center" prop="productionCodes" width="140">
             <template slot-scope="scope">
               <el-form-item label-width="0px" :prop="'productInfoList.' + scope.$index + '.productionCodes'">
-                <el-input style="width: 100%" size="small" v-model="scope.row.productionCodes" placeholder="请输入"  @input="(value) =>
-                (scope.row.productionCodes = value.replace(
-                 /[^a-zA-Z0-9_-]/g, ''
-                ))">
+                <el-input style="width: 100%" size="small" v-model="scope.row.productionCodes" placeholder="请输入">
               </el-input>
             </el-form-item>
             </template>