chris 3 năm trước cách đây
mục cha
commit
d22c2af745
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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"