单据,产品相关bug修改

ywj_dev
anthonywj 2 years ago
parent 9a0178e3bb
commit efc2707565

@ -2,18 +2,18 @@
<div> <div>
<el-card> <el-card>
<el-row> <el-row>
<el-col :span="2" v-show="showSearch"> <el-col :span="3" v-show="showSearch">
<div style="height: 100%"> <div style="height: 100%">
<el-tree :data="treeList" <el-tree :data="treeList"
class="tree" class="tree"
@node-click="handleNodeClick" @node-click="handleNodeClick"
:expand-on-click-node="false"> :expand-on-click-node="false">
<span class="custom-tree-node" slot-scope="{ node, data }"> <span class="custom-tree-node" slot-scope="{ node, data }">
<span style="font-size: 15px;font-weight: 500;">{{ node.label }}</span></span> <span style="font-size: 14px;font-weight: 500;">{{ node.label }}</span></span>
</el-tree> </el-tree>
</div> </div>
</el-col> </el-col>
<el-col :span="22"> <el-col :span="21">
<el-form :model="filterQuery" size="mini" label-width="100px" v-show="showSearch"> <el-form :model="filterQuery" size="mini" label-width="100px" v-show="showSearch">
<el-row> <el-row>
<el-col :span="18"> <el-col :span="18">

@ -50,8 +50,7 @@
<el-table-column label="包装单位" prop="packUnit" show-overflow-tooltip></el-table-column> <el-table-column label="包装单位" prop="packUnit" show-overflow-tooltip></el-table-column>
<el-table-column label="操作" width="180px"> <el-table-column label="操作" width="180px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="text" @click.native.stop="singleDiEdit">编辑</el-button> <el-button type="text" @click.native.stop="singleDiEdit(scope.row)">编辑</el-button> </template>
</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-card> </el-card>
@ -800,8 +799,8 @@ export default {
cancelDialog() { cancelDialog() {
this.editSingleDiDialogVisible = false; this.editSingleDiDialogVisible = false;
}, },
singleDiEdit() { singleDiEdit(val) {
let temp = JSON.parse(JSON.stringify(this.editQuery)); let temp = val;
this.editSingleFormat.uuid = temp.uuid; this.editSingleFormat.uuid = temp.uuid;
this.editSingleFormat.id = temp.id; this.editSingleFormat.id = temp.id;
this.editSingleFormat.sptm = temp.sptm; this.editSingleFormat.sptm = temp.sptm;

@ -135,18 +135,19 @@
<el-button <el-button
type="text" type="text"
size="small" size="small"
v-if="scope.row.status == 5"
@click.native.stop="rollback(scope.row)" @click.native.stop="rollback(scope.row)"
>撤回 >撤回
</el-button </el-button
> >
<el-button <!-- <el-button-->
type="text" <!-- type="text"-->
size="small" <!-- size="small"-->
@click.native.stop="deleteDialog(scope.row)" <!-- @click.native.stop="deleteDialog(scope.row)"-->
>删除 <!-- >删除-->
</el-button <!-- </el-button-->
> <!-- >-->
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -331,7 +332,7 @@
<script> <script>
import { import {
deleteInvByBillNo, deleteInvByBillNo,
getOrderList, rollbackOrder getOrderList, rollbackOrder, rollUnReceivebackOrder
} from "../../api/inout/order"; } from "../../api/inout/order";
import {getLocalJoinByUser} from "@/api/basic/busType"; import {getLocalJoinByUser} from "@/api/basic/busType";
import {getInvListByUser} from "@/api/system/invWarehouse"; import {getInvListByUser} from "@/api/system/invWarehouse";
@ -774,7 +775,7 @@ export default {
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
let param = {billNo: row.billNo}; let param = {billNo: row.billNo};
rollbackOrder(param).then((res) => { rollUnReceivebackOrder(param).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
this.$message.success("撤回成功"); this.$message.success("撤回成功");
this.getList(); this.getList();

@ -402,7 +402,7 @@ export default {
let data = { let data = {
relId: row.bindRlFk, relId: row.bindRlFk,
supId: row.supId, supId: row.supId,
zczbhhzbapzbh: row.zczbhhzbapzbh, zczbhhzbapzbh: row.certCode,
orderEntity: this.idQuery, orderEntity: this.idQuery,
} }
this.loading = true; this.loading = true;

@ -76,9 +76,9 @@
<el-table-column label="规格型号" prop="ggxh" show-overflow-tooltip></el-table-column> <el-table-column label="规格型号" prop="ggxh" show-overflow-tooltip></el-table-column>
<el-table-column label="注册/备案凭证" prop="zczbhhzbapzbh" show-overflow-tooltip></el-table-column> <el-table-column label="注册/备案凭证" prop="zczbhhzbapzbh" show-overflow-tooltip></el-table-column>
<el-table-column label="器械类别" prop="qxlb" show-overflow-tooltip></el-table-column> <el-table-column label="器械类别" prop="qxlb" show-overflow-tooltip></el-table-column>
<el-table-column v-if="isSpCombine" label="审核状态" prop="lockStatus" show-overflow-tooltip> <el-table-column v-if="isSpCombine" label="锁定状态" prop="lockStatus" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ lockStatusMap[scope.row.auditStatus] }} {{ lockStatusMap[scope.row.lockStatus] }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column width="180" label="操作"> <el-table-column width="180" label="操作">

Loading…
Cancel
Save