10/17 单据增加单据类型 基础数据器械界面优化

20240912_adapter
wangwei 6 months ago
parent a8eec2cc49
commit 34e88afb95

@ -35,6 +35,14 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item class="query-form-item" label="单据类型:">
<el-select v-model="filterQuery.productType" style="width: 90%" placeholder="请选择单据类型" clearable>
<el-option label="器械单据" :value="1"></el-option>
<el-option label="药品单据" :value="2"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
@ -121,7 +129,7 @@
top="5vh"
>
<modifyDialog :inputQuery="inputQuery"></modifyDialog>
<div slot="footer" class="dialog-footer">
<div style="text-align: center;margin-top: 12px">
<!-- :disabled="!configParams.typeScan"-->
<el-button type="primary" size="small" @click="onAddSubmit"
@ -151,7 +159,7 @@
>提交
</el-button
>
<el-button type="primary" size="small" icon="search" @click="cancelDialog"
<el-button size="small" icon="search" @click="cancelDialog"
>取消
</el-button
>
@ -182,6 +190,7 @@ export default {
filterQuery: {
name: null,
mainAction: null,
productType: null,
enable: '1',
page: 1,
limit: 20
@ -363,6 +372,10 @@ export default {
this.$message.error('单据类型名称不能为空!')
return
}
if (isBlank(this.inputQuery.productType)) {
this.$message.error('单据类型不能为空!')
return
}
// if (isBlank(this.inputQuery.actionType)) {
// this.$message.error("");
// return;

@ -231,9 +231,11 @@
<el-row>
<el-col :span="11">
<el-form-item prop="remark" label="备注">
<el-input v-model="inputQuery.remark" size="small" style="width: 90%" type="textarea" autosize
></el-input>
<el-form-item label="单据类型" prop="productType">
<el-select v-model="inputQuery.productType" style="width: 90%" placeholder="请选择单据类型">
<el-option label="器械单据" :value="1"></el-option>
<el-option label="药品单据" :value="2"></el-option>
</el-select>
</el-form-item>
</el-col>
@ -247,6 +249,14 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="11">
<el-form-item prop="remark" label="备注">
<el-input v-model="inputQuery.remark" size="small" style="width: 90%" type="textarea" autosize
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div style="margin-left: 25px">
@ -1501,6 +1511,13 @@ export default {
trigger: 'change'
}
],
productType: [
{
required: true,
message: '请选择单据类型',
trigger: 'change'
}
],
inStock: [
{
required: true,

@ -734,6 +734,7 @@ export default {
let query = {
enabled: true,
vueType: "stock",
productType:1
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -2021,6 +2021,8 @@ export default {
},
defaultSys: null,
isImport: false,
isImportUdi: false,
isUploadSmp: false,
isSpCombine: false,

@ -173,7 +173,7 @@
</el-row>
<div style="text-align: center; margin-bottom: 10px;">
<el-button type="primary" @click="saveNewProduct" :loading="saveLoading">提交</el-button>
<el-button type="primary" @click="closeAddDialog"></el-button>
<el-button @click="closeAddDialog"></el-button>
</div>
<el-dialog
title="收费项目选入"

@ -272,7 +272,7 @@
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
placeholder="请输入内容"
v-model="editQuery.measname"
></el-input>
</el-form-item>
@ -282,7 +282,7 @@
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
placeholder="请输入内容"
v-model="editQuery.manufactory"
></el-input>
</el-form-item>
@ -294,7 +294,7 @@
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
placeholder="请输入商品名称"
v-model="editQuery.spmc"
></el-input>
</el-form-item>
@ -304,7 +304,7 @@
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
placeholder="请输入产品描述"
v-model="editQuery.cpms"
></el-input>
</el-form-item>
@ -328,7 +328,7 @@
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
placeholder="请输入医保编码"
v-model="editQuery.ybbm"
v-debounce-input:500ms="getYbHcData"
></el-input>
@ -378,7 +378,7 @@
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
placeholder="请输入耗材材质"
v-model="editQuery.matrial"
disabled
></el-input>
@ -394,7 +394,7 @@
size="small"
type="number"
oninput="value=value.replace(/[^\d]/g,'')"
splaceholder="请输入内容"
placeholder="请输入挤压预警数"
v-model="editQuery.overStockNum"
></el-input>
</el-form-item>
@ -406,7 +406,7 @@
size="small"
type="number"
oninput="value=value.replace(/[^\d]/g,'')"
splaceholder="请输入内容"
placeholder="低库存预警数量"
v-model="editQuery.lowStockNum"
></el-input>
</el-form-item>
@ -521,7 +521,7 @@
remote
clearable="true"
reserve-keyword
placeholder="请选择物价类别"
laceholder="请选择物价类别"
:remote-method="findHsflMethod"
:loading="loading"
style="width: 80%"
@ -570,7 +570,7 @@
<el-input
style="width: 80%"
size="small"
splaceholder="请输入内容"
placeholder="请输入包装规格"
v-model="editQuery.bzgg"
></el-input>
</el-form-item>
@ -584,7 +584,7 @@
style="width: 80%"
min="1"
size="small"
splaceholder="请输入内容"
placeholder="请输入工位预警数"
v-model="editQuery.workPlaceCount"
></el-input>
</el-form-item>

@ -905,12 +905,14 @@ export default {
let query = {
code: this.orderFormData.invCode,
editType: 2, //
productType:1
};
if (this.viewTypeKsck) {
query = {
code: this.orderFormData.invCode,
editType: 2, //
useDyCount: 2 //
useDyCount: 2, //
productType:1
};
}

@ -1198,6 +1198,7 @@ export default {
code: _this.filterQuery.invCode,
enable: true,
vueType: "supInvoice",
productType:1
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -1294,6 +1294,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:1
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -494,6 +494,7 @@ export default {
code: this.filterQuery.invCode,
enabled: true,
vueType: "supDelivery",
productType:1
};
getLocalJoinByUser(query)
.then((response) => {

@ -368,6 +368,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:1
};
getLocalJoinByUser(query)
.then((response) => {

@ -1583,6 +1583,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:1
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -1360,6 +1360,7 @@ export default {
let query = {
code: _this.filterQuery.invWarehouseCode,
enabled: true,
productType:1
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -1112,6 +1112,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:1
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -573,6 +573,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:1
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -514,6 +514,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:1
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -628,6 +628,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:1
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -570,6 +570,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:1
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -509,6 +509,7 @@ export default {
code: this.filterQuery.invCode,
enabled: true,
vueType: "waitCheck",
productType:1
};
getLocalJoinByUser(query)
.then((response) => {

@ -702,6 +702,7 @@ export default {
code: _this.filterQuery.invCode,
enabled: true,
vueType: "waitDeal",
productType:1
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -708,6 +708,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:1
};
getLocalJoinByUser(query)
.then((response) => {

@ -835,12 +835,14 @@ export default {
let query = {
code: this.orderFormData.invCode,
editType: 2, //
productType:2
};
if (this.viewTypeKsck) {
query = {
code: this.orderFormData.invCode,
editType: 2, //
useDyCount: 2 //
useDyCount: 2, //
productType:2
};
}

@ -1294,6 +1294,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:2
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -1585,6 +1585,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:2
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -1362,6 +1362,7 @@ export default {
let query = {
code: _this.filterQuery.invWarehouseCode,
enabled: true,
productType:2
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -1114,6 +1114,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:2
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -575,6 +575,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:2
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -514,6 +514,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:2
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -459,6 +459,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:2
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -584,6 +584,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
productType:2
};
getLocalJoinByUserOptimize(query)
.then((response) => {

@ -526,6 +526,7 @@ export default {
code: this.filterQuery.invCode,
enabled: true,
vueType: "waitCheck",
productType:2
};
getLocalJoinByUser(query)
.then((response) => {

@ -726,6 +726,7 @@ export default {
code: _this.filterQuery.invCode,
enabled: true,
vueType: "waitDeal",
productType:2
};
getLocalJoinByUserOptimize(query)
.then((response) => {

Loading…
Cancel
Save