ソースを参照

增加规格型号字段

cz 1 年間 前
コミット
8258ff9691

+ 1 - 1
src/components/WDLY/process/SendPurchaseWDLY.vue

@@ -128,7 +128,7 @@
           />
           <el-table-column prop="productCustomCode" label="物品编码" />
           <el-table-column prop="productName" label="物品名称" />
-          <!-- <el-table-column prop="productSpec" label="规格型号" /> -->
+          <el-table-column prop="productSpec" label="规格型号" />
           <el-table-column
             prop="productUnit"
             label="单位"

+ 2 - 0
src/views/WDLY/basic/product/index.vue

@@ -109,6 +109,7 @@
               >
                 <el-table-column prop="code" label="产品编码" />
                 <el-table-column prop="name" label="产品名称" />
+                <el-table-column prop="spec" label="规格型号" />
                 <el-table-column
                   prop="linkQuantity"
                   label="组合数量"
@@ -1086,6 +1087,7 @@ const handleSelect = (row) => {
     linkQuantity: "",
     name: row.name,
     code: row.code,
+    spec: row.spec,
   };
   formData.data.productCombinationList.push(product);
   return ElMessage({

+ 4 - 2
src/views/WDLY/basic/spu/index.vue

@@ -49,8 +49,9 @@
               添加产品
             </el-button>
             <el-table :data="formData.data.productInfos">
-              <el-table-column prop="code" label="产品编码" min-width="150" />
-              <el-table-column prop="name" label="产品名称" min-width="150" />
+              <el-table-column prop="code" label="产品编码" />
+              <el-table-column prop="name" label="产品名称" />
+              <el-table-column prop="spec" label="规格型号" />
               <el-table-column prop="zip" label="操作" width="100">
                 <template #default="{ $index }">
                   <el-button type="primary" link @click="handleRemove($index)"
@@ -334,6 +335,7 @@ const handleSelect = (row) => {
   formData.data.productInfos.push({
     name: row.name,
     code: row.customCode,
+    spec: row.spec,
     id: row.id,
   });
   return ElMessage({

+ 1 - 0
src/views/WDLY/outInBound/waitInBound/index.vue

@@ -53,6 +53,7 @@
             <el-table :data="formData.data.stockWaitDetailsList">
               <el-table-column prop="productCustomCode" label="物品编码" />
               <el-table-column prop="productName" label="物品名称" />
+              <el-table-column prop="productSpec" label="规格型号" />
               <el-table-column
                 prop="purchaseQuantity"
                 label="采购数量"

+ 1 - 5
src/views/WDLY/outInBound/waitOutBound/index.vue

@@ -87,11 +87,7 @@
             <el-table :data="formData.data.jdOrderDetailsList">
               <el-table-column prop="productCustomCode" label="物品编码" />
               <el-table-column prop="productName" label="物品名称" />
-              <!-- <el-table-column
-                prop="productSpec"
-                label="规格型号"
-                v-if="submitType == 5"
-              /> -->
+              <el-table-column prop="productSpec" label="规格型号" />
               <el-table-column prop="waitQuantity" label="应出库" />
               <el-table-column
                 prop="receiptQuantity"

+ 1 - 0
src/views/WDLY/purchaseManage/alreadyPurchase/index.vue

@@ -224,6 +224,7 @@
             <el-table :data="formData.dataOne.purchaseDetailVoList">
               <el-table-column prop="productCustomCode" label="物品编码" />
               <el-table-column prop="productName" label="物品名称" />
+              <el-table-column prop="productSpec" label="规格型号" />
               <el-table-column prop="count" label="采购数量" />
               <el-table-column prop="deliverGoodsQuantity" label="已发货">
                 <template #default="{ row }">

+ 6 - 0
src/views/WDLY/purchaseManage/subscribe/index.vue

@@ -145,6 +145,12 @@ const config = computed(() => {
     },
     {
       attrs: {
+        label: "规格型号",
+        prop: "productSpec",
+      },
+    },
+    {
+      attrs: {
         label: "单位",
         prop: "productUnit",
         width: 60,