chenrui 4 anni fa
parent
commit
0a165c7dd2

+ 2 - 2
src/views/allocationManagement/chainTransferIn/edit.vue

@@ -114,7 +114,7 @@ import { STable, VSelect } from '@/components'
 import { getOperationalPrecision } from '@/libs/tools.js'
 import { getOperationalPrecision } from '@/libs/tools.js'
 import { dealerProductTypeList } from '@/api/dealerProductType'
 import { dealerProductTypeList } from '@/api/dealerProductType'
 import { warehouseCascadeList } from '@/api/warehouse'
 import { warehouseCascadeList } from '@/api/warehouse'
-import { allocLinkagePutDetailSn, allocLinkagePutDetailList, allocLinkagePutDetailCount, allocLinkagePutDetailUpdate, allocLinkagePutAudit, allocLinkagePutDetailPrint } from '@/api/allocLinkagePut'
+import { allocLinkagePutDetailSn, allocLinkagePutDetailList, allocLinkagePutDetailCount, allocLinkagePutDetailUpdate, allocLinkagePutSubmit, allocLinkagePutDetailPrint } from '@/api/allocLinkagePut'
 export default {
 export default {
   components: { STable, VSelect },
   components: { STable, VSelect },
   data () {
   data () {
@@ -181,7 +181,7 @@ export default {
     },
     },
     //  提交
     //  提交
     handleSubmit () {
     handleSubmit () {
-      allocLinkagePutAudit({ sn: this.$route.params.sn }).then(res => {
+      allocLinkagePutSubmit({ sn: this.$route.params.sn }).then(res => {
         if (res.status == 200) {
         if (res.status == 200) {
           this.$message.success(res.message)
           this.$message.success(res.message)
           this.handleBack()
           this.handleBack()