diff --git a/api/basic/employee.js b/api/basic/employee.js
index 6bc29da..b15da36 100644
--- a/api/basic/employee.js
+++ b/api/basic/employee.js
@@ -84,4 +84,11 @@ export function delEmployeeLineRel(id) {
url: '/basic/employee/line-rel/' + id,
method: 'delete'
})
+}
+
+export function getEmployeeByCode(code) {
+ return request({
+ url: '/basic/employee/getEmpByCode/' + code,
+ method: 'get'
+ })
}
\ No newline at end of file
diff --git a/pages/les/bindMaterial.vue b/pages/les/bindMaterial.vue
index e9000a8..b9d84f6 100644
--- a/pages/les/bindMaterial.vue
+++ b/pages/les/bindMaterial.vue
@@ -73,7 +73,6 @@ export default {
bind(_this.formData).then(res => {
_this.$modal.closeLoading();
_this.$modal.msgSuccess("绑定成功!");
- _this.reset();
setTimeout(() => {
this.$tab.switchTab("/pages/work/index");
}, 500);
@@ -102,7 +101,6 @@ export default {
unBind(_this.formData.locationCode).then(res => {
_this.$modal.closeLoading();
_this.$modal.msgSuccess("解绑成功!");
- _this.reset();
setTimeout(() => {
this.$tab.switchTab("/pages/work/index");
}, 500);
@@ -117,13 +115,6 @@ export default {
});
})
},
-
- reset() {
- this.formData = {
- locationCode: null,
- batchNo: null,
- };
- }
}
}
diff --git a/pages/les/callMaterial.vue b/pages/les/callMaterial.vue
index 06be98a..2375be6 100644
--- a/pages/les/callMaterial.vue
+++ b/pages/les/callMaterial.vue
@@ -75,7 +75,6 @@ export default {
addDeliveryTask(_this.formData).then(res => {
_this.$modal.closeLoading();
_this.$modal.msgSuccess("提交成功!");
- _this.reset();
setTimeout(() => {
_this.$tab.switchTab("/pages/work/index");
}, 500);
@@ -85,11 +84,6 @@ export default {
}
})
},
-
- reset() {
- this.formData.srcLocationCode = null;
- this.formData.destLocationCode = null;
- }
}
}
diff --git a/pages/les/deliveryMaterial.vue b/pages/les/deliveryMaterial.vue
index 5b8edda..9309c04 100644
--- a/pages/les/deliveryMaterial.vue
+++ b/pages/les/deliveryMaterial.vue
@@ -72,7 +72,6 @@ export default {
delivery(_this.formData).then(res => {
_this.$modal.closeLoading();
_this.$modal.msgSuccess("提交成功!");
- _this.reset();
setTimeout(() => {
this.$tab.switchTab("/pages/work/index");
}, 500);
@@ -96,7 +95,6 @@ export default {
cancel(arr).then(res => {
_this.$modal.closeLoading();
_this.$modal.msgSuccess("取消成功!");
- _this.reset();
setTimeout(() => {
this.$tab.switchTab("/pages/work/index");
}, 500);
@@ -108,16 +106,6 @@ export default {
});
})
},
- reset() {
- this.formData = {
- id: null,
- srcLocationCode: null,
- taskTyp: null,
- robotType: null,
- ctnrTyp: null,
- };
- this.destLocationCode = null;
- }
}
}
diff --git a/pages/les/returnPallet.vue b/pages/les/returnPallet.vue
index c45d729..f124933 100644
--- a/pages/les/returnPallet.vue
+++ b/pages/les/returnPallet.vue
@@ -66,7 +66,6 @@ export default {
addDeliveryTask(_this.formData).then(res => {
_this.$modal.closeLoading();
_this.$modal.msgSuccess("提交成功!");
- _this.reset();
setTimeout(() => {
this.$tab.switchTab("/pages/work/index");
}, 500);
@@ -76,10 +75,6 @@ export default {
}
})
},
- reset() {
- this.formData.srcLocationCode = null;
- this.formData.destLocationCode = null;
- }
}
}
diff --git a/pages/mes/jobReport/commissionRecord.vue b/pages/mes/jobReport/commissionRecord.vue
index 5c87b00..d1787f3 100644
--- a/pages/mes/jobReport/commissionRecord.vue
+++ b/pages/mes/jobReport/commissionRecord.vue
@@ -21,14 +21,10 @@
-
-
-
+
-
-
-
+
@@ -56,7 +52,9 @@