|
@@ -1043,7 +1043,6 @@ export default {
|
|
|
this.form.tPackages = JSON.parse(this.form.tPackages)
|
|
|
}
|
|
|
if (response.data.tWarehouseAgreement.fWarehouseid) {
|
|
|
- // this.form.fWarehouseid = this.form.fWarehouseid.replace(/\[|]/g, "").split(",");
|
|
|
this.form.fWarehouseid = JSON.parse(this.form.fWarehouseid)
|
|
|
}
|
|
|
this.operator = this.form.createBy
|
|
@@ -1373,6 +1372,7 @@ export default {
|
|
|
/** 修改按钮操作 */
|
|
|
handleUpdate(row,num) {
|
|
|
if (num === 2){
|
|
|
+ this.notChange = false
|
|
|
getAgreement(this.idCopy).then(response => {
|
|
|
this.deptName = response.data.dept.deptName
|
|
|
this.form = response.data.tWarehouseAgreement
|
|
@@ -1411,6 +1411,9 @@ export default {
|
|
|
.replace(/\"/g, "")
|
|
|
.split(",");
|
|
|
}
|
|
|
+ if (response.data.tWarehouseAgreement.fWarehouseid) {
|
|
|
+ this.form.fWarehouseid = JSON.parse(this.form.fWarehouseid)
|
|
|
+ }
|
|
|
// this.fMblnoOptions = response.data.corps
|
|
|
this.agreementitemsList = response.data.tWarehouseAgreementitems
|
|
|
for (let item in this.agreementitemsList) {
|