|
@@ -523,33 +523,6 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- // 删除已选产品
|
|
|
- delSalerDetailAll () {
|
|
|
- const _this = this
|
|
|
- this.$confirm({
|
|
|
- title: '提示',
|
|
|
- content: '确认要清空列表吗?',
|
|
|
- centered: true,
|
|
|
- closable: true,
|
|
|
- onOk () {
|
|
|
- _this.delLoading = true
|
|
|
- _this.spinning = true
|
|
|
- salesDetailDelAll({ salesBillSn: _this.detailData.salesBillSn }).then(res => {
|
|
|
- if (res.status == 200) {
|
|
|
- _this.resetSearchForm(true)
|
|
|
- _this.productForm = {
|
|
|
- productName: '',
|
|
|
- productCode: '',
|
|
|
- orderBy: 'sales_bill_detail.CREATE_DATE desc'
|
|
|
- }
|
|
|
- }
|
|
|
- _this.$message.info(res.message)
|
|
|
- _this.delLoading = false
|
|
|
- _this.spinning = false
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
- },
|
|
|
// 出入库明细
|
|
|
handleViewDetail (row) {
|
|
|
this.showOutInModal = true
|