|
@@ -240,7 +240,7 @@
|
|
type="link"
|
|
type="link"
|
|
class="button-info"
|
|
class="button-info"
|
|
v-if="record.salesBillSource == 'PURCHASE' && (record.billStatus == 'WAIT_AUDIT' || record.billStatus == 'HQ_CHANGE') && $hasPermissions('B_salesEdit')"
|
|
v-if="record.salesBillSource == 'PURCHASE' && (record.billStatus == 'WAIT_AUDIT' || record.billStatus == 'HQ_CHANGE') && $hasPermissions('B_salesEdit')"
|
|
- @click="handleEdit(record)"
|
|
|
|
|
|
+ @click="handleChangeOrder(record)"
|
|
>
|
|
>
|
|
改单
|
|
改单
|
|
</a-button>
|
|
</a-button>
|
|
@@ -304,6 +304,8 @@
|
|
<baseDataModal ref="expenseModal" @expenseSaveOk="expenseSaveOk" :show="openBaseModal" @close="openBaseModal=false"></baseDataModal>
|
|
<baseDataModal ref="expenseModal" @expenseSaveOk="expenseSaveOk" :show="openBaseModal" @close="openBaseModal=false"></baseDataModal>
|
|
<!-- 导出提示框 -->
|
|
<!-- 导出提示框 -->
|
|
<reportModal :visible="showExport" @close="showExport=false"></reportModal>
|
|
<reportModal :visible="showExport" @close="showExport=false"></reportModal>
|
|
|
|
+ <!-- 改单 -->
|
|
|
|
+ <tipModal :openModal="openTipModal" @close="openTipModal=false" @ok="openTipModalOk"></tipModal>
|
|
</a-card>
|
|
</a-card>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -320,6 +322,7 @@ import rangeDate from '@/views/common/rangeDate.vue'
|
|
import { STable, VSelect } from '@/components'
|
|
import { STable, VSelect } from '@/components'
|
|
import commonModal from '@/views/common/commonModal.vue'
|
|
import commonModal from '@/views/common/commonModal.vue'
|
|
import chooseCustomModal from './chooseCustomModal.vue'
|
|
import chooseCustomModal from './chooseCustomModal.vue'
|
|
|
|
+import tipModal from './tipModal.vue'
|
|
import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
|
|
import dealerSubareaScopeList from '@/views/common/dealerSubareaScopeList.vue'
|
|
import baseDataModal from '@/views/expenseManagement/expenseReimbursement/baseDataModal.vue'
|
|
import baseDataModal from '@/views/expenseManagement/expenseReimbursement/baseDataModal.vue'
|
|
import reportModal from '@/views/common/reportModal.vue'
|
|
import reportModal from '@/views/common/reportModal.vue'
|
|
@@ -333,7 +336,7 @@ import { salesDetailExport } from '@/api/salesBillReport'
|
|
export default {
|
|
export default {
|
|
name: 'SalesQueryList',
|
|
name: 'SalesQueryList',
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
- components: { STable, VSelect, chooseCustomModal, dealerSubareaScopeList, Area, rangeDate, subarea, commonModal, reportModal, chooseWarehouse, baseDataModal, customerService },
|
|
|
|
|
|
+ components: { STable, VSelect, tipModal, chooseCustomModal, dealerSubareaScopeList, Area, rangeDate, subarea, commonModal, reportModal, chooseWarehouse, baseDataModal, customerService },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
spinning: false,
|
|
spinning: false,
|
|
@@ -346,6 +349,7 @@ export default {
|
|
exportLoading: false, // 导出按钮加载状态
|
|
exportLoading: false, // 导出按钮加载状态
|
|
expenseOption: false, // 已选转费用报销单状态
|
|
expenseOption: false, // 已选转费用报销单状态
|
|
tableHeight: 0, // 表格高度
|
|
tableHeight: 0, // 表格高度
|
|
|
|
+ openTipModal: false, // 改单提示弹窗
|
|
// 默认时间
|
|
// 默认时间
|
|
time: [
|
|
time: [
|
|
moment(getDate.getThreeMonthDays().starttime, 'YYYY-MM-DD'),
|
|
moment(getDate.getThreeMonthDays().starttime, 'YYYY-MM-DD'),
|
|
@@ -572,6 +576,13 @@ export default {
|
|
handleEdit (row) {
|
|
handleEdit (row) {
|
|
this.$router.push({ name: 'salesNewEdit', params: { sn: row.salesBillSn } })
|
|
this.$router.push({ name: 'salesNewEdit', params: { sn: row.salesBillSn } })
|
|
},
|
|
},
|
|
|
|
+ // 改单
|
|
|
|
+ handleChangeOrder (row) {
|
|
|
|
+ this.openTipModal = true
|
|
|
|
+ },
|
|
|
|
+ openTipModalOk () {
|
|
|
|
+ this.openTipModal = false
|
|
|
|
+ },
|
|
// 删除
|
|
// 删除
|
|
handleDel (row) {
|
|
handleDel (row) {
|
|
const _this = this
|
|
const _this = this
|