- 盘点明细/记录支持未知商品(stock_id 可空)与库位范围,模式/状态口径修正 - 新增静态盘点任务、公告相关模型与迁移,stock_warehouse 增加预警数量 - methods/system.json 同步盘点接口文档;headers platform 微信端取值 wx 修正为 miniprogram
18 lines
439 B
JavaScript
18 lines
439 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn('wms_stock_warehouse', 'warning_quantity', {
|
|
type: Sequelize.INTEGER(11),
|
|
allowNull: true,
|
|
defaultValue: 0,
|
|
comment: '库存预警数量',
|
|
after: 'locked_quantity',
|
|
});
|
|
},
|
|
|
|
async down(queryInterface) {
|
|
await queryInterface.removeColumn('wms_stock_warehouse', 'warning_quantity');
|
|
},
|
|
};
|