dev
This commit is contained in:
parent
366d67dab5
commit
8f3983e100
|
|
@ -216,7 +216,6 @@ const getUserInfo = () => {
|
||||||
const detail = (id: any) => {
|
const detail = (id: any) => {
|
||||||
isShow.value = true
|
isShow.value = true
|
||||||
post("inventory/apply/getApplyDetail", {id}).then((res: any) => {
|
post("inventory/apply/getApplyDetail", {id}).then((res: any) => {
|
||||||
formData.value = res.useInfo;
|
|
||||||
tableList.value = JSON.parse(res);
|
tableList.value = JSON.parse(res);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@
|
||||||
highlight-current-row @current-change="change_current_search_data_index"
|
highlight-current-row @current-change="change_current_search_data_index"
|
||||||
:row-class-name="tableRowClassName">
|
:row-class-name="tableRowClassName">
|
||||||
<el-table-column prop="name" label="名称" fixed width="180" show-overflow-tooltip/>
|
<el-table-column prop="name" label="名称" fixed width="180" show-overflow-tooltip/>
|
||||||
<el-table-column prop="json.approval_number" fixed label="国药准字" width="180" show-overflow-tooltip/>
|
<el-table-column :prop="type==1306?'json.reg_number' : 'json.approval_number'" fixed label="国药准字" width="180" v-if="type==1301 || type==1306" show-overflow-tooltip/>
|
||||||
<el-table-column prop="producer" label="生产企业" width="180" show-overflow-tooltip/>
|
<el-table-column prop="producer" label="生产企业" width="180" v-if="type==1301 || type==1306" show-overflow-tooltip/>
|
||||||
<el-table-column v-if="type==1301" prop="json.reg_specifications" label="注册规格" width="80"
|
<el-table-column v-if="type==1301" prop="json.reg_specifications" label="注册规格" width="80"
|
||||||
show-overflow-tooltip/>
|
show-overflow-tooltip/>
|
||||||
<el-table-column v-if="type==1301" prop="json.min_packaging_unit" label="包装单位" width="80"
|
<el-table-column v-if="type==1301" prop="json.min_packaging_unit" label="包装单位" width="80"
|
||||||
|
|
@ -88,6 +88,10 @@ const init = (_type: number, _name: string) => {
|
||||||
type.value = _type;
|
type.value = _type;
|
||||||
keyword.value = _name;
|
keyword.value = _name;
|
||||||
show.value = true;
|
show.value = true;
|
||||||
|
if (keyword.value && keyword.value != ""){
|
||||||
|
search_social()
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
defineExpose({init});
|
defineExpose({init});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -277,7 +277,14 @@ let confirm = async () => {
|
||||||
ElMessage.error('请至少添加一个采购药品')
|
ElMessage.error('请至少添加一个采购药品')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
//生产批号
|
||||||
|
for (let i = 0; i < table_list.value.length; i++) {
|
||||||
|
debugger
|
||||||
|
if (!table_list.value[i].productionBatchCode) {
|
||||||
|
ElMessage.error('生产批号不能为空')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
// 检查每个药品的有效期
|
// 检查每个药品的有效期
|
||||||
for (let i = 0; i < table_list.value.length; i++) {
|
for (let i = 0; i < table_list.value.length; i++) {
|
||||||
if (!checkProductionDate(table_list.value[i])) {
|
if (!checkProductionDate(table_list.value[i])) {
|
||||||
|
|
|
||||||
|
|
@ -68,10 +68,12 @@ const detailsDo = (row: any) => {
|
||||||
let data = {...row};
|
let data = {...row};
|
||||||
data.beginTime = selectDate.value[0];
|
data.beginTime = selectDate.value[0];
|
||||||
data.endTime = selectDate.value[1];
|
data.endTime = selectDate.value[1];
|
||||||
// post("social/reconciliation/detailDo", {data: data})
|
post("social/reconciliation/detailDo", {data: data}).then((res: any) => {
|
||||||
post("social/reconciliation/testDetailDo", {data: data}).then((res: any) => {
|
|
||||||
openDetailList(res)
|
openDetailList(res)
|
||||||
})
|
})
|
||||||
|
// post("social/reconciliation/testDetailDo", {data: data}).then((res: any) => {
|
||||||
|
// openDetailList(res)
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
|
|
||||||
const detailListRef = ref();
|
const detailListRef = ref();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue