|
|
|
@ -4,6 +4,10 @@ |
|
|
|
<el-form-item :label="'工厂编码'"> |
|
|
|
<el-input v-model="searchData.site" style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'客户编码'"> |
|
|
|
<span slot="label" @click="getBaseList(12)"><a >客户编码</a></span> |
|
|
|
<el-input v-model="searchData.customerId" style="width: 130px" clearable></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'生产订单号'"> |
|
|
|
<el-input v-model="searchData.orderNo" style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
@ -111,7 +115,26 @@ |
|
|
|
serialNumber: null, |
|
|
|
columnType: null, |
|
|
|
align: 'left' |
|
|
|
}, { |
|
|
|
}, |
|
|
|
{ |
|
|
|
tableId: "orderView", |
|
|
|
tableName: this.$route.meta.title, |
|
|
|
columnProp: "customerDesc", |
|
|
|
columnLabel: "客户", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
columnWidth: 80, |
|
|
|
format: null, |
|
|
|
functionId: this.$route.meta.menuId, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
serialNumber: null, |
|
|
|
columnType: null, |
|
|
|
align: 'left' |
|
|
|
}, |
|
|
|
{ |
|
|
|
tableId: "orderView", |
|
|
|
tableName: this.$route.meta.title, |
|
|
|
columnProp: "orderNo", |
|
|
|
@ -347,6 +370,7 @@ |
|
|
|
startDate:'', |
|
|
|
endDate:'', |
|
|
|
closedFlag:'Y', |
|
|
|
customerId:'', |
|
|
|
}, |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -373,6 +397,9 @@ |
|
|
|
if (val === 88) { |
|
|
|
strVal = this.searchData.resourceId |
|
|
|
} |
|
|
|
if (val === 12) { |
|
|
|
strVal = this.searchData.customerId |
|
|
|
} |
|
|
|
this.$refs.baseList.init(val, strVal) |
|
|
|
}) |
|
|
|
}, |
|
|
|
@ -389,6 +416,9 @@ |
|
|
|
if (this.tagNo === 88) { |
|
|
|
this.searchData.resourceId = val.ResourceID |
|
|
|
} |
|
|
|
if (this.tagNo === 12) { |
|
|
|
this.searchData.customerId = val.CustomerID |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
search () { |
|
|
|
|