学 赵
1 year ago
88 changed files with 19308 additions and 1630 deletions
File diff suppressed because it is too large
@ -1,43 +1,5 @@ |
|||||
import html from "html"; |
import html from "html"; |
||||
import AppList from "../../../components/list/index.js"; |
|
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
template: html`<a href="../assets/导入模版.zip" target="blank">导入模板下载</a>`, |
||||
template: html`</app-list :config="config" @command="onCommand"></app-list>
|
|
||||
<el-table :data="tableData" border style="width: 100%"> |
|
||||
<el-table-column prop="date" label="custoner/type" width="180" /> |
|
||||
<el-table-column prop="name" label="BBAC" width="180" /> |
|
||||
<el-table-column prop="address" label="HBPO" width="180" /> |
|
||||
</el-table> |
|
||||
`,
|
|
||||
setup() { |
|
||||
const tableData = [ |
|
||||
{ |
|
||||
date: "JIS", |
|
||||
name: "√", |
|
||||
address: "√", |
|
||||
}, |
|
||||
{ |
|
||||
date: "直供件", |
|
||||
name: "√", |
|
||||
address: "√", |
|
||||
}, |
|
||||
{ |
|
||||
date: "印度件", |
|
||||
name: "√", |
|
||||
address: "", |
|
||||
}, |
|
||||
{ |
|
||||
date: "备件", |
|
||||
name: "√", |
|
||||
address: "", |
|
||||
}, |
|
||||
{ |
|
||||
date: "买单件", |
|
||||
name: "对比√ 开票×", |
|
||||
address: "√", |
|
||||
}, |
|
||||
]; |
|
||||
return { tableData }; |
|
||||
}, |
|
||||
}; |
}; |
||||
|
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_pd_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/job-service.js"; |
import useConfig from "../../../../models/job-service.js"; |
||||
import { ref, onMounted, onUnmounted } from "vue"; |
import { ref, onMounted, onUnmounted } from "vue"; |
||||
|
|
||||
export default { |
export default { |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_sa_service.js"; |
import useConfig from "../../../../models/pub_sa_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_ba_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_ba_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_pd_detail_service.js"; |
import useConfig from "../../../../models/pub_not_sa_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_pd_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_pd_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -0,0 +1,24 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/job-service.js"; |
||||
|
import { ref, onMounted, onUnmounted } from "vue"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list ref="appListRef" :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
config.query.schema.title = "发运与结算"; |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianBBAC"; |
||||
|
config.query.schema.properties.name.default = "买单件BBAC结算与发运数据对比"; |
||||
|
const appListRef = ref(null); |
||||
|
onMounted(() => |
||||
|
PubSub.subscribe(config.query.schema.properties.name.default, async () => await appListRef.value.load()) |
||||
|
); |
||||
|
onUnmounted(() => PubSub.unsubscribe(config.query.schema.properties.businessType.default)); |
||||
|
return { config, onCommand, appListRef }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,16 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianBBAC"; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,16 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianBBAC"; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,16 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_se_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
config.query.schema.properties.businessType.default = "MaiDanJianBBAC"; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_sa_detail_service.js"; |
import useConfig from "../../../../models/pub_sa_detail_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_sa_service.js"; |
import useConfig from "../../../../models/pub_sa_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -1,6 +1,6 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
import AppList from "../../../../components/list/index.js"; |
||||
import html from "html"; |
import html from "html"; |
||||
import useConfig from "../../../models/pub_se_detail_service.js"; |
import useConfig from "../../../../models/pub_se_detail_service.js"; |
||||
|
|
||||
export default { |
export default { |
||||
components: { AppList }, |
components: { AppList }, |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_ba_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_can_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_not_sa_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_pd_detail_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,15 @@ |
|||||
|
import AppList from "../../../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../../../models/pub_pd_service.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
const config = useConfig(); |
||||
|
const onCommand = async (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_ba_detail_service"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_ba_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_can_sa_detail_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_can_sa_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_not_sa_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -1,15 +0,0 @@ |
|||||
import AppList from "../../../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import useConfig from "../../../models/pub_pd_service.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list :config="config" @command="onCommand" />`, |
|
||||
setup() { |
|
||||
const config = useConfig(); |
|
||||
const onCommand = async (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { config, onCommand }; |
|
||||
}, |
|
||||
}; |
|
File diff suppressed because it is too large
@ -0,0 +1,186 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Migrations |
||||
|
{ |
||||
|
public partial class vmi11 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropUniqueConstraint( |
||||
|
name: "AK_Set_VmiBalance_BillType_PartCode_VinCode_ErpToLoc_OrderNum", |
||||
|
table: "Set_VmiBalance"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VinCode", |
||||
|
table: "Set_VmiBalance", |
||||
|
type: "nvarchar(450)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(450)"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "PartCode", |
||||
|
table: "Set_VmiBalance", |
||||
|
type: "nvarchar(450)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(450)"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "OrderNum", |
||||
|
table: "Set_VmiBalance", |
||||
|
type: "nvarchar(450)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(450)"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "ErpToLoc", |
||||
|
table: "Set_VmiBalance", |
||||
|
type: "nvarchar(450)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(450)"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<int>( |
||||
|
name: "BillType", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0); |
||||
|
|
||||
|
migrationBuilder.AddColumn<int>( |
||||
|
name: "DeliverBillType", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0); |
||||
|
|
||||
|
migrationBuilder.AddColumn<int>( |
||||
|
name: "DeliverSubBillType", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0); |
||||
|
|
||||
|
migrationBuilder.AddColumn<int>( |
||||
|
name: "ProType", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0); |
||||
|
|
||||
|
migrationBuilder.AddColumn<int>( |
||||
|
name: "SubBillType", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0); |
||||
|
|
||||
|
migrationBuilder.AddColumn<int>( |
||||
|
name: "TransType", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("ea936b34-ecd0-7dbd-85a9-57cd8b730873"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "4affb77e506d43dda8bc322162fcb335"); |
||||
|
|
||||
|
migrationBuilder.CreateIndex( |
||||
|
name: "IX_Set_VmiBalance_BillType_PartCode_VinCode_ErpToLoc_OrderNum", |
||||
|
table: "Set_VmiBalance", |
||||
|
columns: new[] { "BillType", "PartCode", "VinCode", "ErpToLoc", "OrderNum" }, |
||||
|
unique: true, |
||||
|
filter: "[PartCode] IS NOT NULL AND [VinCode] IS NOT NULL AND [ErpToLoc] IS NOT NULL AND [OrderNum] IS NOT NULL"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropIndex( |
||||
|
name: "IX_Set_VmiBalance_BillType_PartCode_VinCode_ErpToLoc_OrderNum", |
||||
|
table: "Set_VmiBalance"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "BillType", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "DeliverBillType", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "DeliverSubBillType", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "ProType", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "SubBillType", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "TransType", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "VinCode", |
||||
|
table: "Set_VmiBalance", |
||||
|
type: "nvarchar(450)", |
||||
|
nullable: false, |
||||
|
defaultValue: "", |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(450)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "PartCode", |
||||
|
table: "Set_VmiBalance", |
||||
|
type: "nvarchar(450)", |
||||
|
nullable: false, |
||||
|
defaultValue: "", |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(450)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "OrderNum", |
||||
|
table: "Set_VmiBalance", |
||||
|
type: "nvarchar(450)", |
||||
|
nullable: false, |
||||
|
defaultValue: "", |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(450)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "ErpToLoc", |
||||
|
table: "Set_VmiBalance", |
||||
|
type: "nvarchar(450)", |
||||
|
nullable: false, |
||||
|
defaultValue: "", |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(450)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AddUniqueConstraint( |
||||
|
name: "AK_Set_VmiBalance_BillType_PartCode_VinCode_ErpToLoc_OrderNum", |
||||
|
table: "Set_VmiBalance", |
||||
|
columns: new[] { "BillType", "PartCode", "VinCode", "ErpToLoc", "OrderNum" }); |
||||
|
|
||||
|
migrationBuilder.UpdateData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("ea936b34-ecd0-7dbd-85a9-57cd8b730873"), |
||||
|
column: "ConcurrencyStamp", |
||||
|
value: "7ee5d3ed981d4f87963af8b5654cd9df"); |
||||
|
} |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,56 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Migrations |
||||
|
{ |
||||
|
public partial class _202308091 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("ea936b34-ecd0-7dbd-85a9-57cd8b730873")); |
||||
|
|
||||
|
migrationBuilder.AddColumn<bool>( |
||||
|
name: "IsHaveSeData", |
||||
|
table: "Set_HBPO_SE_EDI", |
||||
|
type: "bit", |
||||
|
nullable: false, |
||||
|
defaultValue: false); |
||||
|
|
||||
|
migrationBuilder.AddColumn<bool>( |
||||
|
name: "IsHaveEdiData", |
||||
|
table: "Set_HBPO_SE_DETAIL", |
||||
|
type: "bit", |
||||
|
nullable: false, |
||||
|
defaultValue: false); |
||||
|
|
||||
|
migrationBuilder.InsertData( |
||||
|
table: "Set_VmiBalance", |
||||
|
columns: new[] { "Id", "BackupTime", "BillTime", "BillType", "CodeType", "ConcurrencyStamp", "Configcode", "CustomerPartCode", "DeliverTime", "ErpToLoc", "MatchNumber", "OrderNum", "PartCode", "PjsNum", "Qty", "ReMark", "RealCode", "Seq", "SubBillType", "UniqueCode", "VinCode", "factory" }, |
||||
|
values: new object[] { new Guid("3f870b27-55b4-470b-8c44-abb68145e3c8"), null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, null, "d8fd025b2b0f4872bfa9a40f9f3df4b9", null, null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "ErpToLoc", null, "OrderNum", "PartCode", null, 0m, null, null, null, 0, null, "VinCode", null }); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("3f870b27-55b4-470b-8c44-abb68145e3c8")); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "IsHaveSeData", |
||||
|
table: "Set_HBPO_SE_EDI"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "IsHaveEdiData", |
||||
|
table: "Set_HBPO_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.InsertData( |
||||
|
table: "Set_VmiBalance", |
||||
|
columns: new[] { "Id", "BackupTime", "BillTime", "BillType", "CodeType", "ConcurrencyStamp", "Configcode", "CustomerPartCode", "DeliverTime", "ErpToLoc", "MatchNumber", "OrderNum", "PartCode", "PjsNum", "Qty", "ReMark", "RealCode", "Seq", "SubBillType", "UniqueCode", "VinCode", "factory" }, |
||||
|
values: new object[] { new Guid("ea936b34-ecd0-7dbd-85a9-57cd8b730873"), null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, null, "4affb77e506d43dda8bc322162fcb335", null, null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "ErpToLoc", null, "OrderNum", "PartCode", null, 0m, null, null, null, 0, null, "VinCode", null }); |
||||
|
} |
||||
|
} |
||||
|
} |
File diff suppressed because it is too large
@ -0,0 +1,65 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Migrations |
||||
|
{ |
||||
|
public partial class _202308092 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("3f870b27-55b4-470b-8c44-abb68145e3c8")); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "DeleterId", |
||||
|
table: "Set_PUB_SA"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "DeletionTime", |
||||
|
table: "Set_PUB_SA"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "IsDeleted", |
||||
|
table: "Set_PUB_SA"); |
||||
|
|
||||
|
migrationBuilder.InsertData( |
||||
|
table: "Set_VmiBalance", |
||||
|
columns: new[] { "Id", "BackupTime", "BillTime", "BillType", "CodeType", "ConcurrencyStamp", "Configcode", "CustomerPartCode", "DeliverTime", "ErpToLoc", "MatchNumber", "OrderNum", "PartCode", "PjsNum", "Qty", "ReMark", "RealCode", "Seq", "SubBillType", "UniqueCode", "VinCode", "factory" }, |
||||
|
values: new object[] { new Guid("b6018a04-ee6d-447f-8fb8-81eb287a7ebc"), null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, null, "02418a7349a942d4b3e1fe9a3968a908", null, null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "ErpToLoc", null, "OrderNum", "PartCode", null, 0m, null, null, null, 0, null, "VinCode", null }); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DeleteData( |
||||
|
table: "Set_VmiBalance", |
||||
|
keyColumn: "Id", |
||||
|
keyValue: new Guid("b6018a04-ee6d-447f-8fb8-81eb287a7ebc")); |
||||
|
|
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "DeleterId", |
||||
|
table: "Set_PUB_SA", |
||||
|
type: "uniqueidentifier", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "Set_PUB_SA", |
||||
|
type: "datetime2", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<bool>( |
||||
|
name: "IsDeleted", |
||||
|
table: "Set_PUB_SA", |
||||
|
type: "bit", |
||||
|
nullable: false, |
||||
|
defaultValue: false); |
||||
|
|
||||
|
migrationBuilder.InsertData( |
||||
|
table: "Set_VmiBalance", |
||||
|
columns: new[] { "Id", "BackupTime", "BillTime", "BillType", "CodeType", "ConcurrencyStamp", "Configcode", "CustomerPartCode", "DeliverTime", "ErpToLoc", "MatchNumber", "OrderNum", "PartCode", "PjsNum", "Qty", "ReMark", "RealCode", "Seq", "SubBillType", "UniqueCode", "VinCode", "factory" }, |
||||
|
values: new object[] { new Guid("3f870b27-55b4-470b-8c44-abb68145e3c8"), null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), 1, null, "d8fd025b2b0f4872bfa9a40f9f3df4b9", null, null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "ErpToLoc", null, "OrderNum", "PartCode", null, 0m, null, null, null, 0, null, "VinCode", null }); |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue