Commit c7e1fea9 authored by kangzhenfei's avatar kangzhenfei

Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product

parents 9d2396ef a51c4103
...@@ -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>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div>工单编号: 12001011</div> <div>工单编号: 12001011</div>
</div>--> </div>-->
<component :is="detail" :gdid="gdId" :row="row" /> <component :is="detail" :gdid="gdId" :row="row" />
<a class="gd_list" @click="orderlistMode = true">工单列表</a> <a class="gd_list" @click="changeFresh">工单列表</a>
<a class="gn_area" @click="functionalMode = true">功能区</a> <a class="gn_area" @click="functionalMode = true">功能区</a>
<!-- 工单列表 --> <!-- 工单列表 -->
<Drawer <Drawer
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
></Dictionary> ></Dictionary>
</div> </div>
<div class="select_t" style="height:40px"> <div class="select_t" style="height:40px">
<Button @click="changeFresh" class="fl" shape="circle" icon="md-refresh">刷新</Button>
<Button @click="changeAsc" class="fr" shape="circle" icon="md-calendar">{{ascTitle}}</Button> <Button @click="changeAsc" class="fr" shape="circle" icon="md-calendar">{{ascTitle}}</Button>
</div> </div>
</div> </div>
...@@ -73,8 +72,8 @@ export default { ...@@ -73,8 +72,8 @@ export default {
inputId: null, inputId: null,
asc: true, asc: true,
ascTitle: "时间正序排序", ascTitle: "时间正序排序",
statu:-9, statu: -9,
refresh:true, refresh: true
}; };
}, },
created() { created() {
...@@ -101,8 +100,8 @@ export default { ...@@ -101,8 +100,8 @@ export default {
if (value == null || typeof value == "undefined") { if (value == null || typeof value == "undefined") {
value = -9; value = -9;
} }
this.statu=value this.statu = value;
// this.$refs.orderlistref.loadTree(value); // this.$refs.orderlistref.loadTree(value);
}, },
changeTitle(number, type) { changeTitle(number, type) {
this.orderTitle = type; this.orderTitle = type;
...@@ -152,9 +151,9 @@ export default { ...@@ -152,9 +151,9 @@ export default {
} }
}, },
//刷新orderlist列表 //刷新orderlist列表
changeFresh() changeFresh() {
{ this.refresh = !this.refresh;
this.refresh=!this.refresh this.orderlistMode = true;
} }
}, },
watch: { watch: {
......
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