oracle11g创建数据库实例_oracle手工建库

oracle11g创建数据库实例_oracle手工建库在经过前面八篇文章(abp(netcore)+easyui+efcore实现仓储管理系统——入库管理之一(三十七)至abp(netcore)+easyui+efcore实现仓储管理系统——入库管理之八(四十四))的学习之后,我们知道了已经基本完成了入库管理功能。在这篇文章中我们来增加更新与删除功能的脚本。十三、修改更新与删除脚本1.在VisualStudio2017的“解决方案资源管理器”中,找到领域层“ABP.TPLMS.Web.Mvc”项目中的wwwroot目录下的vi…

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺

在经过前面八篇文章(abp(net core)+easyui+efcore实现仓储管理系统——入库管理之一(三十七) abp(net core)+easyui+efcore实现仓储管理系统——入库管理之八(四十四) )的学习之后,我们知道了已经基本完成了入库管理功能。在这篇文章中我们来增加更新与删除功能的脚本。

修改更新与删除脚本

    1. 在Visual Studio 2017的“解决方案资源管理器”中,找到领域层“ABP.TPLMS.Web.Mvc”项目中的wwwroot目录下的view-resources\Views\InStock目录中的找到Index.js文件。如下图。

    2. 在Index.js文件中,写入相应的脚本代码。代码如下:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

207

208

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

235

236

237

238

239

240

241

242

243

244

245

246

247

248

249

250

251

252

253

254

255

256

257

258

259

260

261

262

263

264

265

266

267

268

269

270

271

272

273

274

275

276

277

278

279

280

281

282

283

284

285

286

287

288

289

290

291

292

293

294

295

296

297

298

299

300

301

302

303

304

305

306

307

308

309

310

311

312

313

314

315

316

317

318

319

320

321

322

323

324

325

326

327

328

329

330

331

332

333

334

335

336

337

338

339

340

341

342

343

344

345

346

347

348

349

350

351

352

353

354

355

356

357

358

359

360

361

362

363

364

365

366

367

368

369

370

371

372

373

374

375

376

377

378

379

380

381

382

383

384

385

386

387

388

389

390

391

392

393

394

395

396

397

398

399

400

401

402

403

404

405

406

407

408

409

410

411

412

413

414

415

416

417

418

419

420

421

422

423

424

425

426

427

428

429

430

431

432

433

434

435

436

437

438

439

440

441

442

443

444

445

446

447

448

449

450

451

452

453

454

455

456

457

458

459

460

461

462

463

464

465

466

467

468

469

470

471

472

473

474

475

476

477

478

479

480

481

482

483

484

485

486

487

488

489

490

491

492

493

494

495

496

497

498

499

500

501

502

503

504

505

506

507

508

509

510

511

512

513

514

515

516

517

518

519

520

521

522

523

524

525

526

527

528

529

530

531

532

533

534

535

536

537

538

539

540

541

542

543

544

545

546

547

548

549

550

551

552

553

554

555

556

557

558

559

560

561

562

563

564

565

566

567

568

569

570

571

572

573

574

575

576

577

578

579

580

581

582

583

584

585

586

587

588

589

590

591

592

593

594

595

596

597

598

599

600

601

602

603

604

605

606

607

608

609

610

611

612

613

614

615

616

617

618

619

620

621

622

623

624

625

626

627

628

629

630

631

632

633

634

635

636

637

638

639

640

641

642

643

644

645

646

647

648

649

650

651

652

653

654

655

656

657

658

659

660

661

662

663

664

665

666

667

668

669

670

671

672

673

674

675

676

677

678

679

680

681

682

683

684

685

686

687

688

689

690

691

692

693

694

695

696

697

698

699

700

701

702

703

704

705

706

707

708

709

710

711

712

713

714

715

716

717

718

719

720

721

722

723

724

725

726

727

728

729

730

731

732

733

734

735

736

737

738

739

740

//-----------------------系统管理-->入库单管理----------------------//

var editIndex = undefined;

var mainIndex = undefined;

//刷新数据

