1.调整未审核单据等单据页面的样式及内容

prod
x_z 2 years ago
parent 1e3ea35c13
commit afaa2a2a0f

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -169,6 +169,7 @@
>
</el-input>
</el-form-item>
<el-form-item>
<el-button-group>
<el-button
@ -180,93 +181,73 @@
<el-button type="primary" @click="onBizSubmit"
icon="el-icon-search"
>查询
</el-button
>
<el-table v-loading="bizDetailLoading" :data="bizDetailList" style="width: 100%" border
row-key="id"
>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column
label="产品通用名称"
prop="coName"
></el-table-column>
<el-table-column
label="批次号"
prop="batchNo"
></el-table-column>
<el-table-column
label="DI标识"
prop="nameCode"
></el-table-column>
<el-table-column
label="规格型号"
prop="spec"
></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="ylqxzcrbarmc"
></el-table-column>
<el-table-column
label="生产企业"
prop="manufacturer"
></el-table-column>
<el-table-column
label="价格"
prop="price"
></el-table-column>
<el-table-column
label="价格"
prop="price"
></el-table-column>
<el-table-column
label="价格"
prop="price"
></el-table-column>
<el-table-column
label="价格"
prop="price"
></el-table-column>
<el-table-column
label="价格"
prop="price"
></el-table-column>
<el-table-column
label="价格"
prop="price"
></el-table-column>
<el-table-column
label="价格"
prop="price"
></el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
type="text"
@click.native.stop="editBizDialog(scope.row)"
>编辑
</el-button
>
</template>
</el-table-column>
</el-table>
<pagination
v-show="bizTotal>0"
:total="bizTotal"
:page.sync="bizQuery.page"
:limit.sync="codeQuery.limit"
@pagination="getBizDetailList"
/>
</el-button>
</el-button-group>
</el-form-item>
</el-form>
<el-table v-loading="bizDetailLoading" :data="bizDetailList" style="width: 100%" border
row-key="id"
>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column
label="产品通用名称"
prop="coName"
></el-table-column>
<el-table-column
label="规格型号"
prop="spec"
></el-table-column>
<el-table-column
label="批次号"
prop="batchNo"
></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="reCount"
></el-table-column>
<el-table-column
label="单据数量"
prop="count"
></el-table-column>
<el-table-column
label="价格"
prop="price"
></el-table-column>
<el-table-column
label="生产厂家"
prop="manufacturer"
></el-table-column>
<el-table-column
label="注册/备案凭证号"
prop="ylqxzcrbarmc"
></el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
type="text"
@click.native.stop="editBizDialog(scope.row)"
>编辑
</el-button
>
</template>
</el-table-column>
</el-table>
<pagination
v-show="bizTotal>0"
:total="bizTotal"
:page.sync="bizQuery.page"
:limit.sync="codeQuery.limit"
@pagination="getBizDetailList"
/>
</el-tab-pane>
<!--单据扫码详情-->
@ -292,43 +273,73 @@
<el-button type="primary" @click="onCodeSubmit"
icon="el-icon-search"
>查询
</el-button
>
<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="employeeName"
></el-table-column>
<el-table-column
label="用户账号"
prop="userName"
></el-table-column>
<el-table-column label="备注" prop="comments">
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
type="text"
@click.native.stop="editCodeDialog(scope.row)"
>编辑
</el-button
>
</template>
</el-table-column>
</el-table>
<pagination
v-show="codeTotal>0"
:total="codeTotal"
:page.sync="codeQuery.page"
:limit.sync="codeQuery.limit"
@pagination="getCodeDetailList"
/>
</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"
></el-table-column>
<el-table-column
label="规格型号"
prop="spec"
></el-table-column>
<el-table-column
label="批次号"
prop="batchNo"
></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"
></el-table-column>
<el-table-column
label="生产企业"
prop="manufacturer"
></el-table-column>
<el-table-column
label="注册/备案凭证号"
prop="ylqxzcrbarmc"
></el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
type="text"
@click.native.stop="editCodeDialog(scope.row)"
>编辑
</el-button
>
</template>
</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>
<!--单据扫码明细-->
@ -356,41 +367,80 @@
>查询
</el-button
>
<el-table v-loading="resultDetailLoading" :data="resultDetailList" style="width: 100%" border
row-key="id"
>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column
label="用户名称"
prop="employeeName"
></el-table-column>
<el-table-column
label="用户账号"
prop="userName"
></el-table-column>
<el-table-column label="备注" prop="comments">
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
type="text"
@click.native.stop="editResultDialog(scope.row)"
>编辑
</el-button
>
</template>
</el-table-column>
</el-table>
<pagination
v-show="resultTotal>0"
:total="resultTotal"
:page.sync="resultQuery.page"
:limit.sync="resultQuery.limit"
@pagination="getResultDetailList"
/>
</el-button-group>
</el-form-item>
</el-form>
<el-table v-loading="resultDetailLoading" :data="resultDetailList" style="width: 100%" border
row-key="id"
>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column
label="产品通用名"
prop="coName"
></el-table-column>
<el-table-column
label="规格型号"
prop="spec"
></el-table-column>
<el-table-column
label="批次号"
prop="batchNo"
></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="price"
></el-table-column>
<el-table-column
label="销售清单号"
prop="secSalesListNo"
></el-table-column>
<el-table-column
label="发票第一票"
prop="firstSalesInvNo"
></el-table-column>
<el-table-column
label="发票第二票"
prop="secSalesInvNo"
></el-table-column>
<el-table-column
label="发票有效期"
prop="invoiceDate"
></el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-button
type="text"
@click.native.stop="editResultDialog(scope.row)"
>编辑
</el-button
>
</template>
</el-table-column>
</el-table>
<pagination
v-show="resultTotal>0"
:total="resultTotal"
:page.sync="resultQuery.page"
:limit.sync="resultQuery.limit"
@pagination="getResultDetailList"
/>
</el-tab-pane>
</el-tabs>
@ -399,7 +449,6 @@
<script>
import {
getDraft,
deleteByOrderId,
getOrderList
} from "../../api/inout/order";
@ -559,7 +608,6 @@ export default {
hideSearch() {
this.showSearch = !this.showSearch;
},
handleSizeChange(val) {
this.filterQuery.limit = val;
this.getList();
@ -580,7 +628,6 @@ export default {
.then((response) => {
this.busTypes = response.data.list || [];
this.filterQuery.billAction = this.busTypes[0].action;
// this.getList();
})
.catch(() => {
});
@ -614,10 +661,31 @@ export default {
},
handleSelectionChange(val) {
this.currentRow = val;
this.getOrderDetails();
},
//
getOrderDetails() {
this.getBizDetailList();
this.getCodeDetailList();
this.getResultDetailList();
},
//
clearDetailList() {
//
this.bizDetailList = [];
this.bizTotal = 0;
//
this.codeDetailList = [];
this.codeTotal = 0;
//
this.resultDetailList = [];
this.resultTotal = 0;
},
//
getList() {
this.loading = true;
this.currentRow = null;
this.clearDetailList();
getOrderList(this.filterQuery)
.then((response) => {
this.loading = false;

Loading…
Cancel
Save