liqianyi 2 năm trước cách đây
mục cha
commit
a759d40e52
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      src/views/modules/order/dispatch.vue

+ 3 - 3
src/views/modules/order/dispatch.vue

@@ -118,7 +118,7 @@
           width="120"
           label="操作">
           <template slot-scope="scope">
-            <el-button v-if="isAuth('order:deliver:info') && Number(scope.row.state) !== 0" type="text" size="small" @click="detailHandle(scope.row.productId)">查看</el-button>
+            <el-button v-if="isAuth('order:deliver:info') && Number(scope.row.state) !== 0" type="text" size="small" @click="detailHandle(scope.row)">查看</el-button>
             <el-button v-if="isAuth('order:deliver:send') && Number(scope.row.state) === 2" type="text" size="small" @click="sendHandle(scope.row.deliverId)">发货</el-button>
             <el-button v-if="isAuth('order:deliver:arrive') && Number(scope.row.state) === 3" type="text" size="small" @click="arriveHandle(scope.row.deliverId)">送达</el-button>
           </template>
@@ -251,10 +251,10 @@ export default {
       this.dataListSelections = val
     },
     // 详情
-    detailHandle (id) {
+    detailHandle (row) {
       this.detailVisible = true
       this.$nextTick(() => {
-        this.$refs.detail.init(id)
+        this.$refs.detail.init(row.prodProductionId)
       })
     },
     // 发货通知人设置