单据类型修改

master
anthonywj 3 years ago
parent ef5d2cbaa7
commit 94a95678f9

@ -378,7 +378,7 @@ export const asyncRouterMap = [
{
path: "invWarehouse",
component: invWarehouse,
name: "仓库信息",
name: "仓库字典",
icon: "",
meta: {
authRule: ["basicProduct/invWarehouse"]
@ -388,7 +388,7 @@ export const asyncRouterMap = [
{
path: "/udiInfo",
redirect: "/udiInfo/manage",
name: "医疗器械信息",
name: "耗材字典",
component: Empty,
meta: {
authRule: ["udiInfo/manage"]
@ -397,7 +397,7 @@ export const asyncRouterMap = [
{
path: "UdiInfoManage",
name: "医疗器械信息维护",
name: "耗材字典维护",
component: UdiInfoManage,
meta: {
authRule: ["product/UdiInfoManage"]
@ -406,7 +406,7 @@ export const asyncRouterMap = [
{
path: "udiImport",
name: "医疗器械信息导入",
name: "耗材字典导入",
component: UdiInfoImport,
meta: {
authRule: ["product/udiImport"]
@ -414,7 +414,7 @@ export const asyncRouterMap = [
},
{
path: "udiinfoExport",
name: "医疗器械信息导出",
name: "耗材字典导出",
component: udiInfoExport,
meta: {
authRule: ["product/udiinfoExport"]
@ -435,7 +435,7 @@ export const asyncRouterMap = [
{
path: "/basicCorp",
redirect: "/basicCorp/manage",
name: "供应商信息",
name: "往来单位字典",
component: Empty,
meta: {
authRule: ["basicCorp/manage"]
@ -443,7 +443,7 @@ export const asyncRouterMap = [
children: [
{
path: "basicUnitMaintain",
name: "供应商信息维护",
name: "往来单位信息维护",
component: basicUnitMaintain,
meta: {
authRule: ["basicCorp/basicUnitMaintain"]
@ -451,7 +451,7 @@ export const asyncRouterMap = [
},
{
path: "corpImport",
name: "供应商信息导入",
name: "往来单位信息导入",
component: corpImport,
meta: {
authRule: ["basicCorp/corpImport"]
@ -460,7 +460,7 @@ export const asyncRouterMap = [
{
path: "corpExport",
name: "供应商信息导出",
name: "往来单位信息导出",
component: corpExport,
meta: {
authRule: ["basicCorp/corpExport"]

@ -83,7 +83,10 @@
</el-col>
<el-col :span="4" class="el-col">
<div class="text item">
<el-checkbox v-model="inputQuery.changeEnable" @change="isChangeOrder" :disabled="!changeEnable"></el-checkbox>
<el-checkbox v-model="inputQuery.changeEnable" @change="isChangeOrder"
:disabled="!changeEnable || inputQuery.mainAction">
缺量自动补单
</el-checkbox>
</div>
</el-col>
<el-col :span="4" class="el-col">
@ -209,7 +212,7 @@
<script>
import {getOriginBusType} from "../../api/basic/busOriginType";
import {getBussinessType} from "../../api/basic/bussinessType";
import {getBussinessType, getJoinBussinessType} from "../../api/basic/bussinessType";
import {
getChangeBusType,
addChangeBusType,
@ -263,6 +266,9 @@ export default {
if (this.inputQuery.changeEnable) {
this.visibleChange = true;
}
if (this.changeList.length == 0)
this.changeEnable = false;
else
this.changeEnable = true;
} else {
@ -283,17 +289,23 @@ export default {
})
.catch(() => {
});
this.getBusTypes(null);
},
getBusTypes() {
let query = {
enabled: true,
filterAction: this.inputQuery.action,
};
getBussinessType(query)
getJoinBussinessType(query)
.then((response) => {
this.codeTypes = response.data.list || [];
})
.catch(() => {
});
}
,
},
addChangeType() {
this.changeEdit = 0;
@ -305,6 +317,7 @@ export default {
this.changeEdit = 1;
this.editQuery = row;
this.editChangeTypeVisible = true;
this.getBusTypes();
}
,
hideForm() {

@ -105,8 +105,9 @@
<div class="itemTag">
<span>当前仓库:&nbsp;</span>
</div>
<el-select v-model="inputQuery.storageCode" placeholder="当前仓库信息">
<el-select clearable v-model="inputQuery.storageCode" placeholder="当前仓库信息">
<el-option
v-for="item in storageList"
:key="item.name"
:label="item.name"

@ -38,6 +38,7 @@
<el-button
type="primary"
size="mini"
:disabled="scope.row.templateType == 2"
@click.native.stop="moduleSelectTemplate(scope.row)"
>选择模板
</el-button
@ -46,6 +47,7 @@
<p v-if="scope.row.templateName !== null">
<el-button
type="primary"
:disabled="scope.row.templateType == 2"
size="mini"
@click.native.stop="moduleSelectTemplate(scope.row)"
>{{ scope.row.templateName }}

@ -791,7 +791,7 @@ export default {
selectProductFunction(event) {
if (event == null) {
this.$refs.inputRef.focus();
// this.$refs.inputRef.focus();
} else {
event.target.select();
}
@ -886,7 +886,7 @@ export default {
}
} else {
this.$message.warning(response.message);
this.focusNext('inputRef');
// this.focusNext('inputRef');
if (this.$isNotBlank(event)) {
event.target.select();
}

@ -674,7 +674,7 @@ export default {
},
selectProductFunction(event) {
if (event == null) {
this.$refs.inputRef.focus();
// this.$refs.inputRef.focus();
} else event.target.select();
if (this.$isBlank(event)) {
this.code = "";
@ -745,7 +745,7 @@ export default {
}
} else {
this.$message.warning(response.message);
this.focusNext('inputRef');
// this.focusNext('inputRef');
if (this.$isNotBlank(event)) {
event.target.select();
}

Loading…
Cancel
Save