cuijian
3 天以前 ba15d76ff0ec80ee759913511158d4333f6e6c59
src/views/tms/modules/WarehouseForm.vue
@@ -24,10 +24,10 @@
            </a-form-model-item>
          </a-col>
          <a-col :span="12">
            <a-form-model-item label="叶子节点标识" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag">
              <a-radio-group :disabled="leafDisableFlag" v-model="model.leafFlag" placeholder="请选择是否叶子节点">
                <a-radio :value="'2'">有子节点</a-radio>
                <a-radio :value="'1'">是叶子节点</a-radio>
            <a-form-model-item label="是否有下级分类" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leafFlag">
              <a-radio-group :disabled="leafDisableFlag" v-model="model.leafFlag" placeholder="请选择是否有下级分类">
                <a-radio :value="'2'">是</a-radio>
                <a-radio :value="'1'">否</a-radio>
              </a-radio-group>
            </a-form-model-item>
          </a-col>
@@ -90,7 +90,7 @@
              { required: true, message: '请输入父节点编号!'},
           ],
           leafFlag: [
              { required: true, message: '请输入是否叶子节点!'},
              { required: true, message: '请输入是否有下级分类!'},
           ],
            seq: [
              { validator: (rule, value, callback) => {