提交 775cb1d1 编写于 作者: shuang.zhou's avatar shuang.zhou

更换药品接口

上级 744ac7d2
......@@ -171,11 +171,11 @@ export const getGoodsCascadeList = (parentId, level) => {
description: " 获取商品(药品)分类",
});
};
// `store/medications/query/medicationGoodsListByPage`
export const getMedList = (data) => {
return fetch({
headers,
url: getBaseUrl(`store/medications/query/medicationGoodsListByPage`),
url: getBaseUrl(`store/medications/query/appliedMedicationGoodsListByPage`),
method: "post",
data,
description: "查询药品列表",
......
......@@ -573,15 +573,20 @@
handleSelectionChange(val){
this.selectList = val
},
handleTableArry(item){
let str = ' '
if (item.length > 0 && item[0] == '') {
str = '--'
} else {
str = item.join('/');
handleTableArry(val){
let str = ''
let newVal = []
if (val.length > 0) {
val.map(item => {
if (item !== '') {
newVal.push(item);
}
})
}
if (newVal.length > 0) {
str = newVal.join('/')
}
return str;
},
//批量上传
getBatchUpload(file) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册