|
@@ -78,17 +78,18 @@ export default {
|
|
|
return {
|
|
|
tableColums: [
|
|
|
{ type: 'selection', key: 'selection', title: '全选', fixed: 'left', width: 90, align: 'center' },
|
|
|
- { title: '订单编号', align: 'center', key: 'order_no', width: '200' },
|
|
|
- {
|
|
|
- title: '订单类型', align: 'center', key: 'order_type', width: '200',
|
|
|
- render: (h, params) => {
|
|
|
- return h('span', {}, params.row.order_type == 1 ? '工装' : '家装')
|
|
|
- }
|
|
|
- },
|
|
|
+ { title: '项目编号', align: 'center', key: 'order_no', width: '200' },
|
|
|
+ // {
|
|
|
+ // title: '订单类型', align: 'center', key: 'order_type', width: '200',
|
|
|
+ // render: (h, params) => {
|
|
|
+ // return h('span', {}, params.row.order_type == 1 ? '工装' : '家装')
|
|
|
+ // }
|
|
|
+ // },
|
|
|
// {
|
|
|
// title: '生产订单编号', align: 'center', key: 'oa_order_no', minWidth: 200,
|
|
|
// render: (h, params) => h('span', {}, params.row.oa_order_no || params.row.order_no)
|
|
|
// },
|
|
|
+ { title: '项目名称', align: 'center', key: 'residential_name', minWidth: 200 },
|
|
|
{
|
|
|
title: '生产状态', align: 'center', key: 'state', minWidth: 150,
|
|
|
render: (h, params) => h('span', {},
|
|
@@ -97,10 +98,10 @@ export default {
|
|
|
: (params.row.state >= 2 ? '计划完成' : '全部'))
|
|
|
)
|
|
|
},
|
|
|
- { title: '项目名称', align: 'center', key: 'residential_name', minWidth: 200 },
|
|
|
- { title: '地址', align: 'center', key: 'address', minWidth: 200 },
|
|
|
- { title: '客户姓名', align: 'center', key: 'client_name', minWidth: 200 },
|
|
|
- { title: '手机号', align: 'center', key: 'mobile', minWidth: 200 },
|
|
|
+
|
|
|
+ // { title: '地址', align: 'center', key: 'address', minWidth: 200 },
|
|
|
+ // { title: '客户姓名', align: 'center', key: 'client_name', minWidth: 200 },
|
|
|
+ // { title: '手机号', align: 'center', key: 'mobile', minWidth: 200 },
|
|
|
// { title: '测量人员', align: 'center', key: 'nickname', minWidth: 200 },
|
|
|
{ title: '紧急程度', align: 'center', key: 'warning_state', minWidth: 100, slot: 'basicTypeSet', },
|
|
|
{
|
|
@@ -175,21 +176,21 @@ export default {
|
|
|
},
|
|
|
set_list () {
|
|
|
return [
|
|
|
- { title: '订单编号', name: 'Input', serverName: 'order_no', placeholder: '请输入订单编号', value: '' },
|
|
|
+ { title: '项目编号', name: 'Input', serverName: 'order_no', placeholder: '请输入订单编号', value: '' },
|
|
|
{ title: '项目名称', name: 'Input', serverName: 'residential_name', placeholder: '请输入项目名称', value: '' },
|
|
|
- {
|
|
|
- title: '订单类型', name: 'Select', serverName: 'order_type', placeholder: '请选择', value: '',
|
|
|
- option: [
|
|
|
- { label: '工装', value: 1 },
|
|
|
- { label: '家装', value: 0 }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- title: '测量人员', name: 'Select', serverName: 'type', optionName: 'nickname', optionValue: 'id', placeholder: '请选择', value: '',
|
|
|
- option: this.userList
|
|
|
- },
|
|
|
- { title: '客户名字', name: 'Input', serverName: 'client_name', placeholder: '请输入', value: '' },
|
|
|
- { title: '手机号', name: 'Input', serverName: 'mobile', placeholder: '请输入', value: '' },
|
|
|
+ // {
|
|
|
+ // title: '订单类型', name: 'Select', serverName: 'order_type', placeholder: '请选择', value: '',
|
|
|
+ // option: [
|
|
|
+ // { label: '工装', value: 1 },
|
|
|
+ // { label: '家装', value: 0 }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: '测量人员', name: 'Select', serverName: 'type', optionName: 'nickname', optionValue: 'id', placeholder: '请选择', value: '',
|
|
|
+ // option: this.userList
|
|
|
+ // },
|
|
|
+ // { title: '客户名字', name: 'Input', serverName: 'client_name', placeholder: '请输入', value: '' },
|
|
|
+ // { title: '手机号', name: 'Input', serverName: 'mobile', placeholder: '请输入', value: '' },
|
|
|
{ title: '紧急程度', name: 'Select', serverName: 'warning_state', placeholder: '请选择', value: '', optionName: 'title', optionValue: 'id', option: this.warningList },
|
|
|
{
|
|
|
title: '生产状态', name: 'Select', placeholder: '请选择', serverName: 'state', value: '',
|