前端问题修改
This commit is contained in:
parent
df2f7805e4
commit
1baf4d5e50
|
|
@ -434,20 +434,22 @@ export default {
|
||||||
handleOut(row) {//1
|
handleOut(row) {//1
|
||||||
this.reset();
|
this.reset();
|
||||||
// this.form = row;
|
// this.form = row;
|
||||||
console.log(row)
|
// console.log(row)
|
||||||
|
this.$set(this.form,'agreementId',row.agreementId)
|
||||||
this.$set(this.form,'unitId',row.unitId)
|
this.$set(this.form,'unitId',row.unitId)
|
||||||
this.$set(this.form,'typeId',row.typeId)
|
this.$set(this.form,'typeId',row.typeId)
|
||||||
this.$set(this.form,'unitName',row.unitName)
|
this.$set(this.form,'unitName',row.unitName)
|
||||||
this.$set(this.form,'typeName',row.typeName)
|
this.$set(this.form,'typeName',row.typeName)
|
||||||
this.$set(this.form,'modelName',row.modelName)
|
this.$set(this.form,'modelName',row.modelName)
|
||||||
this.$set(this.form,'zkNum',row.zkNum)
|
this.$set(this.form,'zkNum',row.zkNum)
|
||||||
console.log(this.form)
|
// console.log(this.form)
|
||||||
this.openOut = true;
|
this.openOut = true;
|
||||||
this.title = "出库";
|
this.title = "出库";
|
||||||
},
|
},
|
||||||
handleIn(row) {//2
|
handleIn(row) {//2
|
||||||
this.reset();
|
this.reset();
|
||||||
// this.nform = row;
|
// this.nform = row;
|
||||||
|
this.$set(this.form,'agreementId',row.agreementId)
|
||||||
this.$set(this.nform,'unitId',row.unitId)
|
this.$set(this.nform,'unitId',row.unitId)
|
||||||
this.$set(this.nform,'typeId',row.typeId)
|
this.$set(this.nform,'typeId',row.typeId)
|
||||||
this.$set(this.nform,'unitName',row.unitName)
|
this.$set(this.nform,'unitName',row.unitName)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue