chris 3 سال پیش
والد
کامیت
d22c2af745
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      src/views/modules/sale/purchase.vue

+ 4 - 1
src/views/modules/sale/purchase.vue

@@ -138,9 +138,12 @@
           prop="procurementBasis"
           header-align="center"
           align="center"
-          min-width="160"
+          min-width="120"
           :show-tooltip-when-overflow="true"
           label="采购依据">
+          <template slot-scope="scope">
+            <span>{{scope.row.procurementBasis?(Number(scope.row.procurementBasis) === 1?'合同采购':'计划采购'):''}}</span>
+          </template>
         </el-table-column>
         <el-table-column
           prop="supplierName"