2023年7月

inventJorunalTransFirst.clear();
inventJorunalTransFirst.data(inventJorunalTrans);
inventJorunalTransFirst.JournalId = headerTb.JournalId;
inventJorunalTransFirst.RecId = 0;
inventJorunalTransFirst.InventTransId = '';
//inventJorunalTransFirst.LineNum = InventJournalTrans::lastLineNum(journalId)+1;
inventJorunalTransFirst.insert();
update_recordset prodJournalBOM setting IWS_InventJournalId = headerTb.JournalId,IWS_InventTransId = inventJorunalTransFirst.InventTransId
    where prodJournalBOM.IWS_InventJournalId == inventJorunalTrans.JournalId     
        && prodJournalBOM.IWS_InventTransId == inventJorunalTrans.InventTransId;
inventJorunalTrans.doDelete();
InventUpd_Reservation::newMovement(inventJorunalTransFirst.inventMovement(),inventJorunalTransFirst.Qty,true).updateNow();

    Args args;
    FormDataSource  fds ;
    MultiSelectionHelper  multiSelectionHelper;
    //
    Tb lineTb;

    args= this.args();
    fds = args.record().dataSource();
    
    multiSelectionHelper = MultiSelectionHelper::construct();
    multiSelectionHelper.parmDatasource(fds);
    lineTb = multiSelectionHelper.getFirst();
    while (lineTb)
    {
        //lineTmp.clear();
        lineTmp.LineRecId = lineTb.RecId;
        lineTmp.Insert();
        
        lineTb = multiSelectionHelper.getNext();
    }
    
    IWS_SalesContrctReleaseTmp.linkPhysicalTableInstance(lineTmp);

  • Vue Create [ProjName]
  • Vue UI

图形管理器
npm i @vue/cli -g
vue --version
vue ui
npm run
npm i serve -g //启动一个web服务器

目录结构

*dist/ //打包目录
*public/ //静态资源
*src/ //编译资源