工位上货添加业务类型

20240912_adapter_z
yewj 7 months ago
parent 6786afe220
commit 9b0d2675c2

@ -122,7 +122,7 @@
<span>{{ workplaceTypes[scope.row.workplaceType] }}</span> <span>{{ workplaceTypes[scope.row.workplaceType] }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="库存预警数" prop="invRemindNumber" width="90"></el-table-column> <!-- <el-table-column label="库存预警数" prop="invRemindNumber" width="90"></el-table-column>-->
<el-table-column label="工位负责人" prop="employeeName" width="90"></el-table-column> <el-table-column label="工位负责人" prop="employeeName" width="90"></el-table-column>
<!--<el-table-column label="往来单位标题" prop="unitTittle" width="100"></el-table-column>--> <!--<el-table-column label="往来单位标题" prop="unitTittle" width="100"></el-table-column>-->
<!--<el-table-column label="往来单位类型" prop="corpType" width="100">--> <!--<el-table-column label="往来单位类型" prop="corpType" width="100">-->

@ -22,7 +22,6 @@
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>

@ -129,7 +129,8 @@
> >
<div> <div>
<component v-if="showChild" :is="item.component" v-bind="item.componentProps" :reset-key="resetKeys[item.name]" @parent-method="parentMethod" /> <component v-if="showChild" :is="item.component" v-bind="item.componentProps"
:reset-key="resetKeys[item.name]" @parent-method="parentMethod"/>
</div> </div>
</el-tab-pane> </el-tab-pane>
@ -179,7 +180,8 @@
<div style="flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 10px;" <div style="flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 10px;"
> >
<!-- 假设这里有一些信息内容 --> <!-- 假设这里有一些信息内容 -->
<p style="font-size: 14px;background-color: #e1f3fb" @click="selectBusType(info.documentTypeCode)">{{ info.remark }}</p> <p style="font-size: 14px;background-color: #e1f3fb" @click="selectBusType(info.documentTypeCode)">
{{ info.remark }}</p>
<el-button type="primary" style="position: absolute; bottom: 20px; right: 20px;" icon="el-icon-thumb" <el-button type="primary" style="position: absolute; bottom: 20px; right: 20px;" icon="el-icon-thumb"
@click="selectBusType(info.documentTypeCode)">开始作业 @click="selectBusType(info.documentTypeCode)">开始作业
</el-button> </el-button>
@ -264,7 +266,7 @@ export default {
component: IoCreateOrderOut, component: IoCreateOrderOut,
// //
componentProps: { componentProps: {
fromSplitType: 'out' fromSplitType: 'out',
} }
}, },
{ {
@ -518,6 +520,7 @@ export default {
vertical-align: middle; vertical-align: middle;
margin-left: 25px; margin-left: 25px;
} }
.context-menu { .context-menu {
position: absolute; position: absolute;
z-index: 1000; /* 确保它在其他内容之上 */ z-index: 1000; /* 确保它在其他内容之上 */

@ -272,7 +272,8 @@
<div style="flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 10px;" <div style="flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 10px;"
> >
<!-- 假设这里有一些信息内容 --> <!-- 假设这里有一些信息内容 -->
<p style="font-size: 14px;background-color: #e1f3fb" @click="selectBusType(info.documentTypeCode)">{{ info.remark }}</p> <p style="font-size: 14px;background-color: #e1f3fb" @click="selectBusType(info.documentTypeCode)">
{{ info.remark }}</p>
<el-button type="primary" style="position: absolute; bottom: 20px; right: 20px;" icon="el-icon-thumb" <el-button type="primary" style="position: absolute; bottom: 20px; right: 20px;" icon="el-icon-thumb"
@click="selectBusType(info.documentTypeCode)">开始作业 @click="selectBusType(info.documentTypeCode)">开始作业
</el-button> </el-button>
@ -442,8 +443,7 @@ export default {
if (this.formData.billNo != null) { if (this.formData.billNo != null) {
this.getBillNo(this.formData.billNo) this.getBillNo(this.formData.billNo)
this.startDeal(); this.startDeal();
} } else {
else {
if (this.busTypeList.length == 1 && this.$route.query.busType == null) { if (this.busTypeList.length == 1 && this.$route.query.busType == null) {
let busType = this.busTypeList[0] let busType = this.busTypeList[0]
this.formData.busType = this.busTypeList[0].documentTypeCode this.formData.busType = this.busTypeList[0].documentTypeCode
@ -925,9 +925,6 @@ export default {
} }
} }
} }

@ -407,6 +407,7 @@ export default {
sickerAdNum: null, sickerAdNum: null,
workPlaceCode: null, workPlaceCode: null,
fifoSplit: 1, fifoSplit: 1,
splitBusType: null,
}, },
detailList: [], detailList: [],
@ -1081,7 +1082,7 @@ export default {
parseTime(date, "{y}{m}{d}{h}{i}{s}") + parseTime(date, "{y}{m}{d}{h}{i}{s}") +
Math.ceil(Math.random() * 89 + 10); Math.ceil(Math.random() * 89 + 10);
} }
debugger
this.loading = true; this.loading = true;
let tQuery = Object.assign( let tQuery = Object.assign(
JSON.parse(JSON.stringify(this.orderFormData)) JSON.parse(JSON.stringify(this.orderFormData))
@ -1751,6 +1752,7 @@ export default {
preCurSpaceCode: null, // preCurSpaceCode: null, //
sickerAdNum: null, sickerAdNum: null,
workPlaceCode: null, workPlaceCode: null,
splitBusType: null,
fifoSplit: 1, fifoSplit: 1,
} }
this.scanCode = ""; this.scanCode = "";
@ -1847,7 +1849,8 @@ export default {
this.corpOrderIdDisabled = true this.corpOrderIdDisabled = true
this.isLinkDisabled = true this.isLinkDisabled = true
this.workplaceId = this.$route.query.workplaceId this.workplaceId = this.$route.query.workplaceId
this.orderFormData.workPlaceCode = Number(this.$route.query.workplaceId) this.orderFormData.workPlaceCode = Number(this.$route.query.workplaceId);
this.orderFormData.splitBusType = "YPCF002"
} }
}, },

Loading…
Cancel
Save