|
|
|
@ -100,7 +100,7 @@
|
|
|
|
|
<span>{{ fromTypeMap[scope.row.fromType] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="往来单位" prop="fromCorpName" width="220">
|
|
|
|
|
<el-table-column label="往来单位" prop="fromName" width="220">
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="当前部门" prop="deptName" width="120">
|
|
|
|
|
</el-table-column>
|
|
|
|
@ -153,7 +153,7 @@
|
|
|
|
|
<el-tabs type="border-card" style="margin: 15px">
|
|
|
|
|
<!--单据业务详情-->
|
|
|
|
|
<el-tab-pane>
|
|
|
|
|
<span slot="label">单据 {{ currentRow.billNo }}-业务详情</span>
|
|
|
|
|
<span slot="label">单据 {{ currentRow.billNo }}-单据详情</span>
|
|
|
|
|
<el-form :inline="true" :model="bizQuery" class="query-form" size="mini">
|
|
|
|
|
<el-form-item class="query-form-item" label="产品名称:">
|
|
|
|
|
<el-input
|
|
|
|
@ -207,13 +207,9 @@
|
|
|
|
|
label="失效日期"
|
|
|
|
|
prop="expireDate"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="实际数量"
|
|
|
|
|
prop="reCount"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="单据数量"
|
|
|
|
|
prop="count"
|
|
|
|
|
prop="reCount"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="价格"
|
|
|
|
@ -239,94 +235,6 @@
|
|
|
|
|
/>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
|
<!--单据扫码详情-->
|
|
|
|
|
<el-tab-pane>
|
|
|
|
|
<span slot="label">单据 {{ currentRow.billNo }}-扫码详情</span>
|
|
|
|
|
<el-form :inline="true" :model="codeQuery" class="query-form" size="mini">
|
|
|
|
|
<el-form-item class="query-form-item" label="产品名称:">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="codeQuery.productName"
|
|
|
|
|
placeholder="请输入产品名称"
|
|
|
|
|
clearable
|
|
|
|
|
>
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item>
|
|
|
|
|
<el-button-group>
|
|
|
|
|
<el-button
|
|
|
|
|
type="primary"
|
|
|
|
|
icon="el-icon-refresh"
|
|
|
|
|
@click="onCodeReset"
|
|
|
|
|
>重置
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button type="primary" @click="onCodeSubmit"
|
|
|
|
|
icon="el-icon-search"
|
|
|
|
|
>查询
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-button-group>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="codeDetailLoading" :data="codeDetailList" style="width: 100%" border
|
|
|
|
|
row-key="id"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="产品通用名"
|
|
|
|
|
prop="coName"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="规格型号"
|
|
|
|
|
prop="spec"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="批次号"
|
|
|
|
|
prop="batchNo"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="生产日期"
|
|
|
|
|
prop="productDate"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="失效日期"
|
|
|
|
|
prop="expireDate"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="单据数量"
|
|
|
|
|
prop="count"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="扫码数量"
|
|
|
|
|
prop="reCount"
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="供应商"
|
|
|
|
|
prop="supName"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="生产企业"
|
|
|
|
|
prop="manufacturer"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column
|
|
|
|
|
label="注册/备案凭证号"
|
|
|
|
|
prop="certCode"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<pagination
|
|
|
|
|
v-show="codeTotal>0"
|
|
|
|
|
:total="codeTotal"
|
|
|
|
|
:page.sync="codeQuery.page"
|
|
|
|
|
:limit.sync="codeQuery.limit"
|
|
|
|
|
@pagination="getCodeDetailList"
|
|
|
|
|
/>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
|
<!--单据扫码明细-->
|
|
|
|
|
<el-tab-pane>
|
|
|
|
|
<span slot="label">单据 {{ currentRow.billNo }}-扫码明细</span>
|
|
|
|
@ -420,7 +328,7 @@ import {getLocalJoinByUser} from "@/api/basic/busType";
|
|
|
|
|
import {getInvListByUser} from "@/api/system/invWarehouse";
|
|
|
|
|
import {isBlank} from "@/utils/strUtil";
|
|
|
|
|
import {selectSysParamByKey} from "@/api/param/systemParamConfig";
|
|
|
|
|
import {getBizDetailList} from "@/api/inout/orderDetailBiz";
|
|
|
|
|
import {getResultDetailList} from "@/api/inout/orderDetailResult";
|
|
|
|
|
import {getCodeDetailList} from "@/api/inout/orderDetailCode";
|
|
|
|
|
import {getCodeList} from "@/api/inout/code";
|
|
|
|
|
|
|
|
|
@ -591,7 +499,6 @@ export default {
|
|
|
|
|
getLocalJoinByUser(query)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.busTypes = response.data.list || [];
|
|
|
|
|
this.filterQuery.action = this.busTypes[0].action;
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
});
|
|
|
|
@ -711,7 +618,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.bizDetailLoading = true;
|
|
|
|
|
this.bizQuery.orderIdFk = this.currentRow.billNo;
|
|
|
|
|
getBizDetailList(this.bizQuery).then((res) => {
|
|
|
|
|
getResultDetailList(this.bizQuery).then((res) => {
|
|
|
|
|
this.bizDetailLoading = false;
|
|
|
|
|
if (res.code === 20000) {
|
|
|
|
|
this.bizDetailList = res.data.list || [];
|
|
|
|
@ -831,9 +738,6 @@ export default {
|
|
|
|
|
created() {
|
|
|
|
|
this.getInvList();
|
|
|
|
|
this.getBusType();
|
|
|
|
|
let query = this.$route.query;
|
|
|
|
|
this.filterQuery = Object.assign(this.filterQuery, query);
|
|
|
|
|
this.filterQuery.limit = parseInt(this.filterQuery.limit);
|
|
|
|
|
selectSysParamByKey({paramKey: "muti_inv_mode"}).then((res) => {
|
|
|
|
|
if (res.code === 20000) {
|
|
|
|
|
if (res.data.paramValue === "0") {
|
|
|
|
@ -841,6 +745,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
this.getList();
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|