Compare commits
2 Commits
5fdaa89afd
...
58c5130162
| Author | SHA1 | Date | |
|---|---|---|---|
| 58c5130162 | |||
| 05bd620811 |
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user