fix(wms): 修复多个模块中的逻辑问题和数据格式
修复delivery.vue导出时缺少状态参数的问题 修正product/index.vue和rawMaterial/index.vue中productCode生成逻辑 放宽ship.vue中钢卷质量状态的校验范围 为ActualWarehouseSelect组件添加空库位筛选功能
This commit is contained in:
@@ -369,7 +369,6 @@ export default {
|
||||
if (this.form.rawMaterialId != null) {
|
||||
updateRawMaterial({
|
||||
...this.form,
|
||||
productCode: this.form.material + this.form.zincLayer + new Date().getTime(),
|
||||
}).then(response => {
|
||||
this.$modal.msgSuccess("修改成功");
|
||||
this.open = false;
|
||||
@@ -379,7 +378,10 @@ export default {
|
||||
this.buttonLoading = false;
|
||||
});
|
||||
} else {
|
||||
addRawMaterialWithBom(this.form).then(response => {
|
||||
addRawMaterialWithBom({
|
||||
...this.form,
|
||||
rawMaterialCode: this.form.material + (this.form.zincLayer || '') + new Date().getTime(),
|
||||
}).then(response => {
|
||||
this.$modal.msgSuccess("新增成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
|
||||
Reference in New Issue
Block a user