فهرست منبع

设备保存报错

2213980799@qq.com 1 سال پیش
والد
کامیت
d0f076ef2b
1فایلهای تغییر یافته به همراه8 افزوده شده و 8 حذف شده
  1. 8 8
      src/views/ledgerAssets/equipment/edit.vue

+ 8 - 8
src/views/ledgerAssets/equipment/edit.vue

@@ -410,14 +410,14 @@ export default {
           if (this.pageType == 'edit') {
             par.id = this.id;
           } else {
-            const batchNo = await getCode('lot_number_code');
-            const res = await getAssetNum({
-              assetCode: par.code,
-              batchNum: batchNo,
-              num: 1
-            });
-            console.log(res);
-            par.code = res.data.shift().onlyCode;
+            // const batchNo = await getCode('lot_number_code');
+            // const res = await getAssetNum({
+            //   assetCode: par.code,
+            //   batchNum: batchNo,
+            //   num: 1
+            // });
+            // console.log(res);
+            // par.code = res.data.shift().onlyCode;
             par.id = '';
           }
           this.btnLoading = true;