|
@@ -165,7 +165,6 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import moment from 'moment'
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
import queryPart from './queryPart.vue'
|
|
|
import chooseCustomModal from './chooseCustomModal.vue'
|
|
@@ -377,6 +376,10 @@ export default {
|
|
|
salesDetailDelAll({ salesBillSn: _this.detailData.salesBillSn }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
_this.resetSearchForm(true)
|
|
|
+ _this.productForm = {
|
|
|
+ productName: '',
|
|
|
+ productCode: ''
|
|
|
+ }
|
|
|
}
|
|
|
_this.$message.info(res.message)
|
|
|
_this.delLoading = false
|
|
@@ -423,6 +426,11 @@ export default {
|
|
|
}
|
|
|
this.$refs.table.refresh(true)
|
|
|
return
|
|
|
+ } else {
|
|
|
+ this.productForm = {
|
|
|
+ productName: '',
|
|
|
+ productCode: ''
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
// 库存不足时
|