調整版型設計
This commit is contained in:
@@ -598,9 +598,9 @@
|
||||
<button class="nav-link active" id="sec2-tab1" data-bs-toggle="tab" data-bs-target="#sec2-page1"
|
||||
type="button" role="tab" aria-controls="home" aria-selected="true">
|
||||
基本資料</button>
|
||||
<button class="nav-link" id="sec2-tab2" data-bs-toggle="tab" data-bs-target="#sec2-page2"
|
||||
<%--<button class="nav-link" id="sec2-tab2" data-bs-toggle="tab" data-bs-target="#sec2-page2"
|
||||
type="button" role="tab" aria-controls="profile" aria-selected="false">
|
||||
相關文件</button>
|
||||
相關文件</button>--%>
|
||||
<button class="nav-link" id="sec2-tab3" data-bs-toggle="tab" data-bs-target="#sec2-page3"
|
||||
type="button" role="tab" aria-controls="bom" aria-selected="false">
|
||||
功德項目</button>
|
||||
@@ -726,7 +726,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane fade giftItems label-sm-right" id="sec2-page2" role="tabpanel" aria-labelledby="sec2-tab2">
|
||||
<%-- <div class="tab-pane fade giftItems label-sm-right" id="sec2-page2" role="tabpanel" aria-labelledby="sec2-tab2">
|
||||
<v-card class="mx-auto mt-10" outlined v-if="this_id!=''">
|
||||
<v-data-table
|
||||
:headers="headersDetail"
|
||||
@@ -734,7 +734,7 @@
|
||||
:footer-props="footersDetail"
|
||||
:search="searchDetail"
|
||||
:options.sync="optionsDetail" class="elevation-1" fixed-header height="350px"
|
||||
<%-- :server-items-length="desserts_count"--%>
|
||||
|
||||
>
|
||||
<v-divider inset></v-divider>
|
||||
<template v-slot:top>
|
||||
@@ -787,7 +787,8 @@
|
||||
<div class="mx-auto" v-else >
|
||||
<p class="lead">請先儲存基本資料後再新增相關文件</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>--%>
|
||||
<%-- :server-items-length="desserts_count"--%>
|
||||
<div class="tab-pane fade giftItems label-sm-right" id="sec2-page3" role="tabpanel" aria-labelledby="sec2-tab3">
|
||||
<asp:Panel ID="bom_panel" runat="server">
|
||||
<div class="row mb-1">
|
||||
|
||||
@@ -92,7 +92,7 @@ public partial class admin_activity_item_reg : MyWeb.config
|
||||
//bom_qty.Enabled = prodBom != null;//有對應的act_bom項目..
|
||||
bom_qty.Text = (prodBom?.qty??0).ToString();
|
||||
bom_memo.Text = (prodBom?.memo ?? "");
|
||||
packageNum.Value=(prodBom?.num.ToString());
|
||||
packageNum.Value=(prodBom?.num.ToString());
|
||||
prod_bom_num = prodBom?.num ?? 0;
|
||||
}
|
||||
else
|
||||
@@ -162,10 +162,17 @@ public partial class admin_activity_item_reg : MyWeb.config
|
||||
actItem.sort_order = maxSort + 1;
|
||||
|
||||
_db.actItems.Add(actItem);
|
||||
|
||||
_db.SaveChanges();
|
||||
int _id = actItem.num;
|
||||
if( _id > 0)
|
||||
{
|
||||
Model.actItem_files file=new Model.actItem_files();
|
||||
file.actItem_num= _id;
|
||||
file.files_num = 211;
|
||||
file.file.reg_time=DateTime.Now;
|
||||
_db.actItem_files.Add(file);
|
||||
_db.SaveChanges();
|
||||
Model.admin_log admin_log = new Model.admin_log();
|
||||
admin_log.writeLog(admin.info.u_id, (int)Model.admin_log.Systems.Item, (int)Model.admin_log.Status.Insert, subject.Text);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user