界面修改

20240912_adapter_z
yewj 7 months ago
parent 8697a9fe3d
commit d377f0d486

@ -83,8 +83,7 @@ export function filterInvoice(params) {
}
export function orderListError(query) {+
6
export function orderListError(query) {
return axios({
url: "/udiwms/inout/order/error",
method: "get",
@ -532,7 +531,6 @@ export function deleteAllInvByCode(query) {
}
export function rollbackOrder(params) {
return axios({
url: "/udiwms/inout/order/received/rollback",

@ -167,8 +167,8 @@
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="包装单位:" prop="packUnit">
<el-input style="width: 90%" size="small" placeholder="请输入包装单位"
<el-form-item label="最小包装单位:" prop="packUnit">
<el-input style="width: 90%" size="small" placeholder="请输入最小包装单位"
v-model.trim="newProductData.packUnit"
></el-input>
</el-form-item>
@ -183,8 +183,8 @@
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="制剂单位:" prop="prepnUnit">
<el-input style="width: 90%" size="small" placeholder="请输入制剂单位"
<el-form-item label="剂型:" prop="prepnUnit">
<el-input style="width: 90%" size="small" placeholder="请输入剂型"
v-model.trim="newProductData.prepnUnit"
></el-input>
</el-form-item>
@ -316,7 +316,7 @@
<el-col :span="11" class="el-col">
<el-form-item label="药品状态:" prop="majorStatus">
<el-select v-model="newProductData.majorStatus" style="width: 90%" placeholder="选择药品状态" >
<el-select v-model="newProductData.majorStatus" style="width: 90%" placeholder="选择药品状态">
<el-option label="停用" :value="0"></el-option>
<el-option label="在用" :value="1"></el-option>
</el-select>
@ -324,36 +324,36 @@
</el-col>
</el-row>
<!--<el-row type="flex" class="edit-row">-->
<!--<el-col :span="11">-->
<!-- <el-form-item label="收费项目编码:">-->
<!-- <el-input-->
<!-- style="width: 65%"-->
<!-- size="small"-->
<!-- placeholder="选择项目收费编码"-->
<!-- v-model="newProductData.payFeeCode"-->
<!-- ></el-input>-->
<!-- <el-button type="primary" size="mini" style="margin-left: 10px" @click="selectPayFeecode">-->
<!-- </el-button>-->
<!-- </el-form-item>-->
<!--</el-col>-->
<!--<el-col :span="11">-->
<!-- <el-form-item label="是否拆零:" prop="splitEnable">-->
<!-- <el-select v-model="newProductData.splitEnable" style="width: 90%" placeholder="是否拆零" clearable>-->
<!-- <el-option label="是" :value="true"></el-option>-->
<!-- <el-option label="否" :value="false"></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!--</el-col>-->
<!--<el-col :span="11">-->
<!-- <el-form-item label="收费项目编码:">-->
<!-- <el-input-->
<!-- style="width: 65%"-->
<!-- size="small"-->
<!-- placeholder="选择项目收费编码"-->
<!-- v-model="newProductData.payFeeCode"-->
<!-- ></el-input>-->
<!-- <el-button type="primary" size="mini" style="margin-left: 10px" @click="selectPayFeecode">-->
<!-- </el-button>-->
<!-- </el-form-item>-->
<!--</el-col>-->
<!--<el-col :span="11">-->
<!-- <el-form-item label="是否拆零:" prop="splitEnable">-->
<!-- <el-select v-model="newProductData.splitEnable" style="width: 90%" placeholder="是否拆零" clearable>-->
<!-- <el-option label="是" :value="true"></el-option>-->
<!-- <el-option label="否" :value="false"></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!--</el-col>-->
<!--</el-row>-->
<!--<el-row type="flex" class="edit-row">-->
<!--<el-col :span="11">-->
<!-- <el-form-item label="是否自动赋码:" prop="autoCode">-->
<!-- <el-select v-model="newProductData.autoCode" style="width: 90%" placeholder="是否自动赋码" clearable>-->
<!-- <el-option label="是" :value="true"></el-option>-->
<!-- <el-option label="否" :value="false"></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!--</el-col>-->
<!--<el-col :span="11">-->
<!-- <el-form-item label="是否自动赋码:" prop="autoCode">-->
<!-- <el-select v-model="newProductData.autoCode" style="width: 90%" placeholder="是否自动赋码" clearable>-->
<!-- <el-option label="是" :value="true"></el-option>-->
<!-- <el-option label="否" :value="false"></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!--</el-col>-->
<!--</el-row>-->
<el-row type="flex">
<el-col :span="23" class="el-col">
@ -546,8 +546,8 @@ import {
import {
getYbHcflDetail, removeRl, thirdSysDetail
} from '@/api/basic/product/udiRelevance'
import { filterClassify } from '@/api/purchase/classifyCode'
import { filterByUuid } from '@/api/basic/product/udiInfo'
import {filterClassify} from '@/api/purchase/classifyCode'
import {filterByUuid} from '@/api/basic/product/udiInfo'
import selectChargesProjectDialog from './selectChargesProjectDialog'
import chooseHouseDrug from './chooseHouseDrug'
@ -584,7 +584,7 @@ export default {
required: true
}
},
components: { selectChargesProjectDialog, chooseHouseDrug },
components: {selectChargesProjectDialog, chooseHouseDrug},
data() {
return {
ybHcflDetail: {},
@ -621,45 +621,45 @@ export default {
activeNames: ['0', '1', '2'],
formRules: {
cpmctymc: [
{ required: true, message: '请输入药品通用名', trigger: 'blur' }
{required: true, message: '请输入药品通用名', trigger: 'blur'}
],
prepnSpec: [
{ required: true, message: '请输入制剂规格', trigger: 'blur' }
{required: true, message: '请输入制剂规格', trigger: 'blur'}
],
packUnit: [
{ required: true, message: '请输入包装单位', trigger: 'blur' }
{required: true, message: '请输入包装单位', trigger: 'blur'}
],
prepnUnit: [
{ required: true, message: '请输入制剂单位', trigger: 'blur' }
{required: true, message: '请输入制剂单位', trigger: 'blur'}
],
// packRatio: [
// {required: true, message: '', trigger: 'blur'}
// ],
packMatrial: [
{ required: true, message: '请输入包装材质', trigger: 'blur' }
{required: true, message: '请输入包装材质', trigger: 'blur'}
],
zczbhhzbapzbh: [
{ required: true, message: '请输入批准文号', trigger: 'blur' }
{required: true, message: '请输入批准文号', trigger: 'blur'}
],
manufactory: [
{ required: true, message: '生产企业不能为空', trigger: 'blur' }
{required: true, message: '生产企业不能为空', trigger: 'blur'}
],
physicType: [
{ required: true, message: '药品类型不能为空', trigger: 'blur' }
{required: true, message: '药品类型不能为空', trigger: 'blur'}
],
ybbm: [
{ required: true, message: '医保编码不能为空', trigger: 'blur' }
{required: true, message: '医保编码不能为空', trigger: 'blur'}
],
price: [
{ required: true, message: '药品价格不能为空', trigger: 'blur' }
{required: true, message: '药品价格不能为空', trigger: 'blur'}
],
majorStatus: [
{ required: true, message: '请选择药品状态', trigger: 'blur' }
{required: true, message: '请选择药品状态', trigger: 'blur'}
]
},
detailList: [
//
{ nameCode: '', packLevel: null, bhxjsl: null, isDisabled: false, isUpDisabled: true, rowDisabled: false }
{nameCode: '', packLevel: null, bhxjsl: null, isDisabled: false, isUpDisabled: true, rowDisabled: false}
],
status: false,
rowDisabled: false,
@ -718,7 +718,7 @@ export default {
},
saveNewProduct() {
if (!this.isSave){
if (!this.isSave) {
return this.$message.error("请先保存药品层级")
}
this.addProductDialogVisible = false
@ -879,7 +879,7 @@ export default {
type: 'warning'
}).then(() => {
if (row.id != null) {
let params = { nameCode: row.nameCode }
let params = {nameCode: row.nameCode}
delDrugLevel(params).then((res) => {
if (res.code === 20000) {
this.isSave = true

@ -66,7 +66,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col" v-if="formData.autoTag == 1">
<el-col :span="12" class="el-col">
<el-form-item label="独占工位库存:" prop="monopoly" class="query-form-item">
<el-select v-model="formData.monopoly" style="width: 80%" placeholder="独占工位库存"
:disabled="formData.autoTag == 0">
@ -76,7 +76,7 @@
</el-form-item>
</el-col>
<el-col :span="12" class="el-col">
<el-form-item label="常用业务类型:" prop="isPopular" class="query-form-item">
<el-form-item label="常用业务名称:" prop="isPopular" class="query-form-item">
<el-select v-model="formData.isPopular" style="width: 80%" placeholder="业务类型是否常用">
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="0"></el-option>
@ -108,35 +108,62 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col">
<el-form-item label="单据完成条件:" prop="monopoly" class="query-form-item" v-if="formData.scanType != 1">
<el-select v-model="formData.orderFinishVerify" style="width: 80%" placeholder="单据完成条件">
<el-option label="完全赋码" :value="0"></el-option>
<el-option label="部分赋码" :value="1"></el-option>
<el-option label="赋码超出" :value="2"></el-option>
</el-select>
</el-form-item>
</el-col>
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="单据完成条件:" prop="monopoly" class="query-form-item">-->
<!-- <el-select v-model="formData.orderFinishVerify" style="width: 80%" placeholder="单据完成条件"-->
<!-- :disabled="formData.scanType == 1"-->
<!-- >-->
<!-- <el-option label="完全赋码" :value="0"></el-option>-->
<!-- <el-option label="部分赋码" :value="1"></el-option>-->
<!-- &lt;!&ndash; <el-option label="赋码超出" :value="2"></el-option>&ndash;&gt;-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="12" class="el-col">
<el-form-item label="结果处理:" prop="checkInsert" class="query-form-item">
<el-select v-model="formData.checkInsert" style="width: 80%" placeholder="结果处理"
:disabled="formData.scanType == 1"
>
<el-option label="自动添加" :value="1"></el-option>
<el-option label="自动不添加" :value="2"></el-option>
<el-option label="禁止添加" :value="2"></el-option>
<el-option label="依提示决定" :value="3"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12" class="el-col">
<el-form-item label="异常提醒方式:" prop="warnType" class="query-form-item">
<el-select v-model="formData.warnType" style="width: 80%" placeholder="请选择异常提醒方式">
<el-option label="信息提醒" :value="1"></el-option>
<el-option label="信息弹框提醒" :value="2"></el-option>
<el-option label="不提醒" :value="3"></el-option>
</el-select>
</el-form-item>
</el-col>
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="三期不一致:" prop="checkBatchInsert" class="query-form-item">-->
<!-- <el-select v-model="formData.checkBatchInsert" style="width: 80%" placeholder="结果处理"-->
<!-- :disabled="formData.scanType == 1"-->
<!-- >-->
<!-- <el-option label="自动添加" :value="1"></el-option>-->
<!-- <el-option label="禁止添加" :value="2"></el-option>-->
<!-- <el-option label="依提示决定" :value="3"></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="数量溢出:" prop="overCount" class="query-form-item">-->
<!-- <el-select v-model="formData.overCount" style="width: 80%" placeholder="是否允许数量溢出"-->
<!-- :disabled="formData.scanType == 1"-->
<!-- >-->
<!-- <el-option label="自动添加" :value="1"></el-option>-->
<!-- <el-option label="禁止添加" :value="2"></el-option>-->
<!-- <el-option label="依提示决定" :value="3"></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="12" class="el-col">-->
<!-- <el-form-item label="异常提醒方式:" prop="warnType" class="query-form-item">-->
<!-- <el-select v-model="formData.warnType" style="width: 80%" placeholder="请选择异常提醒方式">-->
<!-- <el-option label="信息提醒" :value="1"></el-option>-->
<!-- <el-option label="信息弹框提醒" :value="2"></el-option>-->
<!-- <el-option label="不提醒" :value="3"></el-option>-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
</el-row>
<el-divider></el-divider>
@ -260,8 +287,8 @@ export default {
data() {
return {
formData: {
scanType: 1,
checkInsert: 1,
scanType: 2,
checkInsert: 2,
isMatching: 1,
inoutType: null,
documentTypeCode: null,
@ -272,7 +299,9 @@ export default {
monopoly: 0,
orderFinishVerify: 0,
isPopular: 1,
invCode: ''
invCode: '',
overCount: 1,
checkBatchInsert:2,
},
invList: [],
busTypes: [],

@ -210,14 +210,14 @@
</template>
</el-table-column>
<el-table-column label="单据类型" prop="thrBusName" width="100"></el-table-column>
<el-table-column label="单据完成条件" prop="orderFinishVerify" width="100">
<template slot-scope="scope">
<span>{{ orderFinishVerifys[scope.row.orderFinishVerify] }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="单据完成条件" prop="orderFinishVerify" width="100">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ orderFinishVerifys[scope.row.orderFinishVerify] }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="队列管理" prop="autoTag" width="100">
<template slot-scope="scope">
<span>{{ autoTagTypes[scope.row.autoTag] }}</span>
<span>{{ autoTagTypes[scope.row.autoTag] }}</span>9
</template>
</el-table-column>
<el-table-column label="独占库存" prop="monopoly" width="90">
@ -240,11 +240,11 @@
<span>{{ checkInserts[scope.row.checkInsert] }}</span>
</template>
</el-table-column>
<el-table-column label="异常方式提醒" prop="warnType" width="100">
<template slot-scope="scope">
<span>{{ warnTypeMap[scope.row.warnType] }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="异常方式提醒" prop="warnType" width="100">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ warnTypeMap[scope.row.warnType] }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="是否常用" prop="isPopular" width="100">
<template slot-scope="scope">

@ -624,6 +624,7 @@ export default {
viewType: "tagCode",
workPlaceCode: this.workplaceId,
originCode: this.originCode,
busType: this.formData.busType,
code: this.filterQuery.code.trim(),
};
enterCodeWeb(tQuery).then((response) => {

Loading…
Cancel
Save