From ed6c6350015d52ea1cb033c7558f72b721ece84a Mon Sep 17 00:00:00 2001
From: WangHan <wwh_work@126,com>
Date: 星期四, 19 十二月 2024 19:58:55 +0800
Subject: [PATCH] 打包名称修改,去除错误输出

---
 admin-web/src/views/stock/procure/receiptDetails/index.vue |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/admin-web/src/views/stock/procure/receiptDetails/index.vue b/admin-web/src/views/stock/procure/receiptDetails/index.vue
index 9e884bd..acd7103 100644
--- a/admin-web/src/views/stock/procure/receiptDetails/index.vue
+++ b/admin-web/src/views/stock/procure/receiptDetails/index.vue
@@ -33,9 +33,8 @@
 import SettingIplatform from '@/utils/settingIplatform';
 import detail from '../purchaseOrder/detail';
 import * as finsystenant from '@/api/baseSetting/finsystenant';
-import { goodsModel } from '@/api/stock/procure/purchaseOrder';
 import myImport from '@/views/components/myImport';
-import { getBaseUrl } from '@/utils/base';
+import {getBaseUrl} from '@/utils/base';
 
 export default {
   name: 'index',
@@ -50,6 +49,16 @@
           label: '鍗曞彿',
           placeholder: '璇疯緭鍏�',
           defaultValue: '',
+        },
+        {
+          type: 'cascader',
+          dataIndex: 'agencyId',
+          label: '鏈烘瀯',
+          placeholder: '璇烽�夋嫨',
+          optionsConfig: { url: '/pc/fin/sys/tenant/select/tree_fin_tenant', props: null },
+          cascader: [{key:'goodsTemplateId',queryKey: 'agencyId'}],
+          defaultValue: '',
+          options: [],
         },
         {
           type: 'select',
@@ -77,15 +86,6 @@
             value: 'id',
             url: SettingIplatform.apiBaseURL + '/pc/base/goods/models/query/goodsModel',
           },
-        },
-        {
-          type: 'cascader',
-          dataIndex: 'agencyId',
-          label: '鏈烘瀯',
-          placeholder: '璇烽�夋嫨',
-          optionsConfig: { url: '/pc/fin/sys/tenant/select/tree_fin_tenant', props: null },
-          defaultValue: '',
-          options: [],
         },
         {
           type: 'text',
@@ -160,7 +160,7 @@
         // 鍒椾俊鎭�
         columns: [
           { title: '鍗曞彿', field: 'businessFormCode', align: 'center', width: 130 },
-          { title: '鐗╁搧鍚嶇О', field: 'goodsTemplateName', align: 'left', width: 140 },
+          { title: '鐗╁搧鍚嶇О', field: 'goodsTemplateName', align: 'left', minWidth: 140 },
           { title: '瑙勬牸鍨嬪彿', field: 'baseGoodsModelsName', align: 'left', width: 130 },
           {
             title: '鍗曚环',
@@ -176,7 +176,7 @@
             field: 'amount',
             align: 'center',
             formatter: (row) => {
-              return { value: row.price / 100 };
+              return { value: row.amount / 100 };
             },
           },
           { title: '鎵�灞炴満鏋�', field: 'agencyName', align: 'center', width: 130 },
@@ -268,7 +268,7 @@
     // 鏌ヨtable鍒楄〃
     search(pageNum) {
       if (pageNum != undefined) {
-        this.$refs.myTable.search(pageNum);
+        this.$refs.myTable.search({pageNum});
       } else {
         this.$refs.myTable.search();
       }

--
Gitblit v1.9.1