Forráskód Böngészése

销售单、采购单 编辑页 选择产品 默认查询

chenrui 3 éve
szülő
commit
6c4f14425c

+ 0 - 18
src/views/purchasingManagement/purchaseOrder/edit.vue

@@ -77,26 +77,9 @@
                         <ProductType id="purchaseOrderEdit-productType" @change="changeProductType" v-model="productType"></ProductType>
                       </a-form-item>
                     </a-col>
-                    <!-- <template v-if="advanced">
-                      <a-col :md="6" :sm="24">
-                        <a-form-item label="适用车型">
-                          <a-cascader
-                            :options="typeData"
-                            expand-trigger="hover"
-                            id="purchaseOrderEdit-state"
-                            placeholder="请选择适用车型"
-                            allowClear
-                            v-model="queryParam.brand" />
-                        </a-form-item>
-                      </a-col>
-                    </template> -->
                     <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
                       <a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="purchaseOrderEdit-refresh">查询</a-button>
                       <a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="purchaseOrderEdit-reset">重置</a-button>
-                      <!-- <a @click="advanced=!advanced" style="margin-left: 8px">
-                        {{ advanced ? '收起' : '展开' }}
-                        <a-icon :type="advanced ? 'up' : 'down'"/>
-                      </a> -->
                     </a-col>
                   </a-row>
                 </a-form>
@@ -110,7 +93,6 @@
                 :columns="columns"
                 :data="loadData"
                 :scroll="{ x: 950, y:300 }"
-                :defaultLoadData="false"
                 bordered>
                 <!-- 产品编码 -->
                 <template slot="code" slot-scope="text, record">

+ 0 - 1
src/views/salesManagement/salesQuery/queryPart.vue

@@ -106,7 +106,6 @@
       :data="loadData"
       :customRow="handleClickRow"
       :scroll="{ x: tableWidth, y: 300 }"
-      :defaultLoadData="false"
       bordered>
       <!-- 售价 -->
       <template slot="salePrice" slot-scope="text, record">