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