接口url变更对应对应修正 ,采购入库画面提交 up by dh

This commit is contained in:
duhe
2025-03-18 18:10:32 +08:00
parent f4f7ca21fe
commit d8f16b1b51
13 changed files with 2335 additions and 571 deletions

View File

@@ -17,7 +17,6 @@
<el-input
v-model="form.name"
placeholder=""
@input="generateCodes"
/>
</el-form-item>
</el-col>
@@ -55,7 +54,6 @@
<el-input
v-model="form.name"
placeholder=""
@input="generateCodes"
/>
</el-form-item>
</el-col>
@@ -650,7 +648,6 @@
// getDiseaseCategory,
// getDiseaseOne,
// } from "./components/medicine";
import pinyin from "pinyin"; // 需要安装 pinyin 库
const router = useRouter();
const { proxy } = getCurrentInstance();
@@ -700,14 +697,6 @@ const data = reactive({
},
});
// 生成拼音码和五笔码
const generateCodes = () => {
form.value.pyStr = pinyin(form.value.name, {
style: pinyin.STYLE_FIRST_LETTER,
}).join(""); // 生成拼音首字母
console.log(form.value.pyStr, "form.pyStr", form.value.name);
// form.wbStr = wubi(form.name).join(''); // 如果有五笔库,可以生成五笔码
};
const { queryParams, form, antibioticForm, rules } = toRefs(data);
const props = defineProps({