领料出库
This commit is contained in:
parent
edf3233332
commit
73354af9bc
|
|
@ -118,7 +118,7 @@
|
||||||
label="申请数量"
|
label="申请数量"
|
||||||
align="center"
|
align="center"
|
||||||
prop="preCountNum"
|
prop="preCountNum"
|
||||||
width="110px"
|
width="80px"
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
@ -127,7 +127,7 @@
|
||||||
label="已出库数量"
|
label="已出库数量"
|
||||||
align="center"
|
align="center"
|
||||||
prop="alNum"
|
prop="alNum"
|
||||||
width="110px"
|
width="80px"
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
@ -175,7 +175,7 @@
|
||||||
:show-overflow-tooltip="true"
|
:show-overflow-tooltip="true"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<el-table-column label="操作" align="center" width="230">
|
<el-table-column label="操作" align="center" width="270">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
|
|
@ -189,7 +189,7 @@
|
||||||
style="margin-bottom: 10px"
|
style="margin-bottom: 10px"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="handleOut(scope.row)"
|
@click="handleOut(scope.row)"
|
||||||
v-if="scope.row.taskStatus != 5"
|
v-if="scope.row.taskStatus != 4"
|
||||||
v-hasPermi="['purchase:info:edit']"
|
v-hasPermi="['purchase:info:edit']"
|
||||||
>出库</el-button
|
>出库</el-button
|
||||||
>
|
>
|
||||||
|
|
@ -197,15 +197,15 @@
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="warning"
|
type="warning"
|
||||||
@click="handlePrint(scope.row)"
|
@click="handleLld(scope.row)"
|
||||||
v-if="scope.row.taskStatus == 5"
|
v-if="scope.row.taskStatus == 4"
|
||||||
>领料单</el-button
|
>领料单</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="warning"
|
type="warning"
|
||||||
@click="handlePrint(scope.row)"
|
@click="handlePrint(scope.row)"
|
||||||
v-if="scope.row.taskStatus == 5"
|
v-if="scope.row.taskStatus == 4"
|
||||||
>出库检验单</el-button
|
>出库检验单</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -644,11 +644,12 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getListLeaseApply } from "@/api/lease/apply";
|
import { getListLeaseApply, getApplyInfo } from "@/api/lease/apply";
|
||||||
import { outInfoList, getDetailsByTypeId, submitOut } from "@/api/lease/out";
|
import { outInfoList, getDetailsByTypeId, submitOut } from "@/api/lease/out";
|
||||||
|
import vueEasyPrint from "vue-easy-print";
|
||||||
export default {
|
export default {
|
||||||
dicts: ["lease_task_status"],
|
dicts: ["lease_task_status"],
|
||||||
// components: { vueEasyPrint },
|
components: { vueEasyPrint },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
|
|
@ -716,6 +717,10 @@ export default {
|
||||||
outNum: 0,
|
outNum: 0,
|
||||||
outObj: {},
|
outObj: {},
|
||||||
parentIdTemp: undefined,
|
parentIdTemp: undefined,
|
||||||
|
//领料单
|
||||||
|
leaseApplyDetails: [],
|
||||||
|
// 领料任务详情数据
|
||||||
|
leaseApplyData: {},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
@ -732,6 +737,7 @@ export default {
|
||||||
manageType: 0,
|
manageType: 0,
|
||||||
maId: item.maId,
|
maId: item.maId,
|
||||||
parentId: this.parentIdTemp,
|
parentId: this.parentIdTemp,
|
||||||
|
outNum: 1,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
this.single = selection.length != 1;
|
this.single = selection.length != 1;
|
||||||
|
|
@ -803,10 +809,10 @@ export default {
|
||||||
|
|
||||||
//编码出库
|
//编码出库
|
||||||
codeOut(row) {
|
codeOut(row) {
|
||||||
// this.title = '编码出库'
|
this.title = "编码出库";
|
||||||
this.openCode = true;
|
this.openCode = true;
|
||||||
// this.resetForm("codeOutForm");
|
// this.resetForm("codeOutForm");
|
||||||
// this.resetForm("outQuery");
|
this.resetForm("outQuery");
|
||||||
this.parentIdTemp = row.parentId;
|
this.parentIdTemp = row.parentId;
|
||||||
this.outNum = row.outNum;
|
this.outNum = row.outNum;
|
||||||
this.outQuery.typeId = row.typeId;
|
this.outQuery.typeId = row.typeId;
|
||||||
|
|
@ -872,6 +878,18 @@ export default {
|
||||||
this.openPrint = true;
|
this.openPrint = true;
|
||||||
this.title = "机具设备到货验收单";
|
this.title = "机具设备到货验收单";
|
||||||
},
|
},
|
||||||
|
|
||||||
|
//打开领料单
|
||||||
|
async handleLld(row) {
|
||||||
|
this.open = true;
|
||||||
|
var ids = row.id;
|
||||||
|
const res = await getApplyInfo(ids);
|
||||||
|
console.log(res);
|
||||||
|
this.leaseApplyDetails = res.data.leaseApplyDetailsList;
|
||||||
|
this.leaseApplyData = res.data.leaseApplyInfo;
|
||||||
|
console.log(this.leaseApplyData);
|
||||||
|
},
|
||||||
|
|
||||||
//打印
|
//打印
|
||||||
print() {
|
print() {
|
||||||
this.$refs.remarksPrintRef.print();
|
this.$refs.remarksPrintRef.print();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue