生产工艺-页面调整

master
A0010407 1 year ago
parent 8d6837b06f
commit f04a9e3767

@ -99,7 +99,7 @@
<el-table v-loading="loading" :data="prorouteList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="prorouteList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="工艺路线编号" align="center" prop="routeCode" > <el-table-column label="工艺路线编号" align="center" prop="routeCode" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
type="text" type="text"
@ -108,14 +108,14 @@
>{{scope.row.routeCode}}</el-button> >{{scope.row.routeCode}}</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="工艺路线名称" align="center" prop="routeName" /> <el-table-column label="工艺路线名称" align="center" prop="routeName" width="250"/>
<el-table-column label="工艺路线说明" align="center" prop="routeDesc" /> <el-table-column label="工艺路线说明" align="center" prop="routeDesc" width="250"/>
<el-table-column label="工艺路线版本" align="center" prop="routeVersion" /> <el-table-column label="工艺路线版本" align="center" prop="routeVersion" width="100"/>
<el-table-column label="人工" align="center" prop="tecMan" /> <el-table-column label="人工" align="center" prop="tecMan" />
<el-table-column label="机器" align="center" prop="tecMachine" /> <el-table-column label="机器" align="center" prop="tecMachine" />
<el-table-column label="折旧" align="center" prop="tecDepreciation" /> <el-table-column label="折旧" align="center" prop="tecDepreciation" />
<el-table-column label="其他" align="center" prop="tecOther" /> <el-table-column label="其他" align="center" prop="tecOther" />
<el-table-column label="是否需要首检" align="center" prop="needCheck"> <el-table-column label="是否需要首检" align="center" prop="needCheck" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.sys_yes_no" :value="scope.row.needCheck"/> <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.needCheck"/>
</template> </template>
@ -176,7 +176,14 @@
<el-input v-model="form.routeName" placeholder="请输入工艺路线名称" /> <el-input v-model="form.routeName" placeholder="请输入工艺路线名称" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="8">
<el-form-item label="版本" prop="routeVersion">
<el-input v-model="form.routeVersion" :disabled="true"/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="8">
<el-form-item label="是否启用" prop="enableFlag"> <el-form-item label="是否启用" prop="enableFlag">
<el-radio-group v-model="form.enableFlag" disabled v-if="optType=='view'"> <el-radio-group v-model="form.enableFlag" disabled v-if="optType=='view'">
<el-radio <el-radio
@ -194,14 +201,7 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
<el-row>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="版本" prop="routeVersion">
<el-input v-model="form.routeVersion" :disabled="true"/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="需要首检" prop="needCheck"> <el-form-item label="需要首检" prop="needCheck">
<el-radio-group v-model="form.needCheck" disabled v-if="optType=='view'"> <el-radio-group v-model="form.needCheck" disabled v-if="optType=='view'">
<el-radio <el-radio
@ -219,26 +219,24 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> <el-col :span="8">
<el-row>
<el-col :span="12">
<el-form-item label="人员" prop="tecMan"> <el-form-item label="人员" prop="tecMan">
<el-input v-model="form.tecMan" placeholder="请输入人员信息" /> <el-input v-model="form.tecMan" placeholder="请输入人员信息" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> </el-row>
<el-row>
<el-col :span="8">
<el-form-item label="机器" prop="tecMachine"> <el-form-item label="机器" prop="tecMachine">
<el-input v-model="form.tecMachine" placeholder="请输入机器信息" /> <el-input v-model="form.tecMachine" placeholder="请输入机器信息" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> <el-col :span="8">
<el-row>
<el-col :span="12">
<el-form-item label="折旧" prop="tecDepreciation"> <el-form-item label="折旧" prop="tecDepreciation">
<el-input v-model="form.tecDepreciation" placeholder="请输入折旧信息" /> <el-input v-model="form.tecDepreciation" placeholder="请输入折旧信息" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="8">
<el-form-item label="其他" prop="tecOther"> <el-form-item label="其他" prop="tecOther">
<el-input v-model="form.tecOther" placeholder="请输入其他信息" /> <el-input v-model="form.tecOther" placeholder="请输入其他信息" />
</el-form-item> </el-form-item>

Loading…
Cancel
Save