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

更换药品接口

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