diff --git a/src/api/shopOrder/soroutingAvailableResource.js b/src/api/shopOrder/soroutingAvailableResource.js
index 108e1e1..ff9de61 100644
--- a/src/api/shopOrder/soroutingAvailableResource.js
+++ b/src/api/shopOrder/soroutingAvailableResource.js
@@ -6,3 +6,6 @@ export const getSORoutingAvailableResource = data => createAPI(`/shoporder/sorou
// 修改生产订单工序可用机台
export const updateSORoutingAvailableResource = data => createAPI(`/shoporder/soroutingAvailableResource/updateSORoutingAvailableResource`,'post',data)
+
+// 批量更新工艺路线(生产总数、总卷数、每卷总数、备注)
+export const batchUpdateSORouting = data => createAPI(`/shoporder/sorouting/batchUpdateSORouting`,'post',data)
\ No newline at end of file
diff --git a/src/views/modules/qc/inboundNotification.vue b/src/views/modules/qc/inboundNotification.vue
index 891f505..7055468 100644
--- a/src/views/modules/qc/inboundNotification.vue
+++ b/src/views/modules/qc/inboundNotification.vue
@@ -180,6 +180,7 @@
删除
批量编辑
批量保存
+ 取消编辑
删除
批量编辑
批量保存
+ 取消编辑
+ 批量编辑
+ 批量保存
+ 取消编辑
- {{ scope.row[item.columnProp] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row[item.columnProp] }}
@@ -432,7 +448,7 @@
导出
-
+
主菜单
@@ -444,7 +460,7 @@
({
+ site: this.$store.state.user.site,
+ orderNo: this.modelData.orderNo,
+ itemNo: item.itemNo,
+ productionQty: item.productionQty || 0,
+ totalRollQty: item.totalRollQty || 0,
+ totalPerVolume: item.totalPerVolume || 0,
+ remark: item.remark || ''
+ }))
+ this.routingBatchSaveLoading = true
+ batchUpdateSORouting(params).then(({data}) => {
+ if (data && data.code === 0) {
+ this.$message.success('保存成功')
+ this.routingEditBatchVisible = false
+ this.getShopOrderDetail()
+ } else {
+ this.$message.error(data.msg || '保存失败')
+ }
+ }).finally(() => {
+ this.routingBatchSaveLoading = false
+ })
+ },
// 工艺路线管理
getRouting() {
if (!this.modelData.orderNo) {
@@ -3205,7 +3315,12 @@ export default {
/deep/ .customer-tab .el-tabs__content {
padding: 3px !important;
+}
+/* 工艺路线表格行高样式,确保批量编辑时input框显示完全 */
+.el-table /deep/ .cell {
+ height: auto;
+ line-height: 1.5;
}
/deep/ .customer-tab .el-tabs__item {