|
|
@ -32,6 +32,9 @@ |
|
|
<el-form-item :label="'生产订单号:'"> |
|
|
<el-form-item :label="'生产订单号:'"> |
|
|
<el-input v-model="searchData.orderNo" style="width: 120px" ></el-input> |
|
|
<el-input v-model="searchData.orderNo" style="width: 120px" ></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="客户名称"> |
|
|
|
|
|
<el-input v-model="searchData.customerName" style="width: 120px"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
<el-form-item :label="''" style="margin-left: -5px;"> |
|
|
<el-form-item :label="''" style="margin-left: -5px;"> |
|
|
<el-checkbox style="margin-top: 20px;" true-label="Y" false-label="N" v-model="searchData.closedFlag">显示已关闭计划 |
|
|
<el-checkbox style="margin-top: 20px;" true-label="Y" false-label="N" v-model="searchData.closedFlag">显示已关闭计划 |
|
|
</el-checkbox> |
|
|
</el-checkbox> |
|
|
@ -383,6 +386,24 @@ |
|
|
status: true, |
|
|
status: true, |
|
|
fixed: false |
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: 5302, |
|
|
|
|
|
serialNumber: '5302ProduceCustomerName', |
|
|
|
|
|
tableId: "5302Produce", |
|
|
|
|
|
tableName: "待生产工单", |
|
|
|
|
|
columnProp: "customerName", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "客户名称", |
|
|
|
|
|
columnWidth: 180, |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
userId: this.$store.state.user.name, |
|
|
userId: this.$store.state.user.name, |
|
|
functionId: 5302, |
|
|
functionId: 5302, |
|
|
@ -788,6 +809,7 @@ |
|
|
date2:'', |
|
|
date2:'', |
|
|
orderNo:'', |
|
|
orderNo:'', |
|
|
closedFlag:'', |
|
|
closedFlag:'', |
|
|
|
|
|
customerName:'', |
|
|
}, |
|
|
}, |
|
|
rowData:'', |
|
|
rowData:'', |
|
|
} |
|
|
} |
|
|
@ -905,11 +927,20 @@ |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
routingRowClassName2 ({row, rowIndex}) { |
|
|
routingRowClassName2 ({row, rowIndex}) { |
|
|
|
|
|
|
|
|
|
|
|
let date = new Date() |
|
|
|
|
|
let planDate = new Date(row.planFinishTime.replace('-', '/')) |
|
|
//判断当前行颜色参数 |
|
|
//判断当前行颜色参数 |
|
|
if (row.printFlag == "Y") { |
|
|
|
|
|
return 'customer-row-2'; |
|
|
|
|
|
|
|
|
if (row.closedFlag == 'Y' && row.qtyReported >= row.qtyRequired) { |
|
|
|
|
|
return 'customer-row-1' |
|
|
|
|
|
} else if (row.closedFlag == 'Y' && row.qtyReported < row.qtyRequired) { |
|
|
|
|
|
return 'customer-row-2' |
|
|
|
|
|
} else if (planDate < date) { |
|
|
|
|
|
return 'customer-row-3' |
|
|
} |
|
|
} |
|
|
|
|
|
//判断当前行颜色参数 |
|
|
|
|
|
// if (row.printFlag == "Y") { |
|
|
|
|
|
// return 'customer-row-2'; |
|
|
|
|
|
// } |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|