Compare commits
2 Commits
5fdaa89afd
...
58c5130162
| Author | SHA1 | Date | |
|---|---|---|---|
| 58c5130162 | |||
| 05bd620811 |
@@ -832,7 +832,10 @@ export default {
|
|||||||
this.buttonLoading = true;
|
this.buttonLoading = true;
|
||||||
if (this.form.coilId) {
|
if (this.form.coilId) {
|
||||||
// 更新
|
// 更新
|
||||||
updateMaterialCoilSimple(this.form).then(_ => {
|
const { status, exclusiveStatus, dataType, ...payload} = {
|
||||||
|
...this.form,
|
||||||
|
}
|
||||||
|
updateMaterialCoilSimple(payload).then(_ => {
|
||||||
this.$modal.msgSuccess("修正成功");
|
this.$modal.msgSuccess("修正成功");
|
||||||
this.correctVisible = false;
|
this.correctVisible = false;
|
||||||
this.getMaterialCoil();
|
this.getMaterialCoil();
|
||||||
|
|||||||
@@ -812,7 +812,10 @@ export default {
|
|||||||
}
|
}
|
||||||
this.buttonLoading = true;
|
this.buttonLoading = true;
|
||||||
// 更新钢卷信息
|
// 更新钢卷信息
|
||||||
updateMaterialCoilSimple(this.form).then(_ => {
|
const { status, exclusiveStatus, dataType, ...payload} = {
|
||||||
|
...this.form,
|
||||||
|
}
|
||||||
|
updateMaterialCoilSimple(payload).then(_ => {
|
||||||
this.$modal.msgSuccess("修正成功");
|
this.$modal.msgSuccess("修正成功");
|
||||||
this.correctVisible = false;
|
this.correctVisible = false;
|
||||||
this.getMaterialCoil();
|
this.getMaterialCoil();
|
||||||
|
|||||||
@@ -2061,7 +2061,10 @@ export default {
|
|||||||
if (valid) {
|
if (valid) {
|
||||||
this.buttonLoading = true;
|
this.buttonLoading = true;
|
||||||
if (this.form.coilId != null) {
|
if (this.form.coilId != null) {
|
||||||
updateMaterialCoilSimple(this.form).then(_ => {
|
const { status, exclusiveStatus, dataType, ...payload} = {
|
||||||
|
...this.form,
|
||||||
|
}
|
||||||
|
updateMaterialCoilSimple(payload).then(_ => {
|
||||||
this.$modal.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
|
|||||||
Reference in New Issue
Block a user