Commit 0db1d7e2 authored by 李苏's avatar 李苏 💬

调整

parent e0316e06
<template>
<DefaultDialog :app='app'>
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<!-- 辅助编码-->
<el-row :gutter="20" :app="this">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label"
:prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
</el-row>
</el-form>
<div slot="reFooter" class="refooter">
<span slot="footer" class="dialog-footer">
<el-button @click="app.showDialog=false">取 消</el-button>
<el-button type="primary" @click="save()">保 存</el-button>
</span>
</div>
</DefaultDialog>
</template>
<script>
import {
editMixin
} from 'common'
import sbxx from '@/views/auxinput/sbxx'
export default {
props: {
app: {
type: Object,
default: () => {
return {}
}
}
},
mixins: [editMixin],
async mounted() {
},
data() {
return {
fileList: [],
readonly: false,
editColItemList: [{
label: '焊接缝编码',
prop: 'code',
span: 12,
type: 'input',
},
{
label: '焊接位置',
prop: 'hjwz',
span: 24,
type: 'input',
},
{
label: '母材1材质',
prop: 'mcone',
span: 24,
type: 'input',
},
{
label: '母材2材质',
prop: 'mctwo',
span: 24,
type: 'input',
},
{
label: '备注',
prop: 'bz',
span: 24,
type: 'input',
},
]
}
},
methods: {
save() {
this.$refs['form'].validate((valid) => {
if (valid) {
this.$emit('save', this.form)
}
})
}
}
}
</script>
<style scoped>
</style>
This diff is collapsed.
...@@ -36,7 +36,13 @@ ...@@ -36,7 +36,13 @@
/* 基本配置*/ /* 基本配置*/
url: 'jxgl/usbjx', url: 'jxgl/usbjx',
tableTitle: [{ tableTitle: [
{
title: "订单号(AUFNR)",
field: "aufnr",
width: 180
},
{
title: "设备名称", title: "设备名称",
field: "sbxxName", field: "sbxxName",
width: 180 width: 180
...@@ -53,9 +59,24 @@ ...@@ -53,9 +59,24 @@
fieldType: "checkbox" fieldType: "checkbox"
}, },
{ {
title: "大修编码", title: "时间(ADUHR)",
field: "dxdm", field: "aduhr",
width: 350 fieldType: 'ftDateTime',
},
{
title: "专业(ILOAN)",
field: "iloan",
width: 120
},
{
title: "工作中心(GEWRK)",
field: "gewrk",
width: 120
},
{
title: "工厂维护和客户服务(REVNR)",
field: "revnr",
width: 120
}, },
{ {
title: "备品备件使用", title: "备品备件使用",
...@@ -67,6 +88,11 @@ ...@@ -67,6 +88,11 @@
field: "sfsyhc", field: "sfsyhc",
fieldType: "checkbox" fieldType: "checkbox"
}, },
{
title: "焊接使用",
field: "sfhjsy",
fieldType: "checkbox"
},
{ {
title: "备注", title: "备注",
field: "bz", field: "bz",
......
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