|
|
|
@ -270,11 +270,13 @@
|
|
|
|
|
v-model="checkPreInArray"
|
|
|
|
|
:disabled="corpOrderIdDisabled"
|
|
|
|
|
multiple
|
|
|
|
|
ref="preRef"
|
|
|
|
|
:key="checkPreInArray"
|
|
|
|
|
placeholder="请选入单据"
|
|
|
|
|
>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="(item, index) in checkPreInArray"
|
|
|
|
|
:key="item.index"
|
|
|
|
|
v-for="item in checkPreInArray"
|
|
|
|
|
:key="item"
|
|
|
|
|
:label="item"
|
|
|
|
|
:value="item"
|
|
|
|
|
>
|
|
|
|
@ -1038,8 +1040,10 @@ export default {
|
|
|
|
|
//单据类型改变
|
|
|
|
|
actionChange(item) {
|
|
|
|
|
this.orderFormData.checkPreInOption = null;
|
|
|
|
|
this.orderFormData.checkPreInOrders = null;
|
|
|
|
|
this.checkPreInArray = [];
|
|
|
|
|
if (!this.viewTypeKsck) {
|
|
|
|
|
this.orderFormData.checkPreInOrders = null;
|
|
|
|
|
this.checkPreInArray = [];
|
|
|
|
|
}
|
|
|
|
|
this.curAction = this.getActionItem(item);
|
|
|
|
|
if ((this.curAction.checkEnable && this.curAction.checkWebNew != 0) || this.viewType == 1) {
|
|
|
|
|
//单据类型需要一次校验 或 单据类型为1,显示业务单据页面
|
|
|
|
@ -1757,7 +1761,7 @@ export default {
|
|
|
|
|
getConfig() {
|
|
|
|
|
selectSysParamByKey({"paramKey": "his_sicker"}).then((response) => {
|
|
|
|
|
if (response.code == 20000) {
|
|
|
|
|
if (response.data.paramValue == "1") {
|
|
|
|
|
if (this.$isNotBlank(response.data) && response.data.paramValue == "1") {
|
|
|
|
|
this.enableSick = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -1795,7 +1799,6 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
//页面初始化
|
|
|
|
|
debugger
|
|
|
|
|
this.codeFormData.code = "";
|
|
|
|
|
//页面类型
|
|
|
|
|
if (this.viewType == 2) {
|
|
|
|
@ -1818,11 +1821,16 @@ export default {
|
|
|
|
|
this.getConfig();
|
|
|
|
|
if (this.$isNotBlank(this.orderQuery.billNo)) {
|
|
|
|
|
//编辑页面
|
|
|
|
|
debugger
|
|
|
|
|
this.corpOrderIdDisabled = true;
|
|
|
|
|
this.orderFormData = this.orderQuery;
|
|
|
|
|
this.actionEnable = true;
|
|
|
|
|
if (this.$isNotBlank(this.orderFormData.checkPreInOrders)) {
|
|
|
|
|
this.checkPreInArray = this.orderFormData.split(",");
|
|
|
|
|
if (this.orderFormData.checkPreInOrders.includes(",")) {
|
|
|
|
|
this.checkPreInArray = this.orderFormData.checkPreInOrders.split(",");
|
|
|
|
|
} else {
|
|
|
|
|
this.checkPreInArray = [this.orderFormData.checkPreInOrders]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.findMethod(this.orderFormData.fromCorp);
|
|
|
|
|
this.curAction = {}
|
|
|
|
|