diff --git a/klp-ui/src/views/wms/coil/do/correct.vue b/klp-ui/src/views/wms/coil/do/correct.vue index 9e58a044..abbd78c9 100644 --- a/klp-ui/src/views/wms/coil/do/correct.vue +++ b/klp-ui/src/views/wms/coil/do/correct.vue @@ -832,7 +832,10 @@ export default { this.buttonLoading = true; if (this.form.coilId) { // 更新 - updateMaterialCoilSimple(this.form).then(_ => { + const { status, exclusiveStatus, dataType, ...payload} = { + ...this.form, + } + updateMaterialCoilSimple(payload).then(_ => { this.$modal.msgSuccess("修正成功"); this.correctVisible = false; this.getMaterialCoil(); diff --git a/klp-ui/src/views/wms/coil/do/correntAll.vue b/klp-ui/src/views/wms/coil/do/correntAll.vue index fbcb386e..ea84f195 100644 --- a/klp-ui/src/views/wms/coil/do/correntAll.vue +++ b/klp-ui/src/views/wms/coil/do/correntAll.vue @@ -812,7 +812,10 @@ export default { } this.buttonLoading = true; // 更新钢卷信息 - updateMaterialCoilSimple(this.form).then(_ => { + const { status, exclusiveStatus, dataType, ...payload} = { + ...this.form, + } + updateMaterialCoilSimple(payload).then(_ => { this.$modal.msgSuccess("修正成功"); this.correctVisible = false; this.getMaterialCoil(); diff --git a/klp-ui/src/views/wms/coil/panels/base.vue b/klp-ui/src/views/wms/coil/panels/base.vue index 7bbd1e3b..b52ece0f 100644 --- a/klp-ui/src/views/wms/coil/panels/base.vue +++ b/klp-ui/src/views/wms/coil/panels/base.vue @@ -2061,7 +2061,10 @@ export default { if (valid) { this.buttonLoading = true; if (this.form.coilId != null) { - updateMaterialCoilSimple(this.form).then(_ => { + const { status, exclusiveStatus, dataType, ...payload} = { + ...this.form, + } + updateMaterialCoilSimple(payload).then(_ => { this.$modal.msgSuccess("修改成功"); this.open = false; this.getList();