瀏覽代碼

车间派工单

chenc 4 年之前
父節點
當前提交
b4657278b1

+ 2 - 1
src/app/core/startup/startup.service.ts

@@ -152,7 +152,8 @@ export class StartupService {
         // 设置页面标题的后缀
         this.titleService.default = '';
         // this.titleService.suffix = "方达项目管理系统";
-        this.titleService.suffix=this.i18NService.fanyi("app.login.title");
+        // this.titleService.suffix=this.i18NService.fanyi("app.login.title");
+        this.titleService.suffix="福玻斯";
       },
         () => { },
         () => {

+ 30 - 0
src/app/entity/fbs/fbs-workshop-dispatch-list.ts

@@ -0,0 +1,30 @@
+import { Page } from '../page';
+
+export class FbsWorkshopDispatchList extends Page{
+  /**车间派工单主键*/
+	id?:string;
+	/**姓名*/
+	name?:string;
+	/**U8获取*/
+	idU8?:string;
+	/**U8获取*/
+	nameU8?:string;
+	/**日期*/
+	date?:string;
+	/**生产订单号id*/
+	productionOrderNumberId?:string;
+	/**生产订单号名称*/
+	productionOrderNumberName?:string;
+	/**产品*/
+	product?:string;
+	/**任务数量*/
+	numberOfTasks?:number;
+	/**标准工时*/
+	standardWorkingHours?:string;
+	/**计划开工时间*/
+	plannedStartTime?:string;
+	/**计划完工时间*/
+	plannedEndTime?:string;
+	/**备注*/
+	memo?:string;
+}

+ 4 - 4
src/app/layout/default/header/header.component.html

@@ -36,9 +36,9 @@
   <!-- <header-search class="alain-default__search" [toggleChange]="searchToggleStatus"></header-search> -->
   <ul class="alain-default__nav">
     <!-- Notify -->
-    <li>
+    <!-- <li>
       <header-notify></header-notify>
-    </li>
+    </li> -->
     <!-- Task -->
     <!-- <li class="hidden-mobile">
       <header-task></header-task>
@@ -48,7 +48,7 @@
       <header-icon></header-icon>
     </li> -->
     <!-- Settings -->
-    <li class="hidden-mobile">
+    <!-- <li class="hidden-mobile">
       <nz-dropdown nzTrigger="click" nzPlacement="bottomRight">
         <div class="alain-default__nav-item" nz-dropdown>
           <i nz-icon type="setting"></i>
@@ -65,7 +65,7 @@
           </div>
         </div>
       </nz-dropdown>
-    </li>
+    </li> -->
     <li class="hidden-mobile">
       <header-user></header-user>
     </li>

+ 4 - 2
src/app/layout/passport/passport.component.html

@@ -4,8 +4,10 @@
     <div class="top">
       <div class="head">
         <img class="logo" src="./assets/fangda_logo_b.png">
-        <span class="title">{{'app.login.title' | translate}}</span><span
-          style="margin-left: 10px;"><strong>(v20.0924)</strong></span>
+        <!-- <span class="title">{{'app.login.title' | translate}}</span><span
+          style="margin-left: 10px;"><strong>(v20.0924)</strong></span> -->
+          <span class="title">福玻斯</span><span
+          style="margin-left: 10px;"><strong>(v20.1013)</strong></span>
         <!-- 测试包才有 -->
         <!-- <span class="title" >(<span style="color: red;">测试</span>)</span> -->
       </div>

+ 70 - 0
src/app/routes/fbs-workshop-dispatch-list/add/add.component.html

@@ -0,0 +1,70 @@
+<nz-spin [nzSpinning]="saveLoading">
+  <nz-table nzSize="small" [nzNoResult]="' '" nzBordered #basicTable [nzShowPagination]="false">
+    <thead>
+      <tr>
+        <!-- 派工单 -->
+        <th colspan="4"><strong>派工单</strong></th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td style="width: 25%;">姓名</td>
+        <td style="width: 25%;">
+          <nz-select [(ngModel)]="fbsWorkshopDispatchList.idU8" style="width: 100%;" nzShowSearch nzAllowClear
+            nzPlaceHolder="请选择">
+            <ng-container *ngFor="let proper of properList">
+              <nz-option [nzLabel]="proper.id" [nzValue]="proper.name"> </nz-option>
+            </ng-container>
+          </nz-select>
+        </td>
+        <td style="width: 25%;">日期</td>
+        <td style="width: 25%;">
+          <nz-date-picker [(ngModel)]="fbsWorkshopDispatchList.date" nzPlaceHolder="请选择">
+          </nz-date-picker>
+        </td>
+      </tr>
+      <tr>
+        <td>生产订单号</td>
+        <td>
+          <nz-select [(ngModel)]="fbsWorkshopDispatchList.productionOrderNumberId" style="width: 100%;" nzShowSearch nzAllowClear
+            nzPlaceHolder="请选择">
+            <ng-container *ngFor="let productionOrderNumber of productionOrderNumberList">
+              <nz-option [nzLabel]="productionOrderNumber.id" [nzValue]="productionOrderNumber.name"> </nz-option>
+            </ng-container>
+          </nz-select>
+        </td>
+        <td>产品</td>
+        <td>
+          
+        </td>
+      </tr>
+      <tr>
+        <td>任务数量</td>
+        <td></td>
+        <td>标准工时</td>
+        <td></td>
+      </tr>
+      <tr>
+        <td>计划开工时间</td>
+        <td></td>
+        <td>计划完工时间</td>
+        <td></td>
+      </tr>
+      <tr>
+        <td colSpan="4">备注</td>
+      </tr>
+    </tbody>
+  </nz-table>
+</nz-spin>
+<!-- 底部按钮 -->
+<div class="base">
+  <!-- 底部关闭按钮 -->
+  <a nz-popconfirm style="margin-right: 2%" nzTitle="确认关闭吗(关闭前请确认数据已保存)"
+    (nzOnConfirm)="close()">
+    <button nz-button class="ant-btn buttonDistance"><span>关闭
+      </span></button>
+  </a>
+  <!-- 底部保存按钮 -->
+  <button nzbutton (click)="save()" nz-button nzType="primary"
+    [nzLoading]="saveLoading"><span>保存</span></button>
+</div>

+ 24 - 0
src/app/routes/fbs-workshop-dispatch-list/add/add.component.spec.ts

@@ -0,0 +1,24 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { FbsWorkshopDispatchListAddComponent } from './add.component';
+
+describe('FbsWorkshopDispatchListAddComponent', () => {
+  let component: FbsWorkshopDispatchListAddComponent;
+  let fixture: ComponentFixture<FbsWorkshopDispatchListAddComponent>;
+
+  beforeEach(async(() => {
+    TestBed.configureTestingModule({
+      declarations: [ FbsWorkshopDispatchListAddComponent ]
+    })
+    .compileComponents();
+  }));
+
+  beforeEach(() => {
+    fixture = TestBed.createComponent(FbsWorkshopDispatchListAddComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 54 - 0
src/app/routes/fbs-workshop-dispatch-list/add/add.component.ts

@@ -0,0 +1,54 @@
+import { Component, OnInit } from '@angular/core';
+import { NzModalRef, NzMessageService, NzDrawerRef } from 'ng-zorro-antd';
+import { _HttpClient } from '@delon/theme';
+import { FbsWorkshopDispatchList } from 'app/entity/fbs/fbs-workshop-dispatch-list';
+
+@Component({
+  selector: 'app-fbs-workshop-dispatch-list-add',
+  templateUrl: './add.component.html',
+  styles: [
+    `
+    .base{
+      position: absolute;
+      bottom: 0px;
+      width: 100%;
+      border-top: 1px solid rgb(232, 232, 232);
+      padding: 10px 16px;
+      text-align: right;
+      left: 0px;
+      background: #fff;
+      z-index:99;
+    }
+
+    `
+  ]
+})
+export class FbsWorkshopDispatchListAddComponent implements OnInit {
+
+  constructor(
+    private drawerRef:NzDrawerRef
+  ) { 
+    
+  }
+
+  ngOnInit(): void {
+  }
+
+  saveLoading=false;//加载动态
+  properList=[{id:"张三",name:"张三"}]
+  productionOrderNumberList=[]
+  fbsWorkshopDispatchList:FbsWorkshopDispatchList={}
+
+
+  /**
+   * 保存
+   */
+  save(){
+
+  }
+
+  close() {
+     //抽屉关闭
+     this.drawerRef.close();
+  }
+}

+ 13 - 0
src/app/routes/fbs-workshop-dispatch-list/fbs-workshop-dispatch-list-routing.module.ts

@@ -0,0 +1,13 @@
+import { NgModule } from '@angular/core';
+import { Routes, RouterModule } from '@angular/router';
+import { FbsWorkshopDispatchListListComponent } from './list/list.component';
+
+const routes: Routes = [
+
+  { path: 'list', component: FbsWorkshopDispatchListListComponent }];
+
+@NgModule({
+  imports: [RouterModule.forChild(routes)],
+  exports: [RouterModule]
+})
+export class FbsWorkshopDispatchListRoutingModule { }

+ 27 - 0
src/app/routes/fbs-workshop-dispatch-list/fbs-workshop-dispatch-list.module.ts

@@ -0,0 +1,27 @@
+import { NgModule } from '@angular/core';
+import { SharedModule } from '@shared';
+import { FbsWorkshopDispatchListRoutingModule } from './fbs-workshop-dispatch-list-routing.module';
+import { FbsWorkshopDispatchListListComponent } from './list/list.component';
+import { FbsWorkshopDispatchListAddComponent } from './add/add.component';
+import { FbsWorkshopDispatchListUpdateComponent } from './update/update.component';
+import { FbsWorkshopDispatchListViewComponent } from './view/view.component';
+
+const COMPONENTS = [
+  FbsWorkshopDispatchListListComponent];
+const COMPONENTS_NOROUNT = [
+  FbsWorkshopDispatchListAddComponent,
+  FbsWorkshopDispatchListUpdateComponent,
+  FbsWorkshopDispatchListViewComponent];
+
+@NgModule({
+  imports: [
+    SharedModule,
+    FbsWorkshopDispatchListRoutingModule
+  ],
+  declarations: [
+    ...COMPONENTS,
+    ...COMPONENTS_NOROUNT
+  ],
+  entryComponents: COMPONENTS_NOROUNT
+})
+export class FbsWorkshopDispatchListModule { }

+ 50 - 0
src/app/routes/fbs-workshop-dispatch-list/list/list.component.html

@@ -0,0 +1,50 @@
+<page-header [action]="phActionTpl">
+  <ng-template #phActionTpl>
+    <button (click)="add()" nz-button nzType="primary">新建</button>
+  </ng-template>
+</page-header>
+<nz-card>
+  <!-- 数据表 -->
+  <nz-table nzSize="small" class="buttonDistance" [nzData]="dataList" [nzLoading]="isLoading"
+    [nzFrontPagination]="false" #borderedTable [nzTotal]="page.total" [nzPageIndex]="page.current"
+    (nzPageIndexChange)="pageIndexChange($event)">
+    <thead>
+      <tr>
+        <th>姓名</th>
+        <th>日期</th>
+        <th>生产订单号</th>
+        <th>产品</th>
+        <th>任务数量</th>
+        <th>标准工时</th>
+        <th>计划开工时间</th>
+        <th>计划完工时间</th>
+        <th style="width:15%">{{ 'table.operation' | translate }}</th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr *ngFor="let item of  borderedTable.data">
+        <!-- <td >{{item.milestoneCode}}</td> -->
+        <td></td>
+        <td></td>
+        <td></td>
+        <td></td>
+        <td></td>
+        <td></td>
+        <td></td>
+        <td></td>
+        <td>
+          <!-- 详情 -->
+          <a (click)="view(item)">{{ 'table.view' | translate }}</a>
+          <!-- 修改 -->
+          <span>&nbsp;|&nbsp;</span>
+          <a (click)="update(item)">{{ 'contract.index.update' | translate }}</a>
+          <!-- 删除 -->
+          <span>&nbsp;|&nbsp;</span>
+          <a nz-popconfirm nzTitle="是否删除" nzOkText="是" nzCancelText="否"
+            (nzOnConfirm)="delete(item)">{{ 'table.delete' | translate }}</a>
+
+        </td>
+      </tr>
+    </tbody>
+  </nz-table>
+</nz-card>

+ 24 - 0
src/app/routes/fbs-workshop-dispatch-list/list/list.component.spec.ts

@@ -0,0 +1,24 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { FbsWorkshopDispatchListListComponent } from './list.component';
+
+describe('FbsWorkshopDispatchListListComponent', () => {
+  let component: FbsWorkshopDispatchListListComponent;
+  let fixture: ComponentFixture<FbsWorkshopDispatchListListComponent>;
+
+  beforeEach(async(() => {
+    TestBed.configureTestingModule({
+      declarations: [ FbsWorkshopDispatchListListComponent ]
+    })
+    .compileComponents();
+  }));
+
+  beforeEach(() => {
+    fixture = TestBed.createComponent(FbsWorkshopDispatchListListComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 88 - 0
src/app/routes/fbs-workshop-dispatch-list/list/list.component.ts

@@ -0,0 +1,88 @@
+import { Component, OnInit, ViewChild } from '@angular/core';
+import { _HttpClient, ModalHelper } from '@delon/theme';
+import { STColumn, STComponent } from '@delon/abc';
+import { SFSchema } from '@delon/form';
+import { NzDrawerService } from 'ng-zorro-antd';
+import { FbsWorkshopDispatchListAddComponent } from '../add/add.component';
+import { FbsWorkshopDispatchList } from 'app/entity/fbs/fbs-workshop-dispatch-list';
+import { FbsWorkshopDispatchListUpdateComponent } from '../update/update.component';
+import { FbsWorkshopDispatchListViewComponent } from '../view/view.component';
+
+@Component({
+  selector: 'app-fbs-workshop-dispatch-list-list',
+  templateUrl: './list.component.html',
+})
+export class FbsWorkshopDispatchListListComponent implements OnInit {
+  constructor(private nzDrawerService: NzDrawerService) {}
+
+  ngOnInit() {}
+
+  dataList = [{}]; //表格数据
+  isLoading = false; //表格加载
+  page = {
+    total: 0,
+    current: 0,
+    size: 0,
+  };
+  fbsWorkshopDispatchList: FbsWorkshopDispatchList = {}; //派工单对象
+
+  // 按页码查询
+  pageIndexChange(event) {
+    this.fbsWorkshopDispatchList.pageNo = event;
+    //主数据刷新
+  }
+
+  /**
+   * 新增页面
+   */
+  add() {
+    //打开新增抽屉
+    const drawerRef = this.nzDrawerService.create<FbsWorkshopDispatchListAddComponent>({
+      nzTitle: '新增车间派工单',
+      nzContent: FbsWorkshopDispatchListAddComponent,
+      nzWidth: window.innerWidth,
+      nzBodyStyle: { height: 'calc(100% - 55px)', overflow: 'auto', 'padding-bottom': '53px' },
+      nzContentParams: {},
+    });
+
+    //关闭抽屉的回调
+    drawerRef.afterClose.subscribe(isRefresh => {
+      if (isRefresh) {
+        //刷新list列表
+        // this.getPreList();
+      }
+    });
+  }
+
+  view() {
+    //打开详情抽屉
+    const drawerRef = this.nzDrawerService.create<FbsWorkshopDispatchListViewComponent>({
+      nzTitle: '详情车间派工单',
+      nzContent: FbsWorkshopDispatchListViewComponent,
+      nzWidth: window.innerWidth,
+      nzBodyStyle: { height: 'calc(100% - 55px)', overflow: 'auto', 'padding-bottom': '53px' },
+      nzContentParams: {},
+    });
+  }
+
+  update() {
+    //打开修改抽屉
+    const drawerRef = this.nzDrawerService.create<FbsWorkshopDispatchListUpdateComponent>({
+      nzTitle: '修改车间派工单',
+      nzContent: FbsWorkshopDispatchListUpdateComponent,
+      nzWidth: window.innerWidth,
+      nzBodyStyle: { height: 'calc(100% - 55px)', overflow: 'auto', 'padding-bottom': '53px' },
+      nzContentParams: {},
+    });
+
+    //关闭抽屉的回调
+    drawerRef.afterClose.subscribe(isRefresh => {
+      if (isRefresh) {
+        //刷新list列表
+        // this.getPreList();
+      }
+    });
+  }
+
+  delete() {}
+}

+ 70 - 0
src/app/routes/fbs-workshop-dispatch-list/update/update.component.html

@@ -0,0 +1,70 @@
+<nz-spin [nzSpinning]="saveLoading">
+  <nz-table nzSize="small" [nzNoResult]="' '" nzBordered #basicTable [nzShowPagination]="false">
+    <thead>
+      <tr>
+        <!-- 派工单 -->
+        <th colspan="4"><strong>派工单</strong></th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td style="width: 25%;">姓名</td>
+        <td style="width: 25%;">
+          <nz-select [(ngModel)]="fbsWorkshopDispatchList.idU8" style="width: 100%;" nzShowSearch nzAllowClear
+            nzPlaceHolder="请选择">
+            <ng-container *ngFor="let proper of properList">
+              <nz-option [nzLabel]="proper.id" [nzValue]="proper.name"> </nz-option>
+            </ng-container>
+          </nz-select>
+        </td>
+        <td style="width: 25%;">日期</td>
+        <td style="width: 25%;">
+          <nz-date-picker [(ngModel)]="fbsWorkshopDispatchList.date" nzPlaceHolder="请选择">
+          </nz-date-picker>
+        </td>
+      </tr>
+      <tr>
+        <td>生产订单号</td>
+        <td>
+          <nz-select [(ngModel)]="fbsWorkshopDispatchList.productionOrderNumberId" style="width: 100%;" nzShowSearch nzAllowClear
+            nzPlaceHolder="请选择">
+            <ng-container *ngFor="let productionOrderNumber of productionOrderNumberList">
+              <nz-option [nzLabel]="productionOrderNumber.id" [nzValue]="productionOrderNumber.name"> </nz-option>
+            </ng-container>
+          </nz-select>
+        </td>
+        <td>产品</td>
+        <td>
+          
+        </td>
+      </tr>
+      <tr>
+        <td>任务数量</td>
+        <td></td>
+        <td>标准工时</td>
+        <td></td>
+      </tr>
+      <tr>
+        <td>计划开工时间</td>
+        <td></td>
+        <td>计划完工时间</td>
+        <td></td>
+      </tr>
+      <tr>
+        <td colSpan="4">备注</td>
+      </tr>
+    </tbody>
+  </nz-table>
+</nz-spin>
+<!-- 底部按钮 -->
+<div class="base">
+  <!-- 底部关闭按钮 -->
+  <a nz-popconfirm style="margin-right: 2%" nzTitle="确认关闭吗(关闭前请确认数据已保存)"
+    (nzOnConfirm)="close()">
+    <button nz-button class="ant-btn buttonDistance"><span>关闭
+      </span></button>
+  </a>
+  <!-- 底部保存按钮 -->
+  <button nzbutton (click)="save()" nz-button nzType="primary"
+    [nzLoading]="saveLoading"><span>保存</span></button>
+</div>

+ 24 - 0
src/app/routes/fbs-workshop-dispatch-list/update/update.component.spec.ts

@@ -0,0 +1,24 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { FbsWorkshopDispatchListUpdateComponent } from './update.component';
+
+describe('FbsWorkshopDispatchListUpdateComponent', () => {
+  let component: FbsWorkshopDispatchListUpdateComponent;
+  let fixture: ComponentFixture<FbsWorkshopDispatchListUpdateComponent>;
+
+  beforeEach(async(() => {
+    TestBed.configureTestingModule({
+      declarations: [ FbsWorkshopDispatchListUpdateComponent ]
+    })
+    .compileComponents();
+  }));
+
+  beforeEach(() => {
+    fixture = TestBed.createComponent(FbsWorkshopDispatchListUpdateComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 54 - 0
src/app/routes/fbs-workshop-dispatch-list/update/update.component.ts

@@ -0,0 +1,54 @@
+import { Component, OnInit } from '@angular/core';
+import { NzModalRef, NzMessageService, NzDrawerRef } from 'ng-zorro-antd';
+import { _HttpClient } from '@delon/theme';
+import { FbsWorkshopDispatchList } from 'app/entity/fbs/fbs-workshop-dispatch-list';
+
+@Component({
+  selector: 'app-fbs-workshop-dispatch-list-update',
+  templateUrl: './update.component.html',
+  styles: [
+    `
+    .base{
+      position: absolute;
+      bottom: 0px;
+      width: 100%;
+      border-top: 1px solid rgb(232, 232, 232);
+      padding: 10px 16px;
+      text-align: right;
+      left: 0px;
+      background: #fff;
+      z-index:99;
+    }
+
+    `
+  ]
+})
+export class FbsWorkshopDispatchListUpdateComponent implements OnInit {
+  
+  constructor(
+    private drawerRef:NzDrawerRef
+  ) { 
+    
+  }
+
+  ngOnInit(): void {
+  }
+
+  saveLoading=false;//加载动态
+  properList=[{id:"张三",name:"张三"}]
+  productionOrderNumberList=[]
+  fbsWorkshopDispatchList:FbsWorkshopDispatchList={}
+
+
+  /**
+   * 保存
+   */
+  save(){
+
+  }
+
+  close() {
+     //抽屉关闭
+     this.drawerRef.close();
+  }
+}

+ 52 - 0
src/app/routes/fbs-workshop-dispatch-list/view/view.component.html

@@ -0,0 +1,52 @@
+<nz-spin [nzSpinning]="saveLoading">
+  <nz-table nzSize="small" [nzNoResult]="' '" nzBordered #basicTable [nzShowPagination]="false">
+    <thead>
+      <tr>
+        <!-- 派工单 -->
+        <th colspan="4"><strong>派工单</strong></th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td style="width: 25%;">姓名</td>
+        <td style="width: 25%;">
+
+        </td>
+        <td style="width: 25%;">日期</td>
+        <td style="width: 25%;">
+
+        </td>
+      </tr>
+      <tr>
+        <td>生产订单号</td>
+        <td>
+
+        </td>
+        <td>产品</td>
+        <td>
+
+        </td>
+      </tr>
+      <tr>
+        <td>任务数量</td>
+        <td></td>
+        <td>标准工时</td>
+        <td></td>
+      </tr>
+      <tr>
+        <td>计划开工时间</td>
+        <td></td>
+        <td>计划完工时间</td>
+        <td></td>
+      </tr>
+      <tr>
+        <td colSpan="4">备注</td>
+      </tr>
+    </tbody>
+  </nz-table>
+</nz-spin>
+<!-- 底部按钮 -->
+<div class="base">
+  <!-- 底部关闭按钮 -->
+    <button (click)="close()" nz-button class="ant-btn buttonDistance">关闭</button>
+</div>

+ 24 - 0
src/app/routes/fbs-workshop-dispatch-list/view/view.component.spec.ts

@@ -0,0 +1,24 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { FbsWorkshopDispatchListViewComponent } from './view.component';
+
+describe('FbsWorkshopDispatchListViewComponent', () => {
+  let component: FbsWorkshopDispatchListViewComponent;
+  let fixture: ComponentFixture<FbsWorkshopDispatchListViewComponent>;
+
+  beforeEach(async(() => {
+    TestBed.configureTestingModule({
+      declarations: [ FbsWorkshopDispatchListViewComponent ]
+    })
+    .compileComponents();
+  }));
+
+  beforeEach(() => {
+    fixture = TestBed.createComponent(FbsWorkshopDispatchListViewComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 52 - 0
src/app/routes/fbs-workshop-dispatch-list/view/view.component.ts

@@ -0,0 +1,52 @@
+import { Component, OnInit } from '@angular/core';
+import { NzModalRef, NzMessageService, NzDrawerRef } from 'ng-zorro-antd';
+import { _HttpClient } from '@delon/theme';
+import { FbsWorkshopDispatchList } from 'app/entity/fbs/fbs-workshop-dispatch-list';
+
+@Component({
+  selector: 'app-fbs-workshop-dispatch-list-view',
+  templateUrl: './view.component.html',
+  styles: [
+    `
+    .base{
+      position: absolute;
+      bottom: 0px;
+      width: 100%;
+      border-top: 1px solid rgb(232, 232, 232);
+      padding: 10px 16px;
+      text-align: right;
+      left: 0px;
+      background: #fff;
+      z-index:99;
+    }
+
+    `
+  ]
+})
+export class FbsWorkshopDispatchListViewComponent implements OnInit {
+  
+  constructor(
+    private drawerRef:NzDrawerRef
+  ) { 
+    
+  }
+
+  ngOnInit(): void {
+  }
+
+  saveLoading=false;//加载动态
+  fbsWorkshopDispatchList:FbsWorkshopDispatchList={}
+
+
+  /**
+   * 保存
+   */
+  save(){
+
+  }
+
+  close() {
+     //抽屉关闭
+     this.drawerRef.close();
+  }
+}

+ 4 - 1
src/app/routes/routes-routing.module.ts

@@ -54,6 +54,8 @@ const routes: Routes = [
       // 质量管理
       { path: 'qualityControl', loadChildren: './quality-control/quality-control.module#QualityControlModule' },
       { path: 'quality-management', loadChildren: './quality-management/quality-management.module#QualityManagementModule' },
+      //车间派工单
+      { path: 'WorkshopDispatchList', loadChildren: './fbs-workshop-dispatch-list/fbs-workshop-dispatch-list.module#FbsWorkshopDispatchListModule' },
     ],
   },
   // 全屏布局
@@ -70,7 +72,8 @@ const routes: Routes = [
       {
         path: 'login',
         component: UserLoginComponent,
-        data: { title: '登录', titleI18n: 'app.login.login' },
+        // data: { title: '登录', titleI18n: 'app.login.login' },
+        data: { title: '登录', titleI18n: '' },
       },
       {
         path: 'register',

+ 3 - 1
src/index.html

@@ -3,7 +3,9 @@
 
 <head>
   <meta charset="utf-8">
-  <title>方达医药平台系统</title>
+  <!-- <title>方达医药平台系统</title> -->
+  
+  <title>福玻斯</title>
   <base href="/">
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <meta http-equiv="x-ua-compatible" content="ie=edge">