caojunjie hace 2 años
padre
commit
63423bbb88

+ 3 - 1
src/views/tirePartsMall/purchasingManagement/warehouseEntryOrder/detailsPage.vue

@@ -14,7 +14,6 @@
             class="el-button--small-yh"
             type="primary"
             size="small"
-            v-if="form.statusName !== '已入库'"
             @click="editCustomer">保存数据
         </el-button>
         <el-button
@@ -439,6 +438,9 @@ export default {
     },
     //修改提交触发
     editCustomer() {
+      if (this.form.shipItemsList.length == 0){
+        return this.$message.warning('请明细不能为空')
+      }
       this.$refs["form"].validate((valid, done) => {
         done();
         if (valid) {

+ 2 - 2
vue.config.js

@@ -32,9 +32,9 @@ module.exports = {
       '/api': {
         //本地服务接口地址
         // target: 'http://192.168.3.64:1080',
-        target: 'http://192.168.0.106:1080',
+        // target: 'http://192.168.0.106:1080',
         // 打包地址
-        // target: 'http://121.37.83.47:10004',//服务器ip
+        target: 'http://121.37.83.47:10004',//服务器ip
         // target: 'http://trade.tubaosoft.com:10004',//服务器域名
         ws: true,
         pathRewrite: {