Explorar el Código

预托书新增页面必填标志添加

jbb hace 2 años
padre
commit
791fbf9729
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      src/views/pre-book/addPreBookDrawer.vue

+ 4 - 2
src/views/pre-book/addPreBookDrawer.vue

@@ -330,7 +330,8 @@ export default {
           key: 'containerCode',
           width: 120,
           type:JVXETypes.inputNumber,
-          className: 'replacecolor'
+          className: 'replacecolor',
+           validateRules:[{ required: true, message: '${title}不能为空' }],
         },
 
         {
@@ -338,7 +339,8 @@ export default {
           key: 'containerNumber',
           width: 120,
           type:JVXETypes.inputNumber,
-          className: 'replacecolor'
+          className: 'replacecolor',
+          validateRules:[{ required: true, message: '${title}不能为空' }],
         },
         {
           title: '单价',