Kaynağa Gözat

【修改】零售订单

莫绍宝 3 yıl önce
ebeveyn
işleme
df8012373e

+ 1 - 1
src/views/supply/retail/components/retail_detail.vue

@@ -247,7 +247,7 @@ export default {
     },
     progress() {
       if(this.detailData.totalQty == 0) return 0;
-      return (this.detailData.takeQty * 100) / (this.detailData.totalQty * 100);
+      return (this.detailData.hasSendQty * 100) / (this.detailData.totalQty * 100);
     }
   },
 

+ 1 - 1
src/views/supply/retail/retail_list.vue

@@ -80,7 +80,7 @@
           <el-table v-loading="listLoading" :data="dataList" element-loading-text="Loading" border fit highlight-current-row stripe>
             <el-table-column align="center" label="提货进度" min-width="120" show-overflow-tooltip>
               <template slot-scope="scope">
-                <el-progress :text-inside="true" :stroke-width="26" :percentage="((scope.row.takeQty * 100) / (scope.row.totalQty * 100)) || 0"></el-progress>
+                <el-progress :text-inside="true" :stroke-width="26" :percentage="((scope.row.hasSendQty * 100) / (scope.row.totalQty * 100)) || 0"></el-progress>
               </template>
             </el-table-column>
             <el-table-column align="center" label="审核状态" prop="examineStatus" min-width="100" show-overflow-tooltip>