|
|
@ -20,22 +20,21 @@
|
|
|
|
>选入已完成单据
|
|
|
|
>选入已完成单据
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button size="mini" type="primary" @click.native="chooseDraftOrder()" :loading="submitLoading"
|
|
|
|
<el-button size="mini" type="primary" @click.native="chooseDraftOrder()" :loading="submitLoading"
|
|
|
|
v-if="splitType=='out'" style="margin-right: 8px;border-radius: 5%;" v-show="isLinkDisabled"
|
|
|
|
style="margin-right: 8px;border-radius: 5%;" v-show="isLinkDisabled"
|
|
|
|
>选入单据
|
|
|
|
>选入单据
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button size="mini" type="primary" @click.native="draftOrder()" :loading="submitLoading"
|
|
|
|
<el-button size="mini" type="primary" @click.native="draftOrder()" :loading="submitLoading"
|
|
|
|
v-show="isLinkDisabled"
|
|
|
|
v-show="isLinkDisabled" style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
v-if="splitType=='out'" style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
|
|
|
|
>保存
|
|
|
|
>保存
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button size="mini" type="primary" @click.native="submit()" :loading="submitLoading"
|
|
|
|
<el-button size="mini" type="primary" @click.native="submit()" :loading="submitLoading"
|
|
|
|
v-if="splitType=='out'" style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
v-if="splitType=='out'" style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
>上货完成
|
|
|
|
>上货完成
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button size="mini" type="primary" @click.native="" :loading="submitLoading" v-show="isLinkDisabled"
|
|
|
|
<!-- <el-button size="mini" type="primary" @click.native="" :loading="submitLoading" v-show="isLinkDisabled"
|
|
|
|
v-if="splitType=='return'" style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
v-if="splitType=='return'" style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
>保存
|
|
|
|
>保存
|
|
|
|
</el-button>
|
|
|
|
</el-button> -->
|
|
|
|
<el-button size="mini" type="primary" @click.native="submit()" :loading="submitLoading"
|
|
|
|
<el-button size="mini" type="primary" @click.native="submit()" :loading="submitLoading"
|
|
|
|
v-if="splitType=='return'" style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
v-if="splitType=='return'" style="margin-right: 8px;border-radius: 5%;"
|
|
|
|
>退货完成
|
|
|
|
>退货完成
|
|
|
@ -1315,6 +1314,12 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
refreshCodesPanel() {
|
|
|
|
refreshCodesPanel() {
|
|
|
|
|
|
|
|
this.warnResult = "";
|
|
|
|
|
|
|
|
this.errResult = "";
|
|
|
|
|
|
|
|
this.result = "";
|
|
|
|
|
|
|
|
this.warnVisible = false;
|
|
|
|
|
|
|
|
this.errVisible = false;
|
|
|
|
|
|
|
|
|
|
|
|
this.isCodeAlive = false;
|
|
|
|
this.isCodeAlive = false;
|
|
|
|
this.isBizDetailAlive = false;
|
|
|
|
this.isBizDetailAlive = false;
|
|
|
|
this.isCodeDetailAlive = false;
|
|
|
|
this.isCodeDetailAlive = false;
|
|
|
@ -1583,6 +1588,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.rowData.workPlaceCode = this.orderFormData.workPlaceCode
|
|
|
|
this.rowData.workPlaceCode = this.orderFormData.workPlaceCode
|
|
|
|
this.rowData.fifoSplit = this.orderFormData.fifoSplit
|
|
|
|
this.rowData.fifoSplit = this.orderFormData.fifoSplit
|
|
|
|
|
|
|
|
this.$router.push({query: {...this.$route.query, splitType: this.splitType}, path: this.$route.path})
|
|
|
|
this.chooseDraftOrderVisible = true
|
|
|
|
this.chooseDraftOrderVisible = true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
closeChooseDialog() {
|
|
|
|
closeChooseDialog() {
|
|
|
@ -1634,6 +1640,12 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
enterKey(event) {
|
|
|
|
enterKey(event) {
|
|
|
|
|
|
|
|
this.warnResult = "";
|
|
|
|
|
|
|
|
this.errResult = "";
|
|
|
|
|
|
|
|
this.result = "";
|
|
|
|
|
|
|
|
this.warnVisible = false;
|
|
|
|
|
|
|
|
this.errVisible = false;
|
|
|
|
|
|
|
|
|
|
|
|
this.checkSuccess = true;
|
|
|
|
this.checkSuccess = true;
|
|
|
|
if (this.getDMHotskeyValue(this.scanCode))
|
|
|
|
if (this.getDMHotskeyValue(this.scanCode))
|
|
|
|
return
|
|
|
|
return
|
|
|
|