|
@@ -66,8 +66,14 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="type" label="类型">
|
|
<el-table-column prop="type" label="类型">
|
|
- <template slot-scope="scope">
|
|
|
|
|
|
+ <!-- <template slot-scope="scope">
|
|
<el-input v-model="scope.row.type" placeholder="类型"></el-input>
|
|
<el-input v-model="scope.row.type" placeholder="类型"></el-input>
|
|
|
|
+ </template> -->
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <!-- <el-input v-model="scope.row.type" placeholder="类型"></el-input> -->
|
|
|
|
+ <el-select v-model="scope.row.type" placeholder="请选择">
|
|
|
|
+ <el-option v-for="item in typeList" :key="item.value" :label="item.name" :value="item.name"> </el-option>
|
|
|
|
+ </el-select>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="parts" label="配件">
|
|
<el-table-column prop="parts" label="配件">
|
|
@@ -130,6 +136,7 @@
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import breadcrumb from '@c/common/breadcrumb.vue';
|
|
import breadcrumb from '@c/common/breadcrumb.vue';
|
|
|
|
+import { type } from '@/util/type';
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
import dataForm from '@/components/frame/form.vue';
|
|
import dataForm from '@/components/frame/form.vue';
|
|
import dataTable from '@/components/frame/filter-page-table.vue';
|
|
import dataTable from '@/components/frame/filter-page-table.vue';
|
|
@@ -154,6 +161,8 @@ export default {
|
|
currentPage: 0,
|
|
currentPage: 0,
|
|
pageSize: 7,
|
|
pageSize: 7,
|
|
skip: '',
|
|
skip: '',
|
|
|
|
+ // typeList: type,
|
|
|
|
+ // typeList: [{ name: 'Km常规保养口' }, { name: '一般维修口' }, { name: '事故车口' }, { name: '洗车口' }, { name: '其他口' }],
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|