|
|
@@ -2097,14 +2097,14 @@
|
|
|
});
|
|
|
},
|
|
|
|
|
|
- async pickAdd(type, dataList) {
|
|
|
+ async pickAdd(data) {
|
|
|
if (this.workListIds.length > 1) {
|
|
|
return this.$message.warning('领料只能选择一个工单!');
|
|
|
} else if (this.workListIds.length < 1) {
|
|
|
return this.$message.warning('请选择工单!');
|
|
|
}
|
|
|
|
|
|
- if (dataList.length == 0) {
|
|
|
+ if (data?.dataList.length == 0) {
|
|
|
this.pickingShow = true;
|
|
|
} else {
|
|
|
const res = await parameterGetByCode({
|