|
|
|
@ -126,7 +126,7 @@
|
|
|
|
|
<script>
|
|
|
|
|
import {convertDate} from "@/utils/date";
|
|
|
|
|
import {executeFuc, getHead} from "@/utils/customConfig";
|
|
|
|
|
import {autoCodeDetail, autoCodeResult, manualCodeDetail,codeRemove} from "@/api/collect/collectOrder";
|
|
|
|
|
import {autoCodeDetail, autoCodeResult, manualCodeDetail, codeRemove} from "@/api/collect/collectOrder";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
|
|
|
|
@ -139,11 +139,20 @@ export default {
|
|
|
|
|
type: Function,
|
|
|
|
|
required: true,
|
|
|
|
|
},
|
|
|
|
|
closeScanDialog: {
|
|
|
|
|
type: Function,
|
|
|
|
|
required: true,
|
|
|
|
|
},
|
|
|
|
|
prescribeData: {
|
|
|
|
|
type: Object,
|
|
|
|
|
default: null,
|
|
|
|
|
required: true
|
|
|
|
|
},
|
|
|
|
|
bizId: {
|
|
|
|
|
type: Object,
|
|
|
|
|
default: null,
|
|
|
|
|
required: true
|
|
|
|
|
},
|
|
|
|
|
//上货方式:1:拆零上货;2:整取上货;3:手动扫码查询
|
|
|
|
|
fifoSplit: {
|
|
|
|
|
type: Object,
|
|
|
|
@ -195,7 +204,7 @@ export default {
|
|
|
|
|
_this.codeRemoveMan(row.id, 1);
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
codeRemoveMan(codeManId,delType){
|
|
|
|
|
codeRemoveMan(codeManId, delType) {
|
|
|
|
|
let post = {
|
|
|
|
|
codeManId: codeManId,
|
|
|
|
|
delType: delType
|
|
|
|
@ -203,7 +212,8 @@ export default {
|
|
|
|
|
codeRemove(post).then((response) => {
|
|
|
|
|
if (response.code === 20000) {
|
|
|
|
|
this.$message.success("操作成功!");
|
|
|
|
|
this.refreshPanel()
|
|
|
|
|
this.refreshPanel(this)
|
|
|
|
|
this.getList()
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(response.message);
|
|
|
|
|
}
|
|
|
|
@ -239,6 +249,7 @@ export default {
|
|
|
|
|
if (_this.prescribeData != null) {
|
|
|
|
|
_this.codeQuery.page = 1
|
|
|
|
|
_this.codeQuery.orderIdFk = this.prescribeData.billNo
|
|
|
|
|
_this.codeQuery.bizIdFk = this.bizId
|
|
|
|
|
}
|
|
|
|
|
_this.codeLoading = true;
|
|
|
|
|
if (_this.fifoSplit == 3) {
|
|
|
|
@ -317,7 +328,7 @@ export default {
|
|
|
|
|
this.getList(this);
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.getPrescribeDetail(this);
|
|
|
|
|
this.getList(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|