diff --git a/src/views/inm/mioitem_check.vue b/src/views/inm/mioitem_check.vue
index a082fb55..22cc38d9 100644
--- a/src/views/inm/mioitem_check.vue
+++ b/src/views/inm/mioitem_check.vue
@@ -605,12 +605,21 @@
-
+
+
+
+
+
@@ -618,7 +627,14 @@
-
+
+
+
+
-
+
+
+
+
+
{
@@ -1325,13 +1355,15 @@ export default {
if (valid) {
that.isSaveing = true;
try {
- if (that.type == "pur_in") {
+ if (that.type == "pur_in"&&that.project_code!="gx") {
console.log(that.form);
let arr = [];
- that.weight_kgs.forEach((item) => {
- arr.push(item.value);
- });
- that.form.weight_kgs = arr;
+ if(that.weight_kgs.length>0){
+ that.weight_kgs.forEach((item) => {
+ arr.push(item.value);
+ });
+ that.form.weight_kgs = arr;
+ }
console.log('that.form',that.form);
that.$API.inm.mioitem.testpurin
.req(that.mioitemId, that.form)