linwenxin преди 5 месеца
родител
ревизия
c53ba0afc7
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      src/packageMaterial/pages/sale/product.vue

+ 3 - 2
src/packageMaterial/pages/sale/product.vue

@@ -28,7 +28,7 @@
       <view class="right-list">
         <scroll-view scroll-y style="height: 100%">
           <view class="item" v-for="(item, index) in rightList" :key="index">
-            <view class="name">{{ item.goodsName }}</view>
+            <view class="name">{{ item.goodsName }}-{{ item.specification }}</view>
             <view class="text">代码:{{ item.goodsCode }}</view>
             <view class="bottom">
               <view class="price"
@@ -264,7 +264,8 @@ export default {
                   goodsCode: item.normCode,
                   goodsUnit: item.unit,
                   goodsAmount: item.normAmount,
-                  num: 0
+                  num: 0,
+                  specification: item.specification
                 }
               : {
                   goodsId: item.goodsId,