diff --git a/src/api/yh/reportProd.js b/src/api/yh/reportProd.js index fead3d9..261e0d3 100644 --- a/src/api/yh/reportProd.js +++ b/src/api/yh/reportProd.js @@ -42,3 +42,13 @@ export function delReportProd(id) { method: 'delete' }) } + +// 刷新单价匹配报表产量 +export function refreshPriceMatchReportProd(ids) { + return request({ + url: '/yh/reportProd/priceMatch', + method: 'put', + data: ids + }) +} + diff --git a/src/components/Business/Price/PriceSelect.vue b/src/components/Business/Price/PriceSelect.vue index 105835d..19103a9 100644 --- a/src/components/Business/Price/PriceSelect.vue +++ b/src/components/Business/Price/PriceSelect.vue @@ -20,11 +20,11 @@ > {{ item.name | dv}} ({{ item.price | dv }}元) - + {{ item.code | dv}} - +
共{{ total }}条数据
@@ -35,7 +35,6 @@ import { listPrice } from '@/api/yh/price' export default { name: 'PriceSelect', - dicts: ['price_status'], props: { value: { type: String, @@ -60,6 +59,10 @@ export default { query: { type: Object, default: () => ({}), + }, + priceStatus: { + type: Array, + default: () => [], } }, data() { diff --git a/src/views/yh/report/edit-v2/components/ReportProductList.vue b/src/views/yh/report/edit-v2/components/ReportProductList.vue index bb163bf..f43e2e6 100644 --- a/src/views/yh/report/edit-v2/components/ReportProductList.vue +++ b/src/views/yh/report/edit-v2/components/ReportProductList.vue @@ -7,33 +7,40 @@ clearable size="mini" style="width: 300px;" - @keyup.enter.native="handleSearch" - @clear="handleSearch" - @input="handleSearch" + @keyup.enter.native="getList" + @clear="getList" + @change="getList" > - + +
仅看无单价:
显示图案:
自动汇总良品:
- 修改所选员工产量 - 复制所选工序 - 删除所选工序 + 批量修改员工产量 + 批量复制 + 批量删除
- + + + @@ -43,7 +50,7 @@ - + @@ -91,7 +98,7 @@ +