spring
昨天 a1274d448fa9fd59da39d94f5d91e54780fc8de1
src/views/basicData/product/index.vue
@@ -158,9 +158,9 @@
                placeholder="请选择单位"
                clearable
                style="width: 100%"
                :filterable="isConsumablesBranch"
                :allow-create="isConsumablesBranch"
                :default-first-option="isConsumablesBranch"
                filterable
                allow-create
                default-first-option
              >
                <el-option
                  v-for="u in unitSelectOptions"
@@ -280,9 +280,9 @@
/** 单位下拉:耗材分支含件、个数且可手动新增;其他分支仅吨、公斤 */
const unitSelectOptions = computed(() => {
  if (isConsumablesBranch.value) {
    return ["吨", "公斤", "件", "个数"];
    return ["吨", "公斤", "件", "个数",'桶'];
  }
  return ["吨", "公斤"];
  return ["吨", "公斤",'块','方','箱','袋','瓶','桶','盒','包','件','个数'];
});
// 查询产品树