工单号: {{ item.orderCode }}
{{ item.orderStatus == 0 ? '进行中' : item.orderStatus == 1 ? '已完成' : '已逾期' }}
@@ -42,6 +51,8 @@
循环执行时间结束: {{ item.planLoopEnd }}
+
+
+
diff --git a/src/pages/equipment/SparepartsInto/model.ts b/src/pages/equipment/SparepartsInto/model.ts
new file mode 100644
index 0000000..c11f93c
--- /dev/null
+++ b/src/pages/equipment/SparepartsInto/model.ts
@@ -0,0 +1,36 @@
+import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decorators';
+import store from '@/store';
+import http from '@/utils/request';
+import { url } from '@/utils/url';
+@Module({
+ namespaced: true,
+ dynamic: true,
+ store,
+ name: 'page.equipment.SparepartsInto',
+})
+export class SparepartsInto extends VuexModule {
+ rowdata: any = [];
+ orderNoItemList: any = [];
+ @MutationAction
+ async queryOrderNo(orderNo: any) {
+ const result: any = await http.get(url.lanjuequipment.product.SparepartsInto.querySpareDetailBySpareCode + orderNo);
+ const orderNoItemList = result.data;
+ return { orderNoItemList };
+ }
+ getsparePartsInOutList: any = [];
+ SubmitCode: any = '';
+ @MutationAction
+ // 点检:spotInspection
+ // 巡检:inspection
+ // 保养:maintenance
+ async sparePartsInOutStorage(query: any) {
+ const result: any = await http.get(url.lanjuequipment.product.SparepartsInto.sparePartsInOutStorage, {
+ //loginName: session.loginName,
+ params: query,
+ });
+ const SubmitCode: [] = result;
+ return { SubmitCode };
+ }
+}
+
+export default getModule(SparepartsInto);
diff --git a/src/pages/equipment/SparepartsIntoOut/index.vue b/src/pages/equipment/SparepartsIntoOut/index.vue
new file mode 100644
index 0000000..2c21df0
--- /dev/null
+++ b/src/pages/equipment/SparepartsIntoOut/index.vue
@@ -0,0 +1,445 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+ 返回
+
+
+
+
+
+
+
+
diff --git a/src/pages/equipment/SparepartsIntoOut/model.ts b/src/pages/equipment/SparepartsIntoOut/model.ts
new file mode 100644
index 0000000..c11f93c
--- /dev/null
+++ b/src/pages/equipment/SparepartsIntoOut/model.ts
@@ -0,0 +1,36 @@
+import { getModule, Module, MutationAction, VuexModule } from 'vuex-module-decorators';
+import store from '@/store';
+import http from '@/utils/request';
+import { url } from '@/utils/url';
+@Module({
+ namespaced: true,
+ dynamic: true,
+ store,
+ name: 'page.equipment.SparepartsInto',
+})
+export class SparepartsInto extends VuexModule {
+ rowdata: any = [];
+ orderNoItemList: any = [];
+ @MutationAction
+ async queryOrderNo(orderNo: any) {
+ const result: any = await http.get(url.lanjuequipment.product.SparepartsInto.querySpareDetailBySpareCode + orderNo);
+ const orderNoItemList = result.data;
+ return { orderNoItemList };
+ }
+ getsparePartsInOutList: any = [];
+ SubmitCode: any = '';
+ @MutationAction
+ // 点检:spotInspection
+ // 巡检:inspection
+ // 保养:maintenance
+ async sparePartsInOutStorage(query: any) {
+ const result: any = await http.get(url.lanjuequipment.product.SparepartsInto.sparePartsInOutStorage, {
+ //loginName: session.loginName,
+ params: query,
+ });
+ const SubmitCode: [] = result;
+ return { SubmitCode };
+ }
+}
+
+export default getModule(SparepartsInto);
diff --git a/src/pages/equipment/Spotcheck/details.vue b/src/pages/equipment/Spotcheck/details.vue
index ce6f948..2bb7127 100644
--- a/src/pages/equipment/Spotcheck/details.vue
+++ b/src/pages/equipment/Spotcheck/details.vue
@@ -389,6 +389,8 @@ export default class ChangePalletNew extends BasePage {
});
return;
}
+ this.detailsinfolist.planPersonName = session.nickName;
+ this.detailsinfolist.planPerson = session.userName;
let query = this.detailsinfolist;
await this.model.updateInspectionRecord(query);
if (this.model.SubmitCode == '200') {
diff --git a/src/pages/equipment/Spotcheck/detailsview.vue b/src/pages/equipment/Spotcheck/detailsview.vue
index 04adc41..519014b 100644
--- a/src/pages/equipment/Spotcheck/detailsview.vue
+++ b/src/pages/equipment/Spotcheck/detailsview.vue
@@ -54,13 +54,13 @@
-
-
点检人:{{ detailsinfolist.planPerson }}
-
点检时间:{{ detailsinfolist.orderStart }}
+
+
点检人:{{ detailsinfolist.planPersonName }}
+
是否异常: {{ detailsinfolist.repairCode == null ? '否' : '是' }}
-
是否异常: {{ detailsinfolist.repairCode == null ? '否' : '是' }}
-
报修单:{{ detailsinfolist.repairCode }}
+
点检时间:{{ detailsinfolist.orderStart }}
+
报修单:{{ detailsinfolist.repairCode }}
@@ -511,6 +511,15 @@ export default class ChangePalletNew extends BasePage {
align-items: center;
margin-bottom: 8px;
}
+ .details1 {
+ justify-content: space-between;
+ display: flex;
+ font-size: 17px;
+ font-weight: 600;
+ // justify-content: space-between;
+ align-items: center;
+ margin-bottom: 8px;
+ }
}
}
.modal {
diff --git a/src/pages/equipment/Spotcheck/index.vue b/src/pages/equipment/Spotcheck/index.vue
index b49e1ff..534b0db 100644
--- a/src/pages/equipment/Spotcheck/index.vue
+++ b/src/pages/equipment/Spotcheck/index.vue
@@ -9,12 +9,23 @@
-
-
+
-
-
+ -->
+
+
+
+
+
+
+ 日期:
+
+
+
+
+
+
+
工单号: {{ item.orderCode }}
{{ item.orderStatus == 0 ? '进行中' : item.orderStatus == 1 ? '已完成' : '已逾期' }}
@@ -27,7 +38,7 @@
创建时间: {{ item.createTime }}
循环执行时间开始: {{ item.planLoopStart }}
-
+
工单号: {{ item.orderCode }}
{{ item.orderStatus == 0 ? '进行中' : item.orderStatus == 1 ? '已完成' : '已逾期' }}
@@ -41,6 +52,7 @@
点检时间: {{ item.orderStart }}
+