|
@@ -55,13 +55,13 @@
|
|
|
<a-menu-item key="1" id="salesEdit-pl-1">
|
|
|
删除已选项
|
|
|
</a-menu-item>
|
|
|
- <a-menu-divider />
|
|
|
+ <!-- <a-menu-divider />
|
|
|
<a-menu-item key="3" id="salesEdit-pl-3">
|
|
|
全部仓库设置
|
|
|
</a-menu-item>
|
|
|
<a-menu-item key="2" id="salesEdit-pl-2">
|
|
|
全部删除
|
|
|
- </a-menu-item>
|
|
|
+ </a-menu-item> -->
|
|
|
</a-menu>
|
|
|
<a-button
|
|
|
type="default"
|
|
@@ -70,7 +70,7 @@
|
|
|
size="small"
|
|
|
> 批量操作 <a-icon type="down" /> </a-button>
|
|
|
</a-dropdown>
|
|
|
- <span v-if="selectTotal" style="margin-left:10px;">已选{{ selectTotal }}项</span>
|
|
|
+ <span v-if="selectTotal" style="margin-left:10px;">已选 {{ selectTotal }} 项</span>
|
|
|
</a-col>
|
|
|
<a-col :md="16" :sm="24" style="text-align:right;">
|
|
|
<a-button
|
|
@@ -83,6 +83,20 @@
|
|
|
type="link"
|
|
|
class="button-info"
|
|
|
@click="openCpModal"><a-icon type="plus" /> 添加产品</a-button>
|
|
|
+ <a-button
|
|
|
+ :id="'salesEdit-allSetWare'"
|
|
|
+ type="link"
|
|
|
+ class="button-info"
|
|
|
+ size="small"
|
|
|
+ @click="handleMenuClick({key:3})"
|
|
|
+ ><a-icon type="setting"/> 全部仓库设置</a-button>
|
|
|
+ <a-button
|
|
|
+ :id="'salesEdit-allDel'"
|
|
|
+ type="link"
|
|
|
+ class="button-error"
|
|
|
+ size="small"
|
|
|
+ @click="handleMenuClick({key:2})"
|
|
|
+ ><a-icon type="delete"/> 全部删除</a-button>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
</div>
|
|
@@ -177,13 +191,11 @@
|
|
|
</template>
|
|
|
</s-table>
|
|
|
<!-- 总计 -->
|
|
|
- <a-alert type="info" v-if="showTotal" banner :showIcon="false" style="width: auto;display: inline-block;bottom: 10px;position: absolute;">
|
|
|
- <div slot="message">
|
|
|
- 款数:<strong>{{ countData&&(countData.totalCategory || countData.totalCategory==0) ? countData.totalCategory : 0 }}</strong>;
|
|
|
- 数量:<strong>{{ countData&&(countData.totalQty || countData.totalQty==0) ? countData.totalQty : 0 }}</strong>;
|
|
|
- <span v-if="$hasPermissions('B_salesEdit_salesPrice')">总金额:<strong>{{ countData&&(countData.totalAmount || countData.totalAmount==0) ? toThousands(countData.totalAmount) : '0.00' }}</strong>;</span>
|
|
|
- </div>
|
|
|
- </a-alert>
|
|
|
+ <div v-if="showTotal" style="width: auto;display: inline-block;bottom: 10px;position: absolute;">
|
|
|
+ 总款数:<strong>{{ countData&&(countData.totalCategory || countData.totalCategory==0) ? countData.totalCategory : 0 }}</strong>;
|
|
|
+ 总数量:<strong>{{ countData&&(countData.totalQty || countData.totalQty==0) ? countData.totalQty : 0 }}</strong>;
|
|
|
+ <span v-if="$hasPermissions('B_salesEdit_salesPrice')">总金额:<strong>{{ countData&&(countData.totalAmount || countData.totalAmount==0) ? toThousands(countData.totalAmount) : '0.00' }}</strong>;</span>
|
|
|
+ </div>
|
|
|
<!-- 导入产品 -->
|
|
|
<importGuideModal :openModal="openGuideModal" :params="{salesBillSn: salesBillSn}" @close="closeGuideModel" @ok="hanldeOk" />
|
|
|
<!-- 仓库设置 -->
|
|
@@ -388,7 +400,7 @@ export default {
|
|
|
}
|
|
|
this.$confirm({
|
|
|
title: '提示',
|
|
|
- content: '确认要删除全部已选产品吗?',
|
|
|
+ content: '确认要删除全部产品吗?',
|
|
|
centered: true,
|
|
|
onOk () {
|
|
|
_this.spinning = true
|