فهرست منبع

待出库bug解决

cz 1 سال پیش
والد
کامیت
b2193043fc
2فایلهای تغییر یافته به همراه16 افزوده شده و 2 حذف شده
  1. 15 1
      src/views/WDLY/jd/order/index.vue
  2. 1 1
      src/views/WDLY/outInBound/waitOutBound/index.vue

+ 15 - 1
src/views/WDLY/jd/order/index.vue

@@ -23,7 +23,7 @@
             {{dictValueLabel(item.diversionType,diversionTypeData)}}
           </div>
           <div v-else>
-            <el-button type="primary" text @click="handleDiversionType(item)">分流</el-button>
+            <!-- <el-button type="primary" text @click="handleDiversionType(item)">分流</el-button> -->
           </div>
         </div>
       </template>
@@ -761,6 +761,20 @@ const config = computed(() => {
                     },
                   }
                 : {},
+              row.diversionType == null
+                ? {
+                    attrs: {
+                      label: "分流",
+                      type: "primary",
+                      text: true,
+                    },
+                    el: "button",
+                    click() {
+                      handleDiversionType(row);
+                    },
+                  }
+                : {},
+
               // row.businessStatus == 1 && row.isCanConfirm
               //   ? {
               //       attrs: {

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

@@ -999,7 +999,7 @@ const outBound = (row) => {
           ...x,
           waitQuantity: x.quantity,
           quantity: null,
-          businessDetailsId: x.id,
+          businessDetailsId: x.businessDetailsId,
           id: x.id,
         }));
         formData.data = {