Commit a51c4103 authored by 樊国敬's avatar 樊国敬

coderule

parent 2a93b79c
...@@ -1487,9 +1487,9 @@ export default { ...@@ -1487,9 +1487,9 @@ export default {
type:'类型', type:'类型',
status:'状态', status:'状态',
description:'描述', description:'描述',
levelNum:'编码分类层数', levelNum:'分类层数',
codeLength:'编码分类位数', codeLength:'分类位数',
materialCodeLength:'物料编码位数' materialCodeLength:'流水位数'
}, },
//转续列表 //转续列表
order_execute_handon:{ order_execute_handon:{
......
...@@ -21,11 +21,7 @@ ...@@ -21,11 +21,7 @@
<Dictionary code="material.code.status" v-model="entity.status"></Dictionary> <Dictionary code="material.code.status" v-model="entity.status"></Dictionary>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="24">
<FormItem :label="l('description')" prop="description">
<Input v-model="entity.description" type="textarea" :rows="2"></Input>
</FormItem>
</Col>
<Col :span="12"> <Col :span="12">
<FormItem :label="l('levelNum')" prop="levelNum"> <FormItem :label="l('levelNum')" prop="levelNum">
<InputNumber v-model="entity.levelNum" :max="10" :min="1"></InputNumber> <InputNumber v-model="entity.levelNum" :max="10" :min="1"></InputNumber>
...@@ -41,6 +37,11 @@ ...@@ -41,6 +37,11 @@
<InputNumber v-model="entity.materialCodeLength" :max="10" :min="1"></InputNumber> <InputNumber v-model="entity.materialCodeLength" :max="10" :min="1"></InputNumber>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="24">
<FormItem :label="l('description')" prop="description">
<Input v-model="entity.description" type="textarea" :rows="2"></Input>
</FormItem>
</Col>
</Row> </Row>
<FormItem> <FormItem>
<Button type="primary" @click="handleSubmit" :disabled="disabled">保存</Button> <Button type="primary" @click="handleSubmit" :disabled="disabled">保存</Button>
...@@ -66,7 +67,7 @@ export default { ...@@ -66,7 +67,7 @@ export default {
code: "", code: "",
name: "", name: "",
type: null, type: null,
status: null, status: 0,
description: "", description: "",
levelNum: null, levelNum: null,
codeLength: null, codeLength: null,
......
...@@ -11,10 +11,11 @@ ...@@ -11,10 +11,11 @@
<Filed :span="12" :name="l('status')"> <Filed :span="12" :name="l('status')">
<state code="material.code.status" :value="entity.status" type="text"></state> <state code="material.code.status" :value="entity.status" type="text"></state>
</Filed> --> </Filed> -->
<Filed :span="24" :name="l('description')">{{entity.description}}</Filed>
<Filed :span="12" :name="l('levelNum')">{{entity.levelNum}}</Filed> <Filed :span="12" :name="l('levelNum')">{{entity.levelNum}}</Filed>
<Filed :span="12" :name="l('codeLength')">{{entity.codeLength}}</Filed> <Filed :span="12" :name="l('codeLength')">{{entity.codeLength}}</Filed>
<Filed :span="12" :name="l('materialCodeLength')">{{entity.materialCodeLength}}</Filed> <Filed :span="12" :name="l('materialCodeLength')">{{entity.materialCodeLength}}</Filed>
<Filed :span="24" :name="l('description')">{{entity.description}}</Filed>
</Row> </Row>
</div> </div>
......
...@@ -21,11 +21,7 @@ ...@@ -21,11 +21,7 @@
<Dictionary code="material.code.status" v-model="entity.status"></Dictionary> <Dictionary code="material.code.status" v-model="entity.status"></Dictionary>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="24">
<FormItem :label="l('description')" prop="description">
<Input v-model="entity.description" type="textarea" :rows="2"></Input>
</FormItem>
</Col>
<Col :span="12"> <Col :span="12">
<FormItem :label="l('levelNum')" prop="levelNum"> <FormItem :label="l('levelNum')" prop="levelNum">
<InputNumber v-model="entity.levelNum" disabled :max="10" :min="1"></InputNumber> <InputNumber v-model="entity.levelNum" disabled :max="10" :min="1"></InputNumber>
...@@ -41,6 +37,11 @@ ...@@ -41,6 +37,11 @@
<InputNumber v-model="entity.materialCodeLength" disabled :max="10" :min="1"></InputNumber> <InputNumber v-model="entity.materialCodeLength" disabled :max="10" :min="1"></InputNumber>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="24">
<FormItem :label="l('description')" prop="description">
<Input v-model="entity.description" type="textarea" :rows="2"></Input>
</FormItem>
</Col>
</Row> </Row>
<FormItem> <FormItem>
<Button type="primary" @click="handleSubmit" :disabled="disabled">保存</Button> <Button type="primary" @click="handleSubmit" :disabled="disabled">保存</Button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment