提交商品添加

2.0-dev
袁野 2 years ago
parent 2c4d2c059b
commit f3b6e26a04
  1. 2
      src/app/admin/goods/goods.module.ts
  2. 2
      src/app/admin/order-manage/goods-order/goods-order.component.html
  3. 2
      src/app/admin/order-manage/order-manage-routing.module.ts
  4. 3
      src/app/admin/order-manage/order-manage.module.ts
  5. 7
      src/app/services/goods/goods.service.ts

@ -9,7 +9,7 @@ import {FormsModule, ReactiveFormsModule} from '_@angular_forms@9.0.7@@angular/f
import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module'; import {BreadcrumbModule} from '../../common/breadcrumb/breadcrumb.module';
import {RegionSelectorModule} from '../../common/region-selector/region-selector.module'; import {RegionSelectorModule} from '../../common/region-selector/region-selector.module';
import {AppCommonModule} from '../../app-common.module'; import {AppCommonModule} from '../../app-common.module';
import {PreviewImageModule} from "../../common/preview-image/preview-image.module"; import {PreviewImageModule} from '../../common/preview-image/preview-image.module';
@NgModule({ @NgModule({

@ -282,7 +282,7 @@
</nz-spin> </nz-spin>
</nz-modal> </nz-modal>
<nz-modal [(nzVisible)]="isVisible" nzTitle="新增数量" (nzOnCancel)="isVisible = false" (nzOnOk)="handleOk()"> <nz-modal [(nzVisible)]="isVisible" nzTitle="新增物流单号" (nzOnCancel)="isVisible = false" (nzOnOk)="handleOk()">
<div nz-row> <div nz-row>
<div nz-col nzSpan="20"> <div nz-col nzSpan="20">
<nz-form-item> <nz-form-item>

@ -13,6 +13,7 @@ import {PreOrderComponent} from './pre-order/pre-order.component';
import {MobileRechargeOrderListComponent} from './mobile-recharge-order-list/mobile-recharge-order-list.component'; import {MobileRechargeOrderListComponent} from './mobile-recharge-order-list/mobile-recharge-order-list.component';
import {HltChargeOrderComponent} from './hlt-charge-order/hlt-charge-order.component'; import {HltChargeOrderComponent} from './hlt-charge-order/hlt-charge-order.component';
import {GoodsOrderComponent} from './goods-order/goods-order.component'; import {GoodsOrderComponent} from './goods-order/goods-order.component';
import {GoodsChildOrderComponent} from './goods-child-order/goods-child-order.component';
const routes: Routes = [ const routes: Routes = [
@ -29,6 +30,7 @@ const routes: Routes = [
{ path: 'discount-package-order-list', component: DicountPackageOrderListComponent}, { path: 'discount-package-order-list', component: DicountPackageOrderListComponent},
{ path: 'hlt-order-list', component: HltChargeOrderComponent}, { path: 'hlt-order-list', component: HltChargeOrderComponent},
{ path: 'goods-order', component: GoodsOrderComponent}, { path: 'goods-order', component: GoodsOrderComponent},
{ path: 'goods-child-order', component: GoodsChildOrderComponent},
]; ];
@NgModule({ @NgModule({

@ -23,9 +23,10 @@ import {MobileRechargeOrderListComponent} from './mobile-recharge-order-list/mob
import { HltChargeOrderComponent } from './hlt-charge-order/hlt-charge-order.component'; import { HltChargeOrderComponent } from './hlt-charge-order/hlt-charge-order.component';
import { GoodsOrderComponent } from './goods-order/goods-order.component'; import { GoodsOrderComponent } from './goods-order/goods-order.component';
import {PreviewImageModule} from "../../common/preview-image/preview-image.module"; import {PreviewImageModule} from "../../common/preview-image/preview-image.module";
import { GoodsChildOrderComponent } from './goods-child-order/goods-child-order.component';
@NgModule({ @NgModule({
declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent, OrderRefundListComponent, KfcOrderListComponent, StarbucksOrderListComponent, MemberChargeOrderListComponent, MobileRechargeOrderListComponent, PreOrderComponent,DicountPackageOrderListComponent, MemberChargeOrderListComponent, DiscountUseConditionListComponent, HltChargeOrderComponent, GoodsOrderComponent], declarations: [OrderOilListComponent, OrderCouponListComponent, OrderIntegralRechargeComponent, OrderRefundListComponent, KfcOrderListComponent, StarbucksOrderListComponent, MemberChargeOrderListComponent, MobileRechargeOrderListComponent, PreOrderComponent,DicountPackageOrderListComponent, MemberChargeOrderListComponent, DiscountUseConditionListComponent, HltChargeOrderComponent, GoodsOrderComponent, GoodsChildOrderComponent],
imports: [ imports: [
CommonModule, CommonModule,
OrderManageRoutingModule, OrderManageRoutingModule,

@ -300,6 +300,13 @@ export class GoodsService {
}); });
} }
public getOrderChildList(param: object, callBack) {
this.http.get(environment.orderUrl + 'goodsOrder/getOrderChildList?' + this.common.getWhereCondition(param)).subscribe(data => {
callBack(data);
});
}
public updateLogisticsNo(param: object, callBack) { public updateLogisticsNo(param: object, callBack) {
this.http.get(environment.orderUrl + 'goodsOrder/updateLogisticsNo?' + this.common.getWhereCondition(param)).subscribe(data => { this.http.get(environment.orderUrl + 'goodsOrder/updateLogisticsNo?' + this.common.getWhereCondition(param)).subscribe(data => {
callBack(data); callBack(data);

Loading…
Cancel
Save