spring
2 天以前 6ce0d7be73f491fcda424ac815006a82e0d871c4
fix: 添加规格型号搜索
已修改3个文件
14 ■■■■■ 文件已修改
src/views/basicData/product/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/consumablesLogistics/stockManagement/Qualified.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/inventoryManagement/stockManagement/Qualified.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/basicData/product/index.vue
@@ -280,7 +280,7 @@
/** 单位下拉:耗材分支含件、个数且可手动新增;其他分支仅吨、公斤 */
const unitSelectOptions = computed(() => {
  if (isConsumablesBranch.value) {
    return ["吨", "公斤", "件", "个数"];
    return ["吨", "公斤", "件", "个数",'桶'];
  }
  return ["吨", "公斤"];
});
src/views/consumablesLogistics/stockManagement/Qualified.vue
@@ -7,6 +7,11 @@
                  style="width: 240px"
                  placeholder="请输入"
                  clearable/>
        <span class="search_title ml10">规格型号:</span>
        <el-input v-model="searchForm.model"
                  style="width: 240px"
                  placeholder="请输入"
                  clearable/>
        <el-button type="primary" @click="handleQuery" style="margin-left: 10px">搜索</el-button>
      </div>
      <div>
@@ -99,6 +104,7 @@
const data = reactive({
  searchForm: {
    productName: '',
    model: '',
  }
})
const { searchForm } = toRefs(data)
src/views/inventoryManagement/stockManagement/Qualified.vue
@@ -7,6 +7,11 @@
                  style="width: 240px"
                  placeholder="请输入"
                  clearable/>
        <span class="search_title ml10">规格型号:</span>
        <el-input v-model="searchForm.model"
                  style="width: 240px"
                  placeholder="请输入"
                  clearable/>
        <el-button type="primary" @click="handleQuery" style="margin-left: 10px">搜索</el-button>
      </div>
      <div>
@@ -101,6 +106,7 @@
const data = reactive({
  searchForm: {
    productName: '',
    model: '',
  }
})
const { searchForm } = toRefs(data)