|
|
|
@ -61,9 +61,9 @@
|
|
|
|
|
<el-table-column label="养护记录号" prop="orderId" width="180"></el-table-column>
|
|
|
|
|
<el-table-column label="仓库" prop="invWarehouseName" width="180"></el-table-column>
|
|
|
|
|
<el-table-column label="货位" prop="invSpaceName" width="180"></el-table-column>
|
|
|
|
|
<el-table-column label="养护日期" prop="createTime" width="120"></el-table-column>
|
|
|
|
|
<el-table-column label="养护人" prop="createUser" width="120"></el-table-column>
|
|
|
|
|
<el-table-column label="状态" prop="status" show-overflow-tooltip width="120">
|
|
|
|
|
<el-table-column label="养护日期" prop="createTime" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="养护人" prop="createUser" width="150"></el-table-column>
|
|
|
|
|
<el-table-column label="状态" prop="status" width="120">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-tag>{{ statusMap[scope.row.status] }}</el-tag>
|
|
|
|
|
</template>
|
|
|
|
@ -101,15 +101,15 @@
|
|
|
|
|
<el-card>
|
|
|
|
|
<el-table v-loading="loading" :data="detailList" style="width: 100%; margin-top: 10px;">
|
|
|
|
|
<el-table-column label="序号" type="index" width="50"></el-table-column>
|
|
|
|
|
<el-table-column label="条码" width="150" prop="code"></el-table-column>
|
|
|
|
|
<el-table-column width="150"
|
|
|
|
|
<el-table-column label="条码" width="150" prop="code" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column width="200"
|
|
|
|
|
label="产品通用名"
|
|
|
|
|
prop="productName"
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
></el-table-column>
|
|
|
|
|
<el-table-column width="150" label="规格型号" prop="ggxh" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column width="150" label="批次号" prop="batchNo"></el-table-column>
|
|
|
|
|
<el-table-column width="150" label="养护数量" prop="count" show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column label="养护日期" prop="createTime" width="150"></el-table-column>
|
|
|
|
|
<el-table-column width="150" label="养护数量" prop="count"></el-table-column>
|
|
|
|
|
<el-table-column width="150" label="养护状态" prop="maintenanceStatus">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-radio disabled="true" v-model="scope.row.maintenanceStatus"
|
|
|
|
@ -132,12 +132,12 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column width="200" label="养护备注" prop="remark">
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column width="180" label="生产日期(yyMMdd)" prop="produceDate"></el-table-column>
|
|
|
|
|
<el-table-column width="180" label="失效日期(yyMMdd)" prop="expireDate"
|
|
|
|
|
<el-table-column width="150" label="生产日期(yyMMdd)" prop="produceDate"></el-table-column>
|
|
|
|
|
<el-table-column width="160" label="失效日期(yyMMdd)" prop="expireDate"
|
|
|
|
|
show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column width="250" label="注册/备案凭证号" prop="zczbhhzbapzbh"
|
|
|
|
|
show-overflow-tooltip></el-table-column>
|
|
|
|
|
<el-table-column width="150" label="生产厂家" prop="ylqxzcrbarmc"
|
|
|
|
|
<el-table-column width="200" label="生产厂家" prop="ylqxzcrbarmc"
|
|
|
|
|
show-overflow-tooltip></el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
@ -272,7 +272,7 @@ export default {
|
|
|
|
|
auditOrder(row) {
|
|
|
|
|
this.$confirm('请选择审核意见', '提示', {
|
|
|
|
|
confirmButtonText: '确定',
|
|
|
|
|
cancelButtonText: '取消',
|
|
|
|
|
cancelButtonText: '驳回',
|
|
|
|
|
type: 'warning',
|
|
|
|
|
center: true
|
|
|
|
|
}).then(() => {
|
|
|
|
@ -290,7 +290,23 @@ export default {
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
this.$message.error(error.message);
|
|
|
|
|
})
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
}).catch((action) => {
|
|
|
|
|
if (action === "cancel") {
|
|
|
|
|
let params = {
|
|
|
|
|
id: row.id,
|
|
|
|
|
status: 0
|
|
|
|
|
};
|
|
|
|
|
updateStatus(params).then((res) => {
|
|
|
|
|
if (res.code === 20000) {
|
|
|
|
|
this.$message.success("审核通过!");
|
|
|
|
|
this.getList();
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.message);
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
this.$message.error(error.message);
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
deleteDialog(id) {
|
|
|
|
|