|
|
@ -1,6 +1,5 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="mod-config"> |
|
|
<div class="mod-config"> |
|
|
<!-- 查询区:风格对齐 auditIndicator - rqrq --> |
|
|
|
|
|
<el-form :inline="true" label-position="top" :model="searchData"> |
|
|
<el-form :inline="true" label-position="top" :model="searchData"> |
|
|
<el-form-item label="Customer"> |
|
|
<el-form-item label="Customer"> |
|
|
<el-input v-model="searchData.customer" clearable style="width: 120px"></el-input> |
|
|
<el-input v-model="searchData.customer" clearable style="width: 120px"></el-input> |
|
|
@ -91,7 +90,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
// PO 单表查询(本地模拟数据) - rqrq |
|
|
|
|
|
|
|
|
// PO 单表查询(本地模拟数据) |
|
|
function buildMockRows () { |
|
|
function buildMockRows () { |
|
|
return [ |
|
|
return [ |
|
|
{ |
|
|
{ |
|
|
@ -1115,7 +1114,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
/** |
|
|
/** |
|
|
* 解析列对应的下拉选项:优先列上 selectOptions,其次 columnSelectOptions[selectOptionsKey] - rqrq |
|
|
|
|
|
|
|
|
* 解析列对应的下拉选项:优先列上 selectOptions,其次 columnSelectOptions[selectOptionsKey] |
|
|
*/ |
|
|
*/ |
|
|
getSelectOptionsForColumn (item) { |
|
|
getSelectOptionsForColumn (item) { |
|
|
if (item.selectOptions && item.selectOptions.length) { |
|
|
if (item.selectOptions && item.selectOptions.length) { |
|
|
@ -1173,7 +1172,7 @@ export default { |
|
|
}) |
|
|
}) |
|
|
this.$message({ |
|
|
this.$message({ |
|
|
message: changed.length |
|
|
message: changed.length |
|
|
? `已提交 ${changed.length} 行变更(前端模拟,后续可只提交 changeFlag=1 的行给后端)` |
|
|
|
|
|
|
|
|
? `已提交 ${changed.length} 行变更` |
|
|
: '无变更行', |
|
|
: '无变更行', |
|
|
type: 'success', |
|
|
type: 'success', |
|
|
duration: 2000 |
|
|
duration: 2000 |
|
|
|