fix:原料检验时备注为保存修正

This commit is contained in:
shijing 2024-09-04 11:38:14 +08:00
parent 85e2bf1078
commit 67b5d82545
1 changed files with 3 additions and 8 deletions

View File

@ -1019,15 +1019,10 @@ export default {
that.weight_kgs.forEach((item) => {
arr.push(item.value);
});
let obj = {};
obj.test_date = that.form.test_date;
obj.test_user = that.form.test_user;
obj.count_bag = that.form.count_bag;
obj.weight_kgs = arr;
obj.is_testok = that.form.is_testok;
console.log(obj);
that.form.weight_kgs = arr;
console.log('that.form',that.form);
that.$API.inm.mioitem.testpurin
.req(that.mioitemId, obj)
.req(that.mioitemId, that.form)
.then((res) => {
that.isSaveing = false;
that.$emit("success");