diff --git a/project/xumu/AppDeathManage/add.vue b/project/xumu/AppDeathManage/add.vue index db585f37..868dc821 100644 --- a/project/xumu/AppDeathManage/add.vue +++ b/project/xumu/AppDeathManage/add.vue @@ -89,7 +89,7 @@ export default {
- + diff --git a/project/xumu/AppOutManage/add.vue b/project/xumu/AppOutManage/add.vue index 8b8b6b63..2d0bcb9d 100644 --- a/project/xumu/AppOutManage/add.vue +++ b/project/xumu/AppOutManage/add.vue @@ -56,7 +56,7 @@ export default { this.$refs.detail.validate().then(() => { const {biochipEarNumber, id, outTime, heightPic, biochipPic, preventionPic, otherPic, reason, remarks} = this.detail this.instance.post("/api/breed/out/addOrEdit", { - biochipEarNumber, id, deathTime, picture: JSON.stringify({heightPic, biochipPic, preventionPic, otherPic}), reason, remarks + biochipEarNumber, id, outTime, picture: JSON.stringify({heightPic, biochipPic, preventionPic, otherPic}), reason, remarks }).then(res => { if (res?.code == 0 && res?.data != 1) { this.$confirm("是否返回列表页?", "提交成功").then(() => this.back()).catch(() => this.getDetail(biochipEarNumber)) @@ -91,7 +91,7 @@ export default {
- + diff --git a/project/xumu/components/AiEartagRemote.vue b/project/xumu/components/AiEartagRemote.vue index f26d2d0e..d6d2cfb3 100644 --- a/project/xumu/components/AiEartagRemote.vue +++ b/project/xumu/components/AiEartagRemote.vue @@ -14,7 +14,7 @@ export default { methods: { getText(biochipEarNumber) { this.info = {} - return this.instance.post("/api/breed/earTag/page", {params: {biochipEarNumber, pageSize: 10, pageNum: 1}}).then(res => { + return this.instance.post("/api/breed/earTag/page", {biochipEarNumber, pageSize: 10, pageNum: 1}).then(res => { if (res?.data?.records) { this.info = res.data.records[0] this.$emit('enter', this.info)