9/18 现场管理优化

yanshishuju
wangwei 7 months ago
parent 08f52aa413
commit 27da46bccc

@ -402,7 +402,8 @@ export default {
this.userQuery = { this.userQuery = {
page: 1, page: 1,
limit: 10, limit: 10,
key: '' key: '',
deptCode: this.$store.getters.locDeptCode,
} }
this.getUsers() this.getUsers()
}, },

@ -372,7 +372,7 @@
:close-on-click-modal="false" :close-on-click-modal="false"
:close-on-press-escape="false" :close-on-press-escape="false"
v-if="downloadPrescriptionVisible" v-if="downloadPrescriptionVisible"
width="65%" width="75%"
append-to-body append-to-body
> >
<prescribeDownloadDialog <prescribeDownloadDialog

@ -220,7 +220,8 @@
</div> </div>
<el-descriptions title="单据信息" :column="4" border style="margin-top: 15px"> <el-descriptions title="单据信息" :column="4" border style="margin-top: 15px">
<el-descriptions-item label="业务单号">{{ formData.billNo }}</el-descriptions-item> <el-descriptions-item label="业务单号">{{ formData.billNo }}</el-descriptions-item>
<el-descriptions-item label="往来信息">{{ formData.fromCorpName }}</el-descriptions-item> <el-descriptions-item label="发货方">{{ formData.shipperName }}</el-descriptions-item>
<el-descriptions-item label="收货方">{{ formData.fromCorpName }}</el-descriptions-item>
<el-descriptions-item label="单据类型">{{ formData.busTypeName }}</el-descriptions-item> <el-descriptions-item label="单据类型">{{ formData.busTypeName }}</el-descriptions-item>
<el-descriptions-item label="来源系统">{{ formData.fromType }}</el-descriptions-item> <el-descriptions-item label="来源系统">{{ formData.fromType }}</el-descriptions-item>
<el-descriptions-item label="单据时间">{{ formData.billTime }}</el-descriptions-item> <el-descriptions-item label="单据时间">{{ formData.billTime }}</el-descriptions-item>

@ -111,7 +111,7 @@
<el-table v-loading="loading" :data="list" style="width: 100%;" border highlight-current-row <el-table v-loading="loading" :data="list" style="width: 100%;" border highlight-current-row
ref="multipleTable" ref="multipleTable"
:default-sort="defaultSort" :default-sort="defaultSort"
:row-style="{ height: '32px' }" @selection-change="handleUserSelectionChange"> :row-style="{ height: '32px' }" @selection-change="handleUserSelectionChange" @row-click="prescribeClick">
<el-table-column type="selection" width="55"></el-table-column> <el-table-column type="selection" width="55"></el-table-column>
<template v-for="(item, index) in tableHeader"> <template v-for="(item, index) in tableHeader">
<el-table-column <el-table-column
@ -217,6 +217,14 @@
@pagination="handleCurrentChange" @pagination="handleCurrentChange"
></pagination> ></pagination>
</el-card> </el-card>
<el-tabs type="border-card" style="margin: 15px">
<el-tab-pane label="单据明细">
<PannelOriginOrderDetail
v-if="panelALive"
:prescribeData="curRow"
></PannelOriginOrderDetail>
</el-tab-pane>
</el-tabs>
</div> </div>
</template> </template>
@ -226,6 +234,7 @@ import {executeFuc, getHead} from "@/utils/customConfig";
import {deleteDataByCode} from "@/api/basic/sicker/prescribeApi"; import {deleteDataByCode} from "@/api/basic/sicker/prescribeApi";
import {getThrOrderPage} from "@/api/collect/collectOrder"; import {getThrOrderPage} from "@/api/collect/collectOrder";
import {getWorkBindBusTypes} from '@/api/basic/workPlace/sysWorkplaceDocuments' import {getWorkBindBusTypes} from '@/api/basic/workPlace/sysWorkplaceDocuments'
import PannelOriginOrderDetail from "../PannelOriginOrderDetail"
export default { export default {
name: "prescribeDownloadDialog", name: "prescribeDownloadDialog",
@ -235,6 +244,7 @@ export default {
required: true, required: true,
}, },
}, },
components:{PannelOriginOrderDetail},
data() { data() {
return { return {
actDateRange: [], actDateRange: [],
@ -316,6 +326,8 @@ export default {
page: 1, page: 1,
limit: 10, limit: 10,
}, },
panelALive:false,
curRow: null,
} }
}, },
methods: { methods: {
@ -421,9 +433,15 @@ export default {
this.getList(); this.getList();
}, },
prescribeClick(_this, row) { // prescribeClick(_this, row) {
this.getPrescribeDetail(_this, row) // this.getPrescribeDetail(_this, row)
this.getCodeDetail(_this, row) // this.getCodeDetail(_this, row)
// _this.curRow = row;
// _this.refreshCodesPanel(_this);
// },
prescribeClick(row) {
this.curRow = row;
this.refreshCodesPanel();
}, },
getPrescribeDetail(_this, row) { getPrescribeDetail(_this, row) {
@ -487,7 +505,7 @@ export default {
.catch(() => { .catch(() => {
}); });
}, },
getWorkBindBusTypes(_this) { getWorkBindBusTypes(_this) {
getWorkBindBusTypes(this.busQuery).then(res => { getWorkBindBusTypes(this.busQuery).then(res => {
if (res.code == 20000) { if (res.code == 20000) {
let busTypes = res.data.list || []; let busTypes = res.data.list || [];
@ -503,7 +521,12 @@ export default {
return return
}) })
}, },
refreshCodesPanel() {
this.panelALive = false;
this.$nextTick(() => {
this.panelALive = true;
});
}
}, },
created() { created() {
getHead("prescribePanel-online", "1").then((re) => { getHead("prescribePanel-online", "1").then((re) => {

Loading…
Cancel
Save