|
|
|
|
92
|
<el-dropdown-menu slot="dropdown">
|
92
|
<el-dropdown-menu slot="dropdown">
|
93
|
<el-dropdown-item command="handleLock" style="background-color: #f5f5f5;">封锁</el-dropdown-item>
|
93
|
<el-dropdown-item command="handleLock" style="background-color: #f5f5f5;">封锁</el-dropdown-item>
|
94
|
<el-dropdown-item command="handleUnLock" style="background-color: #f5f5f5;">取消封锁</el-dropdown-item>
|
94
|
<el-dropdown-item command="handleUnLock" style="background-color: #f5f5f5;">取消封锁</el-dropdown-item>
|
95
|
- <el-dropdown-item command="handleOutbound" style="background-color: #f5f5f5;">出仓</el-dropdown-item>
|
|
|
|
|
95
|
+ <el-dropdown-item command="handleOutbound" style="background-color: #f5f5f5;">入仓</el-dropdown-item>
|
96
|
</el-dropdown-menu>
|
96
|
</el-dropdown-menu>
|
97
|
</el-dropdown>
|
97
|
</el-dropdown>
|
98
|
|
98
|
|
|
|
|
|
104
|
<div class="tabledata-grid">
|
104
|
<div class="tabledata-grid">
|
105
|
<el-table :data="tableData" height="100%" border style="width: 97%;" v-loading="loading" ref="multipleTable" @select="handleTableSelect" @selection-change="handleSelectionChange" @select-all = "selectAll"
|
105
|
<el-table :data="tableData" height="100%" border style="width: 97%;" v-loading="loading" ref="multipleTable" @select="handleTableSelect" @selection-change="handleSelectionChange" @select-all = "selectAll"
|
106
|
:row-class-name="tableRowClassName">
|
106
|
:row-class-name="tableRowClassName">
|
107
|
- <el-table-column type="selection" width="40" header-align="center" align="center"></el-table-column>
|
|
|
108
|
- <el-table-column prop="ware.name" label="仓库名称" width="120" show-overflow-tooltip header-align="center" align="center">
|
|
|
109
|
- </el-table-column>
|
|
|
110
|
- <el-table-column prop="stack.name" label="垛位" width="60" show-overflow-tooltip header-align="center" align="center">
|
|
|
|
|
107
|
+ <el-table-column type="selection" width="40" header-align="center" align="center" fixed></el-table-column>
|
|
|
108
|
+
|
|
|
109
|
+ <el-table-column prop="stack.name" label="垛位" width="100" show-overflow-tooltip header-align="center" align="center">
|
111
|
</el-table-column>
|
110
|
</el-table-column>
|
112
|
<el-table-column prop="layer" label="层数" width="60" show-overflow-tooltip header-align="center" align="center">
|
111
|
<el-table-column prop="layer" label="层数" width="60" show-overflow-tooltip header-align="center" align="center">
|
113
|
</el-table-column>
|
112
|
</el-table-column>
|
114
|
- <el-table-column prop="material.name" label="品名" width="100" show-overflow-tooltip header-align="center" align="center">
|
|
|
|
|
113
|
+ <el-table-column prop="material.name" label="品名" width="120" show-overflow-tooltip header-align="center" align="center">
|
115
|
</el-table-column>
|
114
|
</el-table-column>
|
116
|
- <el-table-column prop="material.standard" label="钢种" width="100" show-overflow-tooltip header-align="center" align="center">
|
|
|
|
|
115
|
+ <el-table-column prop="material.standard" label="钢种" width="120" show-overflow-tooltip header-align="center" align="center">
|
117
|
</el-table-column>
|
116
|
</el-table-column>
|
118
|
- <el-table-column prop="plateNo" label="产品编号" width="200" show-overflow-tooltip header-align="center">
|
|
|
|
|
117
|
+ <el-table-column prop="plateNo" label="产品编号" width="150" show-overflow-tooltip header-align="center">
|
119
|
</el-table-column>
|
118
|
</el-table-column>
|
120
|
- <el-table-column prop="ordNo" label="订单号" width="200" show-overflow-tooltip header-align="center">
|
|
|
|
|
119
|
+ <el-table-column prop="ordNo" label="订单号" width="120" show-overflow-tooltip header-align="center">
|
121
|
</el-table-column>
|
120
|
</el-table-column>
|
122
|
<el-table-column prop="model" label="规格型号" width="160" show-overflow-tooltip header-align="center" align="center">
|
121
|
<el-table-column prop="model" label="规格型号" width="160" show-overflow-tooltip header-align="center" align="center">
|
123
|
</el-table-column>
|
122
|
</el-table-column>
|
124
|
- <el-table-column prop="weight" label="重量" width="120" show-overflow-tooltip align="right" header-align="center">
|
|
|
|
|
123
|
+ <el-table-column prop="weight" label="重量" width="80" show-overflow-tooltip align="left" header-align="center">
|
125
|
</el-table-column>
|
124
|
</el-table-column>
|
126
|
- <el-table-column prop="count" label="数量" width="120" show-overflow-tooltip align="right" header-align="center">
|
|
|
|
|
125
|
+ <el-table-column prop="count" label="数量" width="60" show-overflow-tooltip align="left" header-align="center">
|
127
|
</el-table-column>
|
126
|
</el-table-column>
|
128
|
- <el-table-column prop="contractNo" label="合约号" width="120" show-overflow-tooltip align="right" header-align="center">
|
|
|
|
|
127
|
+ <el-table-column prop="contractNo" label="合约号" width="100" show-overflow-tooltip align="left" header-align="center">
|
129
|
</el-table-column>
|
128
|
</el-table-column>
|
130
|
- <el-table-column prop="carNo" label="入库车号" width="120px" show-overflow-tooltip align="left">
|
|
|
|
|
129
|
+ <el-table-column prop="fkCustomerName" label="货权单位" width="240" show-overflow-tooltip header-align="center">
|
131
|
</el-table-column>
|
130
|
</el-table-column>
|
132
|
- <el-table-column prop="addTime" label="入库时间" width="200px" show-overflow-tooltip align="left">
|
|
|
|
|
131
|
+ <el-table-column prop="customer.name" label="客户名称" width="240" show-overflow-tooltip header-align="center">
|
133
|
</el-table-column>
|
132
|
</el-table-column>
|
134
|
- <el-table-column prop="fkCustomerName" label="货权单位" width="300" show-overflow-tooltip header-align="center">
|
|
|
|
|
133
|
+ <el-table-column prop="receiveAddress" label="收货地址" width="300" show-overflow-tooltip header-align="center">
|
135
|
</el-table-column>
|
134
|
</el-table-column>
|
136
|
- <el-table-column prop="customer.name" label="客户名称" width="300" show-overflow-tooltip header-align="center">
|
|
|
|
|
135
|
+ <el-table-column prop="ware.name" label="仓库名称" width="100" show-overflow-tooltip header-align="center" align="center">
|
137
|
</el-table-column>
|
136
|
</el-table-column>
|
138
|
- <el-table-column prop="receiveAddress" label="收货地址" width="300" show-overflow-tooltip header-align="center">
|
|
|
|
|
137
|
+ <el-table-column prop="carNo" label="入库车号" width="120" show-overflow-tooltip align="left">
|
|
|
138
|
+ </el-table-column>
|
|
|
139
|
+ <el-table-column prop="addTime" label="入库时间" width="180" show-overflow-tooltip align="left">
|
139
|
</el-table-column>
|
140
|
</el-table-column>
|
140
|
- <el-table-column prop="productionPlace" label="产地" width="250" show-overflow-tooltip header-align="center">
|
|
|
|
|
141
|
+ <el-table-column prop="productionPlace" label="产地" width="160" show-overflow-tooltip header-align="center">
|
141
|
</el-table-column>
|
142
|
</el-table-column>
|
142
|
- <el-table-column prop="packNo" label="捆包号" width="180" show-overflow-tooltip header-align="center">
|
|
|
|
|
143
|
+ <el-table-column prop="packNo" label="捆包号" width="140" show-overflow-tooltip header-align="center">
|
143
|
</el-table-column>
|
144
|
</el-table-column>
|
144
|
<el-table-column prop="remark" label="备注" width="150" show-overflow-tooltip header-align="center">
|
145
|
<el-table-column prop="remark" label="备注" width="150" show-overflow-tooltip header-align="center">
|
145
|
</el-table-column>
|
146
|
</el-table-column>
|
146
|
- <el-table-column prop="lockFlag" label="锁定状态" width="200" show-overflow-tooltip header-align="center" :formatter="lockFormatter">
|
|
|
|
|
147
|
+ <el-table-column prop="lockFlag" label="锁定状态" width="100" show-overflow-tooltip header-align="center" :formatter="lockFormatter">
|
147
|
</el-table-column>
|
148
|
</el-table-column>
|
148
|
<el-table-column prop="addUser.userDesc" label="入库操作人" width="120px" show-overflow-tooltip align="left">
|
149
|
<el-table-column prop="addUser.userDesc" label="入库操作人" width="120px" show-overflow-tooltip align="left">
|
149
|
</el-table-column>
|
150
|
</el-table-column>
|
|
|
|
|
633
|
},
|
634
|
},
|
634
|
|
635
|
|
635
|
getTableData() {
|
636
|
getTableData() {
|
636
|
- if(this.query.outFlag == '1' && this.query.inRecordDate == null){
|
|
|
|
|
637
|
+ if(this.query.outFlag == '1' && (this.query.inRecordDate == null || this.query.inRecordDate == '')){
|
637
|
this.$message({
|
638
|
this.$message({
|
638
|
type: 'error',
|
639
|
type: 'error',
|
639
|
message: '查询历史数据请选择入库时间区间',
|
640
|
message: '查询历史数据请选择入库时间区间',
|
|
|
|
|
661
|
packNo: this.query.packNo == 0 ? '' : this.query.packNo.join(','),
|
662
|
packNo: this.query.packNo == 0 ? '' : this.query.packNo.join(','),
|
662
|
remark1: this.query.remark1,
|
663
|
remark1: this.query.remark1,
|
663
|
outFlag: this.query.outFlag,
|
664
|
outFlag: this.query.outFlag,
|
|
|
665
|
+ fromDate:(!this.query.inRecordDate[0]) ? "1970-01-01 00:00:00" : this.query.inRecordDate[0].Format("yyyy-MM-dd HH:mm:ss"), //date类型
|
|
|
666
|
+ toDate :(!this.query.inRecordDate[1]) ? new Date().Format("yyyy-MM-dd HH:mm:ss") :this.query.inRecordDate[1].Format("yyyy-MM-dd HH:mm:ss"),
|
664
|
|
667
|
|
665
|
}
|
668
|
}
|
666
|
//console.log(param);
|
669
|
//console.log(param);
|
|
|
|
|
1055
|
"吊装工",
|
1058
|
"吊装工",
|
1056
|
"计量方式",
|
1059
|
"计量方式",
|
1057
|
"月付方式",
|
1060
|
"月付方式",
|
|
|
1061
|
+ "是否出仓",
|
1058
|
"存储天数"
|
1062
|
"存储天数"
|
1059
|
|
1063
|
|
1060
|
] // 导出的表头名
|
1064
|
] // 导出的表头名
|
|
|
|
|
1082
|
"tallyPeople",
|
1086
|
"tallyPeople",
|
1083
|
"wgtDcnMtcCd",
|
1087
|
"wgtDcnMtcCd",
|
1084
|
"payWay",
|
1088
|
"payWay",
|
|
|
1089
|
+ "outBound",
|
1085
|
"inwareDay"
|
1090
|
"inwareDay"
|
1086
|
]
|
1091
|
]
|
1087
|
for(var i=0;i<imptData.length;i++){
|
1092
|
for(var i=0;i<imptData.length;i++){
|
|
|
|
|
1181
|
}).catch(() => {});
|
1186
|
}).catch(() => {});
|
1182
|
},
|
1187
|
},
|
1183
|
handleOutbound(){
|
1188
|
handleOutbound(){
|
1184
|
- this.$confirm("确认将选中的材料标记为出仓吗?", "提示", {
|
|
|
|
|
1189
|
+ this.$confirm("确认将选中的材料标记为入仓吗?", "提示", {
|
1185
|
confirmButtonText:'确认',
|
1190
|
confirmButtonText:'确认',
|
1186
|
cancelButtonText:'取消',
|
1191
|
cancelButtonText:'取消',
|
1187
|
type: "warning"
|
1192
|
type: "warning"
|
|
|
|
|
1196
|
var url = 'WareStore/Outbound.do'
|
1201
|
var url = 'WareStore/Outbound.do'
|
1197
|
var param = {
|
1202
|
var param = {
|
1198
|
json: JSON.stringify(this.selectRows),
|
1203
|
json: JSON.stringify(this.selectRows),
|
1199
|
- outbound: '已出仓'
|
|
|
|
|
1204
|
+ outbound: '已入仓'
|
1200
|
}
|
1205
|
}
|
1201
|
axios.post(url, param).then(response => {
|
1206
|
axios.post(url, param).then(response => {
|
1202
|
if (response.data.code == 0) {
|
1207
|
if (response.data.code == 0) {
|