科室出库修改

dev_ksck2.0
anthonywj 12 months ago
parent 7c1485060c
commit f8c3f714b8

@ -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 = {}

@ -56,7 +56,7 @@
<el-card class="el-card">
<el-row :gutter="8">
<el-col :span="6" v-for="(bazi,key) in list" :key="key" :xs="12" :sm="8" :md="6" :lg="6">
<el-col v-for="(bazi,key) in list" :key="key" :xs="12" :sm="8" :md="8" :lg="6">
<BaziPanel :info="bazi" @baziPanel="getValue"></BaziPanel>
</el-col>
</el-row>
@ -319,6 +319,7 @@ export default {
getOrderListbyCode(query)
.then((response) => {
if (response.code === 20000) {
this.orderListDate = response.data;
if (this.orderListDate.length > 0) {
this.idQuery = this.orderListDate[0]; //
} else {

Loading…
Cancel
Save