function initable() {

    $("#dgINSO").datagrid({

        url: "/InStock/List",

        title: "入库单管理",

        pagination: true,

        pageSize: 10,

        pageList: [10, 20, 30],

        fit: true,

        fitColumns: false,

        loadMsg: "正在加载入库单信息...",

        nowarp: false,

        border: false,

        idField: "Id",

        sortName: "Id",

        sortOrder: "asc",

        frozenColumns: [[//冻结列

            { field: "ck", checkbox: true, align: "left", width: 50 }        

        ]],

        columns: [[

            { title: "编号", field: "Id", width: 50, sortable: true },

            { title: "入库单号", field: "No", width: 100, sortable: true },         

            {title: "状态", field: "Status", width: 50            },

            { title: '到货日期', field: 'ReceiveTime',  width: 100, align: 'center' },

            { title: "货主", field: "OwnerCode", width: 150, sortable: true },

            { title: "预计到货时间", field: "PreDeliveryTime", width: 100, sortable: false },

            { title: '客户', field: 'CustomerName', width: 120, align: 'center' },

            { title: '收货人',field: 'Oper', width: 100, align: 'center' },

            { title: '审核人',field: 'Checker', width: 120, align: 'center' },

            { title: '件数', field: 'PackageQty', width: 100, align: 'center' },

           { title: '创建时间', field: 'CreationTime', width: 100, align: 'center' }

        ]]

    });

}

  

//显示送货单数据

function ShowCargo() {

    abp.log.warn('货物信息列表日志...');

    $("#dgCargo").datagrid({

       url: "/Cargo/List",

        title: "货物管理管理",

        pagination: true,

        pageSize: 10,

        pageList: [10, 20, 30],

        fit: true,

        fitColumns: false,

        loadMsg: "正在加载货物信息...",

        nowarp: false,

        border: false,

        idField: "Id",

        sortName: "Id",

        sortOrder: "asc",

        frozenColumns: [[//冻结列

            { field: "ck", checkbox: true, align: "left", width: 50 }

        ]],

        columns: [[

            { title: "编号", field: "Id", width: 50, sortable: true },

            { title: "供应商", field: "SupplierId", width: 80, sortable: true },

            { title: "HSCode", field: "HSCode", width: 100, sortable: true },

            { title: "货物代码", field: "CargoCode", width: 100, sortable: true },

            { title: "货物名称", field: "CargoName", width: 80, sortable: false },

            { title: "规格型号", field: "Spcf", width: 100, sortable: false },

            { title: "产销国", field: "Country", width: 80, sortable: false },

            { title: "计量单位", field: "Unit", width: 100, sortable: false },

            { title: "包装", field: "Package", width: 100, sortable: false },

            { title: "单价", field: "Price", width: 100, sortable: false },

            { title: "币制", field: "Curr", width: 80, sortable: false },

            {

                title: "长宽高", field: "Length", width: 100, sortable: false, formatter: function (value, row, index) {

                    return row.Length + '*' + row.Width + '*' + row.Height;

                }

            },

            { title: "体积", field: "Vol", width: 80, sortable: false },

            { title: "备注", field: "Remark", width: 80, sortable: false },

            { title: '创建时间', field: 'CreationTime', width: 100, align: 'center' }

        ]]      

    });

    abp.log.warn('3货物信息列表日志...');

}

  

function ShowCargoInfo() {

    $("#divImportCargo").dialog({

            closed: false,

            title: "选择货物信息",

            modal: true,

            width: 820,

            height: 550,

            collapsible: true,

            minimizable: true,

            maximizable: true,

            resizable: true

        });

       ShowCargo();

       $("#dgCargo").datagrid("clearChecked");

       $("#dgCargo").datagrid("clearSelections");

}

  

function reloaded() {   //reload

    $("#reload").click(function () {

        //

        $('#dgINSO').datagrid('reload');

    });}

  

//修改点击按钮事件

