diff --git a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue index 458fd1c1..1c3f7d07 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue @@ -4599,13 +4599,14 @@ if($useStore.getters && $useStore.getters.permission){ } let temp = {}; temp= this.LessThantruckloadListData.every(item=>item.signingStatusName == '未签收') - if(temp){ + if(!temp){ ElMessage({ message: `要都满足条件为‘未签收’才可以批量签收`, type: 'warning', }); return; } + console.log(temp,'temp'); this.$confirm('是否进行批量签收?') .then(() => { this.loading = true; //开启加载 diff --git a/vite.config.js b/vite.config.js index 16f03886..f2375925 100644 --- a/vite.config.js +++ b/vite.config.js @@ -39,11 +39,10 @@ export default ({ mode, command }) => { changeOrigin: true, rewrite: path => path.replace(/^\/api/, ''), }, - '/imgapi': { + '/imgapi': { target: 'http://127.0.0.1:38088', changeOrigin: true, rewrite: path => path.replace(/^\/imgapi/, ''), - logLevel: 'debug', // 启用详细日志 }, }, },