From 9b52218c49caaf38fa986516eae04c0e2acda7b4 Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期四, 19 九月 2024 16:35:33 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override

---
 north-glass-erp/northglass-erp/src/views/pp/Replenish/SelectReplenish.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/pp/Replenish/SelectReplenish.vue b/north-glass-erp/northglass-erp/src/views/pp/Replenish/SelectReplenish.vue
index c8f2da9..37c2a49 100644
--- a/north-glass-erp/northglass-erp/src/views/pp/Replenish/SelectReplenish.vue
+++ b/north-glass-erp/northglass-erp/src/views/pp/Replenish/SelectReplenish.vue
@@ -314,6 +314,7 @@
 const selectOrderList = ()=>{
   request.post(`/Replenish/SelectReplenish/${pageNum.value}/${total.pageSize}/${selectDate.value}`,filterData.value).then((res) => {
     if(res.code==200){
+      console.log(res.data)
       if (res.data.total!=null){
         total.dataTotal = res.data.total.total*1
         total.pageTotal= res.data.total.pageTotal
@@ -408,7 +409,14 @@
       </template>
 
       <template #state="{ row,column}">
-        <el-checkbox @click.native.prevent  :checked="row[column.field]===1"/>
+        <el-checkbox
+            v-if="row[column.field] === 1"
+            @click.native.prevent
+            :checked="true"/>
+        <el-checkbox
+            v-else
+            @click.native.prevent
+            :checked="false"/>
       </template>
 
       <template #pager>

--
Gitblit v1.8.0