quwangxin 2 سال پیش
والد
کامیت
349985c6d1

+ 3 - 0
src/components/CreatePlan/ProductionVersion.vue

@@ -31,6 +31,9 @@
       >
       </el-table-column>
       <el-table-column label="标准产能" align="center" prop="model">
+        <template slot-scope="{ row }">
+          {{ row.capacityNum }}{{ row.capacityUnit }}/{{ row.capacityTime }}
+        </template>
       </el-table-column>
       <el-table-column label="原料库存" align="center" prop="materialInventory">
       </el-table-column>

+ 2 - 1
src/views/saleOrder/components/EquipmentDialog.vue

@@ -37,7 +37,7 @@
             ref="treeList"
           />
         </el-col>
-        <el-col :span="18" class="table_col">
+        <el-col :span="18" class="table_col" v-if="equipmentdialog">
           <ele-pro-table
             ref="equiTable"
             :columns="columns"
@@ -153,6 +153,7 @@
       },
       handleClose () {
         this.equipmentdialog = false;
+        this.code = '';
         this.$refs.equiTable.clearSelection();
       },
       reset () {

+ 8 - 9
src/views/saleOrder/index.vue

@@ -146,23 +146,22 @@
           {
             prop: 'model',
             label: '型号',
-            align: 'center',
-            showOverflowTooltip: true,
-            minWidth: 110
+            align: 'center'
+          },
+          {
+            prop: 'productSumWeight',
+            label: '合同重量',
+            align: 'center'
           },
           {
             prop: 'contractNum',
             label: '合同数量',
-            align: 'center',
-            showOverflowTooltip: true,
-            minWidth: 110
+            align: 'center'
           },
           {
             prop: 'lackNum',
             label: '欠交数量',
-            align: 'center',
-            showOverflowTooltip: true,
-            minWidth: 110
+            align: 'center'
           },
           {
             prop: 'orderLibraryType',

+ 2 - 2
vue.config.js

@@ -31,12 +31,12 @@ module.exports = {
     proxy: {
       // 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
       '/api': {
-        target: 'http://192.168.3.35:8080', // kang杨威
+        // target: 'http://192.168.3.35:8080', // kang杨威
         // target: 'http://192.168.3.38:8080', // 陈潇
         // target: 'http://192.168.3.25:8080', // 黄峥嵘
         // target: 'http://192.168.3.41:8080', // 何江鹏
         // target: 'http://192.168.3.33:8080', // 谢一平
-        // target: 'http://192.168.3.51:18086', // 测试环境
+        target: 'http://192.168.3.51:18086', // 测试环境
 
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {