ysy 2 tahun lalu
induk
melakukan
ae66387fcd

TEMPAT SAMPAH
dist.rar


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

@@ -28,6 +28,13 @@
           </el-link>
         </template>
 
+        <template v-slot:newSumOrderWeight="{ row }">
+      
+            {{ row.newSumOrderWeight }} {{ row.newWeightUnit }}
+        
+        </template>
+
+
         <template v-slot:status="{ row }">
           <span :class="{ 'ele-text-danger': row.status == 3 }">
             {{ statusFormatter(row.status) }}
@@ -224,6 +231,15 @@
             align: 'center',
             showOverflowTooltip: true
           },
+
+          {
+            prop: 'newSumOrderWeight',
+            label: '要求生产重量',
+            align: 'center',
+            showOverflowTooltip: true,
+            slot: 'newSumOrderWeight',
+          },
+
           // {
           //   prop: '',
           //   label: '已成型数量',

+ 2 - 2
src/views/saleOrder/components/create-order.vue

@@ -286,8 +286,8 @@ export default {
               categoryId: item.id,
               productCode: item.code,
               productName: item.name,
-              productUnitWeight: item.weightUnit == 'kG' ? item.netWeight / 1000 : item.netWeight,
-              weightUnit: 'g',
+              productUnitWeight:  item.netWeight,
+              weightUnit:  item.weightUnit,
               model: item.modelType,
               brandNo: item.brandNum
             };

+ 0 - 1
src/views/saleOrder/index.vue

@@ -150,7 +150,6 @@
 
           {
             prop: 'productName',
-            label: '产品名称',
             align: 'center',
             minWidth: 120
           },

+ 1 - 1
vue.config.js

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