|
|
|
@ -421,7 +421,6 @@ export default {
|
|
|
|
|
this.thirdIdColumn = false;
|
|
|
|
|
getBasicUnitMaintains(this.query)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
console.log(response)
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.erpIdColumn = response.data.BUMErpIdValue == "1" ? true : false;
|
|
|
|
|
this.thirdIdColumn = response.data.BUMThirdIdValue == "1" ? true : false;
|
|
|
|
@ -460,7 +459,9 @@ export default {
|
|
|
|
|
this.formName = "update";
|
|
|
|
|
this.spellUpdate = true;
|
|
|
|
|
this.editQuery = row;
|
|
|
|
|
|
|
|
|
|
if (this.editQuery.creditNo === null) {
|
|
|
|
|
this.editQuery.creditNo = "";
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
this.editQuery =
|
|
|
|
|
{
|
|
|
|
@ -506,7 +507,6 @@ export default {
|
|
|
|
|
this.editQuery.thirdName4 = null;
|
|
|
|
|
let data = Object.assign({}, this.editQuery);
|
|
|
|
|
|
|
|
|
|
console.log('------2------');
|
|
|
|
|
basicUnitMaintainSave(data, this.formName)
|
|
|
|
|
.then(response => {
|
|
|
|
|
this.formLoading = false;
|
|
|
|
|