3c1566a5 by weimo934

fix():办理回查数据

1 parent bcacc273
......@@ -182,7 +182,6 @@
},
save() {
jzdsingleModify(this.jzdlist).then(res => {
console.log(res)
if (res.success) {
Message.success("保存成功")
this.getData(this.bsm)
......
......@@ -247,9 +247,7 @@
})
},
save() {
console.log("保存....");
jzxsingleModify(this.jzxlist).then(res => {
console.log(res)
if (res.success) {
Message.success("保存成功")
this.getData(this.bsm)
......
......@@ -89,7 +89,6 @@
})
},
save() {
console.log(this.mjftData);
for (let val of this.mjftData.list) {
if (val.dzwdm == '') {
Message.error("定着物代码不能为空")
......@@ -98,7 +97,6 @@
}
this.mjftData['zdbsm'] = this.$store.state.zdbsm
savemjft(this.mjftData).then(res => {
console.log(res)
if (res.success) {
Message.success("保存成功")
this.getData(this.mjftData.zdbsm)
......@@ -180,8 +178,12 @@
},
mounted() {
console.log("mounted init...")
this.mjftData.zdbsm=this.$store.state.zdbsm
this.zdmj=this.$store.state.zdmj
this.tdzl=this.$store.state.zdzl
this.zddm=this.$store.state.zddm
if (this.mjftData.zdbsm) {
this.getData()
this.getData(this.mjftData.zdbsm)
}
},
watch: {
......