|
|
@ -1050,7 +1050,7 @@ export default {
|
|
|
|
let _this = this;
|
|
|
|
let _this = this;
|
|
|
|
this.$modal.confirm('是否确认工单"' + code + '"的数据项向sap报工?').then(function() {
|
|
|
|
this.$modal.confirm('是否确认工单"' + code + '"的数据项向sap报工?').then(function() {
|
|
|
|
reportSap(code).then(response => {
|
|
|
|
reportSap(code).then(response => {
|
|
|
|
if(response.code ==200){
|
|
|
|
if(response !=null && response.code ==200){
|
|
|
|
_this.$modal.msgSuccess("报工成功");
|
|
|
|
_this.$modal.msgSuccess("报工成功");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
_this.loading = false;
|
|
|
|
_this.loading = false;
|
|
|
|