|
@@ -122,8 +122,6 @@
|
|
<div class="table-operator">
|
|
<div class="table-operator">
|
|
<a-button type="primary" class="button-error" v-if="$hasPermissions('B_salesNews')" @click="handleAdd(0)">新增(零售)</a-button>
|
|
<a-button type="primary" class="button-error" v-if="$hasPermissions('B_salesNews')" @click="handleAdd(0)">新增(零售)</a-button>
|
|
<a-button type="primary" class="button-warning" v-if="$hasPermissions('B_salesNews')" @click="handleAdd(1)">新增(铺货)</a-button>
|
|
<a-button type="primary" class="button-warning" v-if="$hasPermissions('B_salesNews')" @click="handleAdd(1)">新增(铺货)</a-button>
|
|
- <a-button type="primary" class="button-error" v-if="$hasPermissions('B_salesNews')" @click="handleAdd('0')">新增(零售)</a-button>
|
|
|
|
- <a-button type="primary" class="button-warning" v-if="$hasPermissions('B_salesNews')" @click="handleAdd('1')">新增(铺货)</a-button>
|
|
|
|
</div>
|
|
</div>
|
|
<!-- alert -->
|
|
<!-- alert -->
|
|
<a-alert type="info" style="margin-bottom:10px">
|
|
<a-alert type="info" style="margin-bottom:10px">
|
|
@@ -227,7 +225,6 @@
|
|
</a-spin>
|
|
</a-spin>
|
|
<!-- 选择客户弹框 -->
|
|
<!-- 选择客户弹框 -->
|
|
<choose-custom-modal :show="openModal" :distributionFlag="distributionFlag" @ok="chooseCustomOk" @cancel="openModal=false"></choose-custom-modal>
|
|
<choose-custom-modal :show="openModal" :distributionFlag="distributionFlag" @ok="chooseCustomOk" @cancel="openModal=false"></choose-custom-modal>
|
|
- <choose-custom-modal :show="openModal" :selType="selType" @ok="chooseCustomOk" @cancel="openModal=false"></choose-custom-modal>
|
|
|
|
<!-- 审核 -->
|
|
<!-- 审核 -->
|
|
<auditModal :openModal="visibleAudit" :spinning="spinningAudit" @close="visibleAudit=false" @ok="auditOrder('WAIT_OUT_WAREHOUSE')" @fail="auditOrder('AUDIT_REJECT')" />
|
|
<auditModal :openModal="visibleAudit" :spinning="spinningAudit" @close="visibleAudit=false" @ok="auditOrder('WAIT_OUT_WAREHOUSE')" @fail="auditOrder('AUDIT_REJECT')" />
|
|
</a-card>
|
|
</a-card>
|
|
@@ -364,8 +361,6 @@ export default {
|
|
},
|
|
},
|
|
// 新增
|
|
// 新增
|
|
handleAdd (flag) {
|
|
handleAdd (flag) {
|
|
- handleAdd (type) {
|
|
|
|
- this.selType = type
|
|
|
|
this.openModal = true
|
|
this.openModal = true
|
|
this.distributionFlag = flag
|
|
this.distributionFlag = flag
|
|
},
|
|
},
|