function updInSOInfo() {   

    $("#edit").click(function () {      

        //判断选择的中

        var row = $("#dgINSO").datagrid('getSelected');      

        if (row) {     

            $.messager.confirm('编辑''您想要编辑吗?'function (r) {

                if (r) {                 

                    //先绑定                   

                    showINO(row);                 

                     //打开对话框编辑

                    $("#divAddUpdINO").dialog({

                        closed: false,

                        title: "修改入库单",

                        modal: true,

                        width: 820,

                        height: 550,

                        collapsible: true,

                        minimizable: true,

                        maximizable: true,

                        resizable: true,

                    });   

                    defaultTab();

                    ShowDetail(row.No);

                }             

            });

            SetEnabled(row.Status);

        else {

            $.messager.alert('提示'' 请选择要编辑的行!''warning');

        }

    }); 

}

//删除入库单

function deleteInSO() {

    $("#del").click(function () {

        var rows = $("#dgINSO").datagrid("getSelections");

        if (rows.length > 0) {

            $.messager.confirm("提示""确定要删除吗?"function (res) {

                if (res) {

                    var codes = []; //重要不是{}

                    for (var i = 0; i < rows.length; i++) {

                        codes.push(rows[i].Id);

                    }

                    $.post("/InStock/Delete", { "ids": codes.join(',') }, function (data) {

                        if (data == "OK") {

                            $.messager.alert("提示""删除成功!");

                            $("#dgINSO").datagrid("clearChecked");

                            $("#dgINSO").datagrid("clearSelections");

                            $("#dgINSO").datagrid("load", {});

                        }                      

                        else if (data == "NO") {

                            $.messager.alert("提示""删除失败!");

                            return;

                        }

                    });

                }

            });

        }

    })

}

//清空文本框

function clearAll() {   

    $("#divAddUpdINO input").each(function () {

            $(this).val("");

        });

    $("#PreDeliveryTimeUpdate").val(getNowFormatDate());   

    $("#StatusUpdate").val("0");

    $("#NwtUpdate").val("0");

    $("#GwtUpdate").val("0");

    $("#PackageQtyUpdate").val("0");  

}

function GetNo() {

    $.get(abp.appPath + "api/services/app/InStockOrder/GetNo"function (data) {

        $("#UpdNO").val(data);

    });

}

//获取当前时间,格式YYYY-MM-DD

function getNowFormatDate() {

    var date = new Date();

    var seperator1 = "-";

    var year = date.getFullYear();

    var month = date.getMonth() + 1;

    var strDate = date.getDate();

    if (month >= 1 && month <= 9) {

        month = "0" + month;

    }

    if (strDate >= 0 && strDate <= 9) {

        strDate = "0" + strDate;

    }

    var currentdate = year + seperator1 + month + seperator1 + strDate;

    return currentdate;

}

  

//将表单数据转为json

function form2Json(id) {

    var arr = $("#" + id).serializeArray()

    var jsonStr = "";

    jsonStr += '{';

    for (var i = 0; i < arr.length; i++) {

        jsonStr += '"' + arr[i].name + '":"' + arr[i].value + '",'

    }

    jsonStr = jsonStr.substring(0, (jsonStr.length - 1));

    jsonStr += '}'

    var json = JSON.parse(jsonStr)

    return json

}

  

function SetEnabled(status) {

    //var status = $("#StatusUpdate").val()

    if (status == "提交") {

        $("#btnSave").prop('disabled'true);

    }

    else {

        $("#btnSave").removeAttr("disabled");

    }

}

  

function defaultTab() {

    //默认显示第一个tab

    $('#box').tabs('select'"入库单");

}

//弹出 导入送货单的的对话框

function showInSODialog() {

    $("#add").click(function () {  

            $.messager.confirm('编辑''您想要创建入库单吗?'function (r) {

                if (r) {

                    //打开对话框编辑

                    $("#divAddUpdINO").dialog({

                        closed: false,

                        title: "新增入库单",

                        modal: true,

                        width: 820,

                        height: 550,

                        collapsible: true,

                        minimizable: true,

                        maximizable: true,

                        resizable: true,

                    });                   

                }

                defaultTab();

                GetNo();

                clearAll();

                ShowDetail("");

            });      

    });

  

    $("#btnSave").click(function () {     

        //保存

        var id = $("#IDUpdate").val();

        if (id == "" || id == undefined) {

            //验证

            $.messager.confirm('确认''您确认要保存吗?'function (r) {

                if (r) {                

                    var postData = GetINO();                  

                    if (postData.No == "" || postData.CustomerCode == "" || postData.CustomerName=="" || postData.OwnerName=="") {

                        $.messager.alert('提示'' 请填写相关必填项!''warning');

                        return;

                    }

                    

                    $.post("/InStock/Add", postData, function (data) {

                        if (data == "OK") {

                           // $("#divAddUpdDO").dialog("close");

                            $.messager.alert("提示""保存成功!");

                            initable();

                            collapseRows();

                        }

                        else if (data == "NO") {

                            $.messager.alert("提示""保存失败!");

                            return;

                        }

                    });

                }

            })

        }

        else {

            saveDetail();

            initable();

            collapseRows();

        }

});

}

  

//添加明细

function ShowDetail(no) {

    var lastIndex;

    $("#dgINOD").datagrid({

        url: "/InStock/GetDetail?no=" + no,

        title: "入库单明细",

        pagination: false,     

        fit: true,

        fitColumns: false,

        loadMsg: "正在加载入库单明细信息...",

        toolbar: [

            { text: '添加明细', iconCls: 'icon-add', handler: function () { ShowCargoInfo(); } },

            { text: '添加库位', iconCls: 'icon-edit', handler: function () { SubGridAddRow(); } },

            { text: '删除', iconCls: 'icon-remove', handler: function () { deviceInfoDeleteClick(); } },

            '-'

        ],

        nowarp: false,

        border: false,

        idField: "Id",

        sortName: "Id",

        sortOrder: "asc",

        singleSelect: true,

        iconCls: 'icon-edit',     

        columns: [[

            { title: "编号", field: "SeqNo", width: 50, sortable: true },

            { title: "入库单号", field: "InStockNo", width: 100, sortable: true },

            { title: "HSCode", field: "HSCode", width: 80, sortable: false },

            { title: "货物代码", field: "CargoCode", width: 100, sortable: true },

            { title: "货物名称", field: "CargoName", width: 160, sortable: false },

            { title: "规格型号", field: "Spcf", width: 80, sortable: false },

            {

                title: "数量", field: "Qty", width: 100, align: 'center', editor: {

                    type: 'numberbox', options: {

                        required: true, min: 0, precision: 4

                    }

                }

            },

            {

                title: "长", field: "Length", width: 70, align: 'center', editor: {

                    type: 'numberbox', options: {

                        required: true, min: 0, precision: 2

                    }

                }

            },

            {    title: "宽", field: "Width", width: 70, align: 'center', editor: {

                    type: 'numberbox', options: {

                        required: true, min: 0, precision: 2

                    }

                }

            },

            {

                title: "高", field: "Height", width: 70, align: 'center', editor: {

                    type: 'numberbox', options: {

                        required: true, min: 0, precision: 2

                    }

                }

            },

            { title: "产销国", field: "Country", width: 70, align: 'center' },

            {

                title: "单价", field: "Price", width: 100, align: 'center', editor: {

                    type: 'numberbox', options: {

                        required: true, min: 0, precision: 2

                    }

                }

            },       

            {

                title: "总价", field: "TotalAmt", width: 100, align: 'center', editor: {

                    type: 'numberbox', options: {

                        required: true, min: 0, precision: 2

                    }

                }

            },

            { title: "包装", field: "Package", width: 70, align: 'center' },

            { title: "计量单位", field: "Unit", width: 70, align: 'center' },

            {

                title: "总体积", field: "Vol", width: 70, align: 'center', editor: {

                    type: 'numberbox', options: {

                        required: true, min: 0, precision: 4

                    }

                }

            },

            { title: "品牌", field: "Brand", width: 70, align: 'center' }

        ]],

         onClickRow: function (index, rowData) {

            if (mainIndex!=undefined) {

                $('#dgINOD').datagrid('collapseRow', mainIndex);

            }

            

            if (lastIndex != index) {

                $('#dgINOD').datagrid('endEdit', lastIndex);

                editrow(index);

            }

            lastIndex = index;         

        },

         

        onBeginEdit: function (rowIndex, rowData) { 

            setEditing(rowIndex);

        }

    });

}

//计算报价小计

function setEditing(rowIndex) {

    var editors = $('#dgINOD').datagrid('getEditors', rowIndex);

    var priceEditor = editors[4];

    var qtyEditor = editors[0];

    var lengthEditor = editors[1];

    var widthEditor = editors[2];

    var heightEditor = editors[3];

    var totalVolEditor = editors[6];

    var totalAmtEditor = editors[5];

    priceEditor.target.numberbox({

        onChange: function () { calculate();}

    });

    qtyEditor.target.numberbox({

        onChange: function () {

            calculate();

            calculateVol();

        }

    });

    lengthEditor.target.numberbox({

        onChange: function () { calculateVol(); }

    });

    widthEditor.target.numberbox({

        onChange: function () { calculateVol(); }

    });

    heightEditor.target.numberbox({

        onChange: function () { calculateVol(); }

    });

    function calculate() {

        var cost = (priceEditor.target.val()) * (qtyEditor.target.val());

        console.log(cost);

        totalAmtEditor.target.numberbox("setValue", cost);

    }

    function calculateVol() {

        var vol = (lengthEditor.target.val() / 100.0) * (widthEditor.target.val() / 100.0)<br> * (heightEditor.target.val() / 100.0)* (qtyEditor.target.val());

        console.log(vol);

        totalVolEditor.target.numberbox("setValue", vol);

    }

}

function editrow(index) {

    $('#dgINOD').datagrid('selectRow', index)

        .datagrid('beginEdit', index);

}

function endEdit() {

    var rows = $('#dgINOD').datagrid('getRows');

    if (rows==undefined) {

        return;

    }

    for (var i = 0; i < rows.length; i++) {

        $('#dgINOD').datagrid('endEdit', i);

    }

}

//设置入库单明细数据

function setGridDetail(effectRow) {

    if ($('#dgINOD').datagrid('getChanges').length) {

        var inserted = $('#dgINOD').datagrid('getChanges'"inserted");

        var deleted = $('#dgINOD').datagrid('getChanges'"deleted");

        var updated = $('#dgINOD').datagrid('getChanges'"updated");       

        if (inserted.length) {

            effectRow["inserted"] = JSON.stringify(inserted);

        }

        if (deleted.length) {

            effectRow["deleted"] = JSON.stringify(deleted);

        }

        if (updated.length) {

            effectRow["updated"] = JSON.stringify(updated);

        }

     }

    return effectRow;

}

function saveDetail() {

    endEdit();

    $.messager.confirm('确认''您确认要修改吗?'function (r) {

        var effectRow = new Object();

        var postData = GetINO();

        if (postData.Id) {

            effectRow["postdata"] = JSON.stringify(postData);

        }

        effectRow = setGridDetail(effectRow);

        $.post("/InStock/Update", effectRow, function (data) {

            if (data.success) {

                $.messager.alert("提示", data.result);

                $('#dgINOD').datagrid('acceptChanges');        

            }

            else {

                $.messager.alert("提示", data.result);

                return;

            }

        }, "JSON")

            ;      

        })   

}

function init() {

    $("#PreDeliveryTimeUpdate").val(getNowFormatDate());

    $("#CreationTimeUpdate").val(getNowFormatDate());

    $("#btnCancle").click(function () {      

        $("#divAddUpdINO").dialog("close");  

        $('#dgINSO').datagrid('reload');

    });

    $("#btnCancleDO").click(function () {

        $("#divImportCargo").dialog("close");

        $('#dgINSO').datagrid('reload');

    });

  

    $("#btnImportDO").click(function () {

        //保存

        var rows = $('#dgCargo').datagrid('getSelections');

        if (rows.length > 0) {

            //验证

            $.messager.confirm('确认''您确认要保存所选择的货物信息吗?'function (r) {

                if (r) {

                    var obj_No = $("#UpdNO").val();

                    var ids = [];//重要不是{}

                    for (var i = 0; i < rows.length; i++) {

                        ids.push(rows[i].Id);

                    }

                    var postData = {

                        "Ids": ids.join(','),

                        "No": obj_No

                    };

                     $.post("/InStock/ImportCargo", postData, function (data) {

                        if (data == "OK") {

                            $.messager.alert("提示""保存货物信息成功!");

                            ShowDetail(obj_No);

                        }

                        else if (data == "NO") {

                            $.messager.alert("提示""保存货物信息失败!");

                            return;

                        }

                    });

                }

            })

        }

    });

  

    $("#btnSubmit").click(function () {

        //保存

        var id = $("#IDUpdate").val();

        if (id == "" || id == undefined) {

            $.messager.alert("提示""入库单没有保存,请先保存!");

            return;

        }

            //验证

            $.messager.confirm('确认''您确认要提交入库单吗?'function (r) {

                if (r) {

                

                    var postData = {

                        "Id": id

                    };

                     $.post("/InStockMgr/Submit", postData, function (data) {

                        if (data == "OK") {

                            $.messager.alert("提示""入库单已经提交成功!");                          

                            $("#StatusUpdate").val("提交");

                            SetEnabled("提交");

                        }

                        else if (data == "NO") {

                            $.messager.alert("提示""入库单提交失败!");

                            return;

                        }

                    });

                }

            })

    });

}

  

function GetINO() {

    var postData = {

        "No": $("#UpdNO").val(),

        "DeliveryNo""",

        "PreDeliveryTime": $("#PreDeliveryTimeUpdate").val(),

        "CustomerCode": $("#CustomerCodeUpdate").val(),

        "OwnerName": $("#OwnerNameUpdate").val(),

        "OwnerCode": $("#OwnerCodeUpdate").val(),

        "CustomerName": $("#CustomerNameUpdate").val(),

        "CreationTime": $("#CreationTimeUpdate").val(),

        "CheckTime": $("#CheckTimeUpdate").val(),

        "WarehouseType": $("#WarehouseTypeUpdate").val(),

        "WarehouseNo": $("#WarehouseNoUpdate").val(),

        "Oper": $("#OperUpdate").val(),

        "Receiver": $("#ReceiverUpdate").val(),

        "Nwt": $("#NwtUpdate").val(),

        "Remark": $("#RemarkUpdate").val(),

        "ReceiveTime": $("#ReceiveTimeUpdate").val(),     

        "Status": $("#StatusUpdate").val(),

        "Gwt": $("#GwtUpdate").val(),

        "Checker": $("#CheckerUpdate").val(),

        "PackageQty": $("PackageQtyUpdate").val(),

        "LastUpdateTime""",

        "LastOper":""

    };

    var id = $("#IDUpdate").val();

    if (!(id=="" || id==undefined)) {

        postData.Id = id;

    }

    return postData;

}

  

function showINO(row)

     {

    $("#IDUpdate").val(row.Id);

    $("#UpdNO").val(row.No);

    $("#PreDeliveryTimeUpdate").val(row.PreDeliveryTime);

    $("#CustomerCodeUpdate").val(row.CustomerCode);

    

    $("#CustomerNameUpdate").val(row.CustomerName);

    $("#OwnerCodeUpdate").val(row.OwnerCode);

    $("#OwnerNameUpdate").val(row.OwnerName);

    $("#CreationTimeUpdate").val(row.CreationTime);

    $("#CheckTimeUpdate").val(row.CheckTime);

    $("#WarehouseTypeUpdate").val(row.WarehouseType);

    $("#WarehouseNoUpdate").val(row.WarehouseNo);

    $("#OperUpdate").val(row.Oper);

    $("#ReceiverUpdate").val(row.Receiver);

    $("#NwtUpdate").val(row.Nwt);

    $("#RemarkUpdate").val(row.Remark);

    $("#ReceiveTimeUpdate").val(row.ReceiveTime);

    $("#StatusUpdate").val(row.Status);   

    $("#GwtUpdate").val(row.Gwt);

    $("#CheckerUpdate").val(row.Checker);

}

//------------------------系统管理-->入库单管理结束--------------------------//

 

    3. 在Visual Studio 2017的“解决方案资源管理器”中,找到“ABP.TPLMS.Web.Mvc”项目中的Views目录下的InStock目录中的Index.cshtml文件。双击打开此文件,把以下代码删除或注释。

复制代码

   <div id="dg-detail-button">
             <a href="#" id="add" class="easyui-linkbutton" data-options="iconCls:'icon-add'" style="width:100px; "

 οnclick="ShowCargoInfo()">添加明细</a>
           <a href="#" id="addLoc" class="easyui-linkbutton" data-options="iconCls:'icon-add'" style="width:100px; "

 οnclick="SubGridAddRow()">添加库位</a>        

      <a href="#" id="del" class="easyui-linkbutton" data-options="iconCls:'icon-remove'" style="width:100px; ">删除</a>        
        </div>

复制代码

    4. 修改代码,如下图。

oracle11g创建数据库实例_oracle手工建库

<td>创建时间:</td>
                        <td>
                            <input type="text" id="CreationTimeUpdate" name="UCreationTime" class="form-control input-sm" />

                        </td>

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/191774.html原文链接:https://javaforall.cn

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(0)
blank

相关推荐

  • Assert.assertEquals()方法参数详解

    Assert.assertEquals()方法参数详解junit.framework包下的Assert提供了多个断言方法.主用于比较测试传递进去的两个参数.Assert.assertEquals();及其重载方法:1.如果两者一致,程序继续往下运行.2.如果两者不一致,中断测试方法,抛出异常信息AssertionFailedError.查看源码,以Assert.assertEquals(intexpected,inta…

  • 新视野大学英语(第三版)读写教程4答案

    新视野大学英语(第三版)读写教程4答案Unit1TextATextA.Languagefocus1.crumbled2.discern3.surpass4.shrewd5.conversion6.distort7.radiant8.Ingenious9.propositionTextA:LanguagefocusWordbuildingPractice1delicacybankruptcyac…

  • webstorm2021激活码【2021最新】

    (webstorm2021激活码)2021最新分享一个能用的的激活码出来,希望能帮到需要激活的朋友。目前这个是能用的,但是用的人多了之后也会失效,会不定时更新的,大家持续关注此网站~IntelliJ2021最新激活注册码,破解教程可免费永久激活,亲测有效,下面是详细链接哦~https://javaforall.cn/100143.html…

  • Visual Studio 2017 “无法查找或打开PDB文件“ 解决方法

    Visual Studio 2017 “无法查找或打开PDB文件“ 解决方法运行的时候提示无法查找或打开PDB文件解决办法(注意:必须使用管理员身份运行VS)第一步打开调试窗口的选项第二步调试——>常规——>勾选启用源服务器支持它会弹出警告窗口,点“是”即可第三步调试——>符号——>勾选Microsoft符号服务器我这儿选择使用http://msdl.microsoft.com/download/symbols,然后选择路…

  • Latex 参考文献上标

    Latex 参考文献上标1.如何使连续的参考文献能够中间用破折号连起来?比如[6,7,8,9]变成[6-9]?方法:在文档开始前加上下面的语句命令\usepackage[numbers,sort&compress]{natbib}不但可以压缩参考文献标号,还可以进行排序,即无论正文里面的顺序怎样,显示出来都是先后顺序。在elsevier模板中,natbib包已经默认引用了,无需重新引用,改一下natb

  • java date 毫秒_如何在几个数字上加上同一个单位

    java date 毫秒_如何在几个数字上加上同一个单位//时间加上秒后的时间日期publicstaticDatetimePastTenSecond(Integersecond,Stringotime){try{SimpleDateFormatsdf=newSimpleDateFormat(“yyyy-MM-ddHH:mm:ss”);Datedt=sdf.parse(otime);CalendarnewTime=Calenda.

发表回复

您的电子邮箱地址不会被公开。

关注全栈程序员社区公众号