diff --git a/src/application/mk/index.js b/src/application/mk/index.js
index 0cad340..c4e0cc3 100644
--- a/src/application/mk/index.js
+++ b/src/application/mk/index.js
@@ -125,7 +125,7 @@ VXETable.formats.mixin({
return `
`;
},
formatEnum({ cellValue,column }) { // 格式化状态
- if (!cellValue) return '';
+ if (cellValue == null) return '';
if(!column.params) return '';
for(let i =0;i {
this.deletedDetailsData2 = [];
- this.detailsData2 = a.data.ProductionOrderProcesses || [];
+ this.detailsData2 = JSON.parse(JSON.stringify(a.data.ProductionOrderProcesses || []));
this.showProcesses = true;
this.detailsDataInit2();
@@ -1007,14 +1007,16 @@ export default {
var postdata = {
insertList: [],
updateList: [],
- deleteList: this.deletedDetailsData
+ deleteList: this.deletedDetailsData2
};
ds.forEach(item => {
delete item._X_ROW_KEY;
item.production_order_id = this.getDataId_BigInt();
- item.materials_id = this.$mk.toBigInt(this.currentRow.materials_id);
+ item.materials_id = this.$mk.toBigInt(this.currentRow.materials_id);
+ item.step_id = this.$mk.toBigInt(item.step_id);
+
if (item.id) {
item.id = this.$mk.toBigInt(item.id);