瀏覽代碼

清除按钮

chenrui 3 年之前
父節點
當前提交
f2d63c0e14

+ 1 - 1
src/views/allocationManagement/chainTransferOut/edit.vue

@@ -71,7 +71,7 @@
                     </a-col>
                     <a-col :md="6" :sm="24">
                       <a-form-item label="仓库">
-                        <a-select id="chainTransferOutEdit-warehouseSn" placeholder="请选择仓库" v-model="queryParam.warehouseSn" >
+                        <a-select id="chainTransferOutEdit-warehouseSn" allowClear placeholder="请选择仓库" v-model="queryParam.warehouseSn" >
                           <a-select-option v-for="item in warehouseList" :key="item.warehouseSn" :value="item.warehouseSn">{{ item.name }}</a-select-option>
                         </a-select>
                       </a-form-item>

+ 1 - 1
src/views/allocationManagement/storeTransferOut/edit.vue

@@ -37,7 +37,7 @@
                   </a-col>
                   <a-col :md="6" :sm="24">
                     <a-form-item label="仓库">
-                      <a-select id="storeTransferOutEdit-warehouseSn" placeholder="请选择仓库" v-model="queryParam.warehouseSn" >
+                      <a-select id="storeTransferOutEdit-warehouseSn" allowClear placeholder="请选择仓库" v-model="queryParam.warehouseSn" >
                         <a-select-option v-for="item in warehouseList" :key="item.warehouseSn" :value="item.warehouseSn">{{ item.name }}</a-select-option>
                       </a-select>
                     </a-form-item>

+ 4 - 2
src/views/allocationManagement/warehouseAllocation/edit.vue

@@ -166,8 +166,10 @@
                 </div>
               </a-col>
               <a-col :span="7">
-                <!-- <a-button size="small" style="margin-left: 8px" id="chainTransferOutEdit-import-btn">导入明细</a-button> -->
-                <a-button size="small" type="danger" style="margin-left: 8px" @click.stop="handleDel('', 'all')" id="warehouseAllocationEdit-del-all-btn">整单删除</a-button>
+                <div style="margin-top: 4px;">
+                  <!-- <a-button size="small" style="margin-left: 8px" id="chainTransferOutEdit-import-btn">导入明细</a-button> -->
+                  <a-button size="small" type="danger" style="margin-left: 8px" @click.stop="handleDel('', 'all')" id="warehouseAllocationEdit-del-all-btn">整单删除</a-button>
+                </div>
               </a-col>
             </a-row>
             <!-- 列表 -->

+ 1 - 1
src/views/financialManagement/expenseManagement/edit.vue

@@ -44,7 +44,7 @@
           </a-form-model-item>
           <a-form-model-item label="结算方式" prop="settleStyleSn">
-            <a-select placeholder="请选择结算方式" v-model="form.settleStyleSn" @change="settleStyleChange">
+            <a-select placeholder="请选择结算方式" allowClear v-model="form.settleStyleSn" @change="settleStyleChange">
               <a-select-option v-for="item in settleStyleList" :key="item.settleStyleSn" :value="item.settleStyleSn">
                 {{ item.name }}
               </a-select-option>

+ 2 - 2
src/views/salesManagement/salesReturn/salesReturnEdit.vue

@@ -49,10 +49,10 @@
           <a-col :span="18">
             <a-form-model layout="inline" :model="productForm" @keyup.enter.native="$refs.table.refresh(true)">
               <a-form-model-item label="产品编码">
-                <a-input v-model="productForm.productCode" placeholder="输入产品编码" />
+                <a-input v-model="productForm.productCode" allowClear placeholder="输入产品编码" />
               </a-form-model-item>
               <a-form-model-item label="产品名称">
-                <a-input v-model="productForm.productName" placeholder="输入产品名称" />
+                <a-input v-model="productForm.productName" allowClear placeholder="输入产品名称" />
               </a-form-model-item>
               <a-form-model-item>
                 <a-button style="margin-bottom: 18px;" type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="salesReturn-refresh">查询</a-button>

+ 2 - 2
src/views/salesManagement/salesReturn/salesReturnGrabEdit.vue

@@ -49,10 +49,10 @@
           <a-col :span="18">
             <a-form-model layout="inline" :model="productForm" @keyup.enter.native="$refs.table.refresh(true)">
               <a-form-model-item label="产品编码">
-                <a-input v-model="productForm.productCode" placeholder="输入产品编码" />
+                <a-input v-model="productForm.productCode" allowClear placeholder="输入产品编码" />
               </a-form-model-item>
               <a-form-model-item label="产品名称">
-                <a-input v-model="productForm.productName" placeholder="输入产品名称" />
+                <a-input v-model="productForm.productName" allowClear placeholder="输入产品名称" />
               </a-form-model-item>
               <a-form-model-item>
                 <a-button style="margin-bottom: 18px;" type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="salesReturn-refresh">查询</a-button>