ysy 1 year ago
parent
commit
4f5c9b83de
3 changed files with 5 additions and 1 deletions
  1. BIN
      dist.rar
  2. 4 0
      src/views/productionPlan/index.vue
  3. 1 1
      vue.config.js

BIN
dist.rar


+ 4 - 0
src/views/productionPlan/index.vue

@@ -409,6 +409,10 @@ export default {
     },
     // 发布工单
     handleOrderPublish(type, row) {
+    if(!row.produceRoutingName) {
+         return this.$message.error('请先选择工艺路线!');
+    }
+
       this.$confirm('发布工单后不可撤回,确定发布吗?', '发布确认')
         .then(async () => {
           const loading = this.$loading({

+ 1 - 1
vue.config.js

@@ -31,7 +31,7 @@ module.exports = {
     proxy: {
       // 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
       '/api': {
-        // target: 'http://124.71.68.31:50001',
+        // target: 'http://192.168.1.210:86/',
         target: 'http://192.168.1.125:18086',
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {