9
0

2 Коммиты fd055ba982 ... ad8ea86263

Автор SHA1 Сообщение Дата
  zhouzh ad8ea86263 Merge branch 'master' of https://git.steerinfo.com/DAL-DAZHOU/icore-pass 3 лет назад
  zhouzh 68802fe38d 3.30 3 лет назад
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      src/views/sale/components/saleSelfMachine/printWarranty.vue

+ 4 - 1
src/views/sale/components/saleSelfMachine/printWarranty.vue

@@ -49,8 +49,11 @@ export default {
         )
         .then((res) => {
           console.log("res.data.data",res.data.data)
-          if(res.data.code==201){
+          console.log("res.data.code",res.data.code)  
+          if(res.data.data==-1){
             this.$message("质保书正在紧张制作中,请耐心等待!")
+          }else if(res.data.data==-2) {
+            this.$message("该车还未装货")
           }else{
             res.data.data.forEach((e) => {
               console.log(e)