|
@@ -261,7 +261,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.fItemsStatus === 1">计划</span>
|
|
|
<span v-if="scope.row.fItemsStatus === 2">卸货中</span>
|
|
|
- <span v-if="scope.row.fItemsStatus === 3">已卸货</span>
|
|
|
+ <span v-if="scope.row.fItemsStatus === 3">已装货</span>
|
|
|
<span v-if="scope.row.fItemsStatus === 4">已入库</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -334,6 +334,7 @@
|
|
|
<el-dialog
|
|
|
:visible.sync="open"
|
|
|
:close-on-click-modal="false"
|
|
|
+ @close='addCloseDialog'
|
|
|
width="80%"
|
|
|
append-to-body
|
|
|
>
|
|
@@ -1036,7 +1037,7 @@
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.fBillstatus === 40">已出库</span>
|
|
|
<span v-if="scope.row.fBillstatus === 20">卸货中</span>
|
|
|
- <span v-if="scope.row.fBillstatus === 30">已卸货</span>
|
|
|
+ <span v-if="scope.row.fBillstatus === 30">已装货</span>
|
|
|
<span v-if="scope.row.fBillstatus === 10">计划</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -1872,6 +1873,7 @@
|
|
|
:modal="false"
|
|
|
style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
|
|
|
:visible.sync="editDialogVisible_s"
|
|
|
+ :close-on-click-modal="false"
|
|
|
width="70%"
|
|
|
>
|
|
|
<table
|
|
@@ -1998,6 +2000,7 @@
|
|
|
title="收货单打印"
|
|
|
style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
|
|
|
:visible.sync="editDialogVisible_ss"
|
|
|
+ :close-on-click-modal="false"
|
|
|
width="70%"
|
|
|
:modal="false"
|
|
|
>
|
|
@@ -2086,6 +2089,7 @@
|
|
|
title="出库作业单打印"
|
|
|
style="box-shadow: 0 1px 3px rgba(0, 0, 0, 0) !important"
|
|
|
:visible.sync="openPrintJobSheet"
|
|
|
+ :close-on-click-modal="false"
|
|
|
width="70%"
|
|
|
:modal="false"
|
|
|
>
|
|
@@ -2169,8 +2173,10 @@
|
|
|
<td width="290" class="zzss">电话:{{ form.fTel }}</td>
|
|
|
</tr>
|
|
|
</table>
|
|
|
- <button @click="printSomething">打印作业单</button>
|
|
|
- <button @click="closeWindow ">关闭</button>
|
|
|
+ <div style="display: flex; justify-content: space-between">
|
|
|
+ <el-button type="primary" @click="printSomething">打印</el-button>
|
|
|
+ <el-button @click="closeWindow">取消</el-button>
|
|
|
+ </div>
|
|
|
</el-dialog>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -2463,6 +2469,10 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
+ //关闭弹框的事件
|
|
|
+ addCloseDialog(){
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
// 上传成功返回数据
|
|
|
showFile(row) {
|
|
|
for(let list in this.relevantAttachments) {
|
|
@@ -2753,10 +2763,10 @@ export default {
|
|
|
},
|
|
|
// 作业单打印
|
|
|
printJobSheet() {
|
|
|
- if (this.feelDrSelection.length <= 0) {
|
|
|
- this.$message.error("请勾选收款信息!");
|
|
|
- return false;
|
|
|
- }
|
|
|
+ // if (this.feelDrSelection.length <= 0) {
|
|
|
+ // this.$message.error("请勾选收款信息!");
|
|
|
+ // return false;
|
|
|
+ // }
|
|
|
for (let fee in this.feelDrSelection) {
|
|
|
if (!this.feelDrSelection[fee].fCorpid) {
|
|
|
this.$message.error("请维护收款费用客户名称!");
|
|
@@ -3341,6 +3351,8 @@ export default {
|
|
|
this.$set(warehousebillsfees[fees], "fFeeUnitid", warehousebillsfees[fees].fFeeUnitid + "");
|
|
|
this.warehouseDrList.push(warehousebillsfees[fees]);
|
|
|
} */
|
|
|
+ this.dataWithdrawList = []
|
|
|
+ this.dataListSelection = []
|
|
|
this.msgSuccess("出库成功");
|
|
|
this.$refs.tableList.clearSelection();
|
|
|
this.formBrowseStatus = true;
|
|
@@ -3385,6 +3397,12 @@ export default {
|
|
|
},
|
|
|
// 撤回入账
|
|
|
withdrawClick() {
|
|
|
+ for (let li in this.dataWithdrawList) {
|
|
|
+ if (this.dataWithdrawList[li].fBillstatus < 40) {
|
|
|
+ this.$message.error("所选信息中存在未出库数据!");
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ }
|
|
|
let formData = new window.FormData();
|
|
|
// 撤回入库
|
|
|
let withdrawList = JSON.parse(JSON.stringify(this.dataWithdrawList))
|
|
@@ -3483,6 +3501,7 @@ export default {
|
|
|
// 库存明细多选
|
|
|
selectinventory(selection) {
|
|
|
this.printinglist = selection;
|
|
|
+ this.dataWithdrawList = [];
|
|
|
this.dataListSelection = [];
|
|
|
if (!selection || selection.length === 0) {
|
|
|
return false
|