|
@@ -109,7 +109,7 @@
|
|
|
|
|
|
<template #btn="{ item }">
|
|
|
<div style="width: 100%">
|
|
|
- <!-- <span class="el-click" @click="startConfirm(item)" style="margin-left:10px">开工确认</span> -->
|
|
|
+ <span class="el-click" @click="startConfirm(item)" style="margin-left:10px">开工确认</span>
|
|
|
<span class="el-click" @click="printQrCode(item)" style="margin-left:10px">任务单</span>
|
|
|
<!-- <el-popover placement="bottom-start" title="" :width="300" trigger="hover">
|
|
|
<div style="width:100%">
|
|
@@ -181,8 +181,8 @@
|
|
|
|
|
|
<template #isAgreeWork="{item}">
|
|
|
<div style="width: 100%">
|
|
|
- <span v-if="item.isAgreeWork=='0'" class="red"> 否 </span>
|
|
|
- <span v-else> 是 </span>
|
|
|
+ <span v-if="item.isAgreeWork=='0'" class="red" style="cursor:pointer"> 否 </span>
|
|
|
+ <span v-else style="cursor:pointer"> 是 </span>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -272,7 +272,7 @@
|
|
|
|
|
|
<template #btn="{ item }">
|
|
|
<div style="width: 100%">
|
|
|
- <!-- <span class="el-click" @click="startConfirm(item)" style="margin-left:10px">开工确认</span> -->
|
|
|
+ <span class="el-click" @click="startConfirm(item)" style="margin-left:10px">开工确认</span>
|
|
|
<span class="el-click" @click="printQrCode(item)" style="margin-left:10px">任务单</span>
|
|
|
<!-- <el-popover placement="bottom-start" title="" :width="300" trigger="hover">
|
|
|
<div style="width:100%">
|
|
@@ -331,8 +331,8 @@
|
|
|
|
|
|
<template #isAgreeWork="{item}">
|
|
|
<div style="width: 100%">
|
|
|
- <span v-if="item.isAgreeWork=='0'" class="red"> 否 </span>
|
|
|
- <span v-else> 是 </span>
|
|
|
+ <span v-if="item.isAgreeWork=='0'" class="red" style="cursor:pointer"> 否 </span>
|
|
|
+ <span v-else style="cursor:pointer"> 是 </span>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -459,6 +459,14 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
+ <!-- <el-table-column label="操作者" width="120">
|
|
|
+ <template #default="{ row, $index }">
|
|
|
+ <el-select v-model="row.opUserId" placeholder=" " filterable style="width: 100%" @change="val=>changeOpUser(val)">
|
|
|
+ <el-option v-for="item in userList" :label="item.label" :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </template>
|
|
|
+ </el-table-column> -->
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1032,78 +1040,40 @@
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog :title="'开工确认'" v-model="confirmDialog" width="60%" destroy-on-close>
|
|
|
- <!-- <div style="display:flex">
|
|
|
- <div class="left" style="width:100%;">
|
|
|
- <TitleInfo :content="'确认信息'" :size="16"></TitleInfo>
|
|
|
- <div style="height:12px"></div>
|
|
|
- <byForm :formConfig="confirmFormConfig" :formOption="confirmFormOption" v-model="confirmFormData.data" :rules="confirmRules"
|
|
|
- ref="confirmFormDom" v-loading="formLoading">
|
|
|
- </byForm>
|
|
|
- <div style="text-align:center" v-if="confirmFormData.data.beginWorkStatus !=1">
|
|
|
- <el-button @click="submitConfirm(true)" type="primary" size="default" v-debounce v-if="confirmFormData.data.isAgreeWork==1">提
|
|
|
- 交</el-button>
|
|
|
- <el-button @click="submitConfirm(false)" type="primary" size="default" v-debounce>暂 存</el-button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="right" style="width:50%;border-left:1px solid #dfdada;padding-left:15px">
|
|
|
- <div>
|
|
|
- <TitleInfo :content="'打印预览'" :size="16"></TitleInfo>
|
|
|
- <div id="printDom" style="width:100%">
|
|
|
- <div class="title">
|
|
|
- 开工确认通知单
|
|
|
- </div>
|
|
|
- <table class="table" border>
|
|
|
- <tr>
|
|
|
- <td style="width:25%">预计上线</td>
|
|
|
- <td style="width:25%">{{confirmFormData.data.expectBeginTime}}</td>
|
|
|
- <td style="width:25%">预计交货</td>
|
|
|
- <td style="width:25%">{{confirmFormData.data.expectDeliveryTime}}</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>是否同意开工生产</td>
|
|
|
- <td colspan="3">{{confirmFormData.data.isAgreeWork==1?"是":"否"}}</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>走柜是否明确</td>
|
|
|
- <td>{{confirmFormData.data.isAgreeWork==1?"是":"否"}}</td>
|
|
|
- <td>走柜时间</td>
|
|
|
- <td>{{confirmFormData.data.cabinetExitTime}}</td>
|
|
|
- </tr>
|
|
|
- <tr>
|
|
|
- <td>其他说明</td>
|
|
|
- <td colspan="3">{{confirmFormData.data.workRemark}}</td>
|
|
|
- </tr>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div style="text-align:center;margin-top:20px">
|
|
|
- <el-button v-print="printObjOne" type="primary" size="default" v-debounce>打 印</el-button>
|
|
|
- </div>
|
|
|
-
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
+ <el-dialog :title="'开工确认'" v-model="confirmDialogOne" width="60%" destroy-on-close>
|
|
|
|
|
|
- <byForm :formConfig="confirmFormConfig" :formOption="confirmFormOption" v-model="confirmFormData.data" :rules="confirmRules"
|
|
|
- ref="confirmFormDom" v-loading="formLoading">
|
|
|
+ <byForm :formConfig="confirmFormConfigOne" :formOption="confirmFormOptionOne" v-model="confirmFormDataOne.data" :rules="confirmRulesOne"
|
|
|
+ ref="confirmFormDomOne" v-loading="formLoading">
|
|
|
<template #detail>
|
|
|
<div style="width:100%;padding:0 20px">
|
|
|
- <el-table :data="confirmFormData.data.purchaseProductList">
|
|
|
- <el-table-column prop="productCode" label="创建时间" width="160" />
|
|
|
- <el-table-column prop="productCode" label="是否同意开工生产" width="160" />
|
|
|
- <el-table-column prop="productName" label="走柜是否明确" min-width="130" />
|
|
|
- <el-table-column label="走柜时间" prop="走柜时间" width="160" />
|
|
|
- <el-table-column label="其他说明" prop="quantity" width="100" />
|
|
|
- <el-table-column label="预计上线" prop="quantity" width="100" />
|
|
|
- <el-table-column label="预计交货" prop="quantity" width="100" />
|
|
|
+ <el-table :data="confirmFormDataOne.data.historyList">
|
|
|
+ <el-table-column prop="createTime" label="创建时间" width="160" />
|
|
|
+ <el-table-column prop="expectBeginTime" label="预计上线" width="110" />
|
|
|
+ <el-table-column prop="expectDeliveryTime" label="预计交货" width="110" />
|
|
|
+ <el-table-column prop="isAgreeWork" label="是否同意开工生产" width="140">
|
|
|
+ <template #default="{ row }">
|
|
|
+ <div>
|
|
|
+ {{dictValueLabel(row.isAgreeWork,isData)}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="isCabinetConfirm" label="走柜是否明确" width="120">
|
|
|
+ <template #default="{ row }">
|
|
|
+ <div>
|
|
|
+ {{dictValueLabel(row.isCabinetConfirm,isData)}}
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="cabinetExitTime" label="走柜时间" width="110" />
|
|
|
+ <el-table-column prop="workRemark" label="其他说明" />
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</template>
|
|
|
</byForm>
|
|
|
|
|
|
<template #footer>
|
|
|
- <el-button @click="confirmDialog =false" size="default" v-debounce>取 消</el-button>
|
|
|
- <el-button @click="submitConfirm(true)" type="primary" size="default" v-debounce v-if="confirmFormData.data.isAgreeWork==1">提
|
|
|
+ <el-button @click="confirmDialogOne =false" size="default" v-debounce>取 消</el-button>
|
|
|
+ <el-button @click="submitConfirmOne(true)" type="primary" size="default" v-debounce v-if="rowDataOne.beginWorkStatus ==10">提
|
|
|
交</el-button>
|
|
|
</template>
|
|
|
|
|
@@ -1205,6 +1175,30 @@ const dialogVisible = ref(false);
|
|
|
const remarkDialog = ref(false);
|
|
|
|
|
|
const modalType = ref("add");
|
|
|
+const isData = ref([
|
|
|
+ {
|
|
|
+ label: "否",
|
|
|
+ value: 0,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "是",
|
|
|
+ value: 1,
|
|
|
+ },
|
|
|
+]);
|
|
|
+const prodConfirmStatusData = ref([
|
|
|
+ {
|
|
|
+ label: "确认中",
|
|
|
+ value: 10,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "不同意",
|
|
|
+ value: 20,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "同意",
|
|
|
+ value: 30,
|
|
|
+ },
|
|
|
+]);
|
|
|
const statusData = ref([
|
|
|
{
|
|
|
label: "未开始",
|
|
@@ -1345,34 +1339,39 @@ const selectConfig = computed(() => [
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- label: "业务公司",
|
|
|
- prop: "contractCompanyId",
|
|
|
- data: companyData.value,
|
|
|
- isFilter: false,
|
|
|
+ label: "归属业务",
|
|
|
+ prop: "contractBelongType",
|
|
|
+ data: belongTypeData.value,
|
|
|
},
|
|
|
{
|
|
|
label: "订单组别",
|
|
|
prop: "companyId",
|
|
|
data: companyData.value,
|
|
|
},
|
|
|
- {
|
|
|
- label: "生产状态",
|
|
|
- prop: "produceStatus",
|
|
|
- data: statusData.value,
|
|
|
- },
|
|
|
- {
|
|
|
- label: "是否逾期",
|
|
|
- prop: "isOverdue",
|
|
|
- data: isOverdueData.value,
|
|
|
- },
|
|
|
- {
|
|
|
- type: "time",
|
|
|
- label: "交期",
|
|
|
- placeholder: "开始日期",
|
|
|
- prop: "staDeliveryPeriod",
|
|
|
- placeholderOne: "结束日期",
|
|
|
- propOne: "endDeliveryPeriod",
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // label: "业务公司",
|
|
|
+ // prop: "contractCompanyId",
|
|
|
+ // data: companyData.value,
|
|
|
+ // isFilter: false,
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: "生产状态",
|
|
|
+ // prop: "produceStatus",
|
|
|
+ // data: statusData.value,
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // label: "是否逾期",
|
|
|
+ // prop: "isOverdue",
|
|
|
+ // data: isOverdueData.value,
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // type: "time",
|
|
|
+ // label: "交期",
|
|
|
+ // placeholder: "开始日期",
|
|
|
+ // prop: "staDeliveryPeriod",
|
|
|
+ // placeholderOne: "结束日期",
|
|
|
+ // propOne: "endDeliveryPeriod",
|
|
|
+ // },
|
|
|
// {
|
|
|
// type: "time",
|
|
|
// label: "下单日期",
|
|
@@ -1412,14 +1411,42 @@ const config = ref([
|
|
|
fixed: "left",
|
|
|
},
|
|
|
},
|
|
|
+ // {
|
|
|
+ // attrs: {
|
|
|
+ // label: "开工确认状态",
|
|
|
+ // prop: "prodConfirmStatus",
|
|
|
+ // width: 110,
|
|
|
+ // fixed: "left",
|
|
|
+ // },
|
|
|
+ // render(val) {
|
|
|
+ // if (val) {
|
|
|
+ // return proxy.dictValueLabel(val, prodConfirmStatusData.value);
|
|
|
+ // } else {
|
|
|
+ // return "未发起";
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // },
|
|
|
{
|
|
|
attrs: {
|
|
|
- slot: "isAgreeWork",
|
|
|
- label: "是否同意开工",
|
|
|
- width: 120,
|
|
|
+ label: "开工确认状态",
|
|
|
+ prop: "beginWorkStatus",
|
|
|
+ width: 110,
|
|
|
fixed: "left",
|
|
|
},
|
|
|
+ render(val) {
|
|
|
+ if (val) {
|
|
|
+ return proxy.dictValueLabel(val, prodConfirmStatusData.value);
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
+ // {
|
|
|
+ // attrs: {
|
|
|
+ // slot: "isAgreeWork",
|
|
|
+ // label: "是否同意开工",
|
|
|
+ // width: 120,
|
|
|
+ // fixed: "left",
|
|
|
+ // },
|
|
|
+ // },
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "客户",
|
|
@@ -1725,14 +1752,42 @@ const configCopy = ref([
|
|
|
fixed: "left",
|
|
|
},
|
|
|
},
|
|
|
+ // {
|
|
|
+ // attrs: {
|
|
|
+ // label: "开工确认状态",
|
|
|
+ // prop: "prodConfirmStatus",
|
|
|
+ // width: 110,
|
|
|
+ // fixed: "left",
|
|
|
+ // },
|
|
|
+ // render(val) {
|
|
|
+ // if (val) {
|
|
|
+ // return proxy.dictValueLabel(val, prodConfirmStatusData.value);
|
|
|
+ // } else {
|
|
|
+ // return "未发起";
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // },
|
|
|
{
|
|
|
attrs: {
|
|
|
- slot: "isAgreeWork",
|
|
|
- label: "是否同意开工",
|
|
|
- width: 120,
|
|
|
+ label: "开工确认状态",
|
|
|
+ prop: "beginWorkStatus",
|
|
|
+ width: 110,
|
|
|
fixed: "left",
|
|
|
},
|
|
|
+ render(val) {
|
|
|
+ if (val) {
|
|
|
+ return proxy.dictValueLabel(val, prodConfirmStatusData.value);
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
+ // {
|
|
|
+ // attrs: {
|
|
|
+ // slot: "isAgreeWork",
|
|
|
+ // label: "是否同意开工",
|
|
|
+ // width: 120,
|
|
|
+ // fixed: "left",
|
|
|
+ // },
|
|
|
+ // },
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "客户",
|
|
@@ -3062,13 +3117,31 @@ const confirmFormData = reactive({
|
|
|
});
|
|
|
const confirmFormOption = reactive({
|
|
|
inline: true,
|
|
|
- labelWidth: 100,
|
|
|
+ labelWidth: 140,
|
|
|
itemWidth: 100,
|
|
|
- disabled: false,
|
|
|
+ disabled: true,
|
|
|
});
|
|
|
const confirmFormConfig = computed(() => [
|
|
|
{
|
|
|
type: "title1",
|
|
|
+ title: "开工确认",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "date",
|
|
|
+ itemType: "date",
|
|
|
+ label: "预计上线",
|
|
|
+ prop: "expectBeginTime",
|
|
|
+ itemWidth: 100,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "date",
|
|
|
+ itemType: "date",
|
|
|
+ label: "预计交货",
|
|
|
+ prop: "expectDeliveryTime",
|
|
|
+ itemWidth: 100,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "title1",
|
|
|
title: "业务信息",
|
|
|
},
|
|
|
{
|
|
@@ -3105,33 +3178,16 @@ const confirmFormConfig = computed(() => [
|
|
|
prop: "workRemark",
|
|
|
itemWidth: 100,
|
|
|
},
|
|
|
- {
|
|
|
- type: "title1",
|
|
|
- title: "开工确认",
|
|
|
- },
|
|
|
- {
|
|
|
- type: "date",
|
|
|
- itemType: "date",
|
|
|
- label: "预计上线",
|
|
|
- prop: "expectBeginTime",
|
|
|
- itemWidth: 100,
|
|
|
- },
|
|
|
- {
|
|
|
- type: "date",
|
|
|
- itemType: "date",
|
|
|
- label: "预计交货",
|
|
|
- prop: "expectDeliveryTime",
|
|
|
- itemWidth: 100,
|
|
|
- },
|
|
|
- {
|
|
|
- type: "title1",
|
|
|
- title: "开工历史记录",
|
|
|
- },
|
|
|
- {
|
|
|
- type: "slot",
|
|
|
- slotName: "detail",
|
|
|
- label: "",
|
|
|
- },
|
|
|
+
|
|
|
+ // {
|
|
|
+ // type: "title1",
|
|
|
+ // title: "开工历史记录",
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // type: "slot",
|
|
|
+ // slotName: "detail",
|
|
|
+ // label: "",
|
|
|
+ // },
|
|
|
]);
|
|
|
const confirmRules = ref({
|
|
|
expectBeginTime: [
|
|
@@ -3152,19 +3208,6 @@ const confirmRules = ref({
|
|
|
// workRemark: [{ required: true, message: "请输入备注", trigger: "blur" }],
|
|
|
});
|
|
|
|
|
|
-const startConfirm = (row) => {
|
|
|
- confirmDialog.value = true;
|
|
|
- proxy
|
|
|
- .post("/produceOrderDetail/beginWorkDetail", {
|
|
|
- id: row.id,
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- confirmFormData.data = res;
|
|
|
- confirmFormData.data.purchaseProductList = [];
|
|
|
- confirmFormOption.disabled = confirmFormData.data.beginWorkStatus == 1;
|
|
|
- });
|
|
|
-};
|
|
|
-
|
|
|
const submitConfirm = (flag) => {
|
|
|
if (flag) {
|
|
|
confirmFormDom.value.handleSubmit(() => {
|
|
@@ -3299,6 +3342,133 @@ const changeRowRemark = (val, id) => {
|
|
|
(err) => {}
|
|
|
);
|
|
|
};
|
|
|
+
|
|
|
+const lookRecords = (row) => {
|
|
|
+ proxy
|
|
|
+ .post("/productionBeginConfirm/getHistoryList", {
|
|
|
+ prodOrderId: row.produceOrderId,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res && res.length > 0) {
|
|
|
+ confirmFormData.data = res[0];
|
|
|
+ confirmDialog.value = true;
|
|
|
+ } else {
|
|
|
+ proxy.msgTip("暂无开工确认记录", 2);
|
|
|
+ }
|
|
|
+ });
|
|
|
+};
|
|
|
+
|
|
|
+const confirmFormDomOne = ref(null);
|
|
|
+const confirmDialogOne = ref(false);
|
|
|
+const confirmFormDataOne = reactive({
|
|
|
+ data: {},
|
|
|
+});
|
|
|
+const confirmFormOptionOne = reactive({
|
|
|
+ inline: true,
|
|
|
+ labelWidth: 100,
|
|
|
+ itemWidth: 100,
|
|
|
+ disabled: false,
|
|
|
+});
|
|
|
+const confirmFormConfigOne = computed(() => [
|
|
|
+ {
|
|
|
+ type: "title1",
|
|
|
+ title: "开工确认",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "date",
|
|
|
+ itemType: "date",
|
|
|
+ label: "预计上线",
|
|
|
+ prop: "expectBeginTime",
|
|
|
+ itemWidth: 100,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "date",
|
|
|
+ itemType: "date",
|
|
|
+ label: "预计交货",
|
|
|
+ prop: "expectDeliveryTime",
|
|
|
+ itemWidth: 100,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "title1",
|
|
|
+ title: "开工确认历史记录",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "slot",
|
|
|
+ slotName: "detail",
|
|
|
+ label: "",
|
|
|
+ },
|
|
|
+]);
|
|
|
+const confirmRulesOne = ref({
|
|
|
+ expectBeginTime: [
|
|
|
+ { required: true, message: "请选择预计上线", trigger: "change" },
|
|
|
+ ],
|
|
|
+ expectDeliveryTime: [
|
|
|
+ { required: true, message: "请选择预计交货", trigger: "change" },
|
|
|
+ ],
|
|
|
+ isAgreeWork: [
|
|
|
+ { required: true, message: "请选择是否同意开工生产", trigger: "change" },
|
|
|
+ ],
|
|
|
+ isCabinetConfirm: [
|
|
|
+ { required: true, message: "请选择走柜是否明确", trigger: "change" },
|
|
|
+ ],
|
|
|
+ cabinetExitTime: [
|
|
|
+ { required: true, message: "请选择走柜时间", trigger: "change" },
|
|
|
+ ],
|
|
|
+ // workRemark: [{ required: true, message: "请输入备注", trigger: "blur" }],
|
|
|
+});
|
|
|
+
|
|
|
+const rowDataOne = ref({});
|
|
|
+const startConfirm = (row) => {
|
|
|
+ rowDataOne.value = row;
|
|
|
+ confirmDialogOne.value = true;
|
|
|
+ confirmFormDataOne.data = { prodOrderId: row.produceOrderId };
|
|
|
+ proxy
|
|
|
+ .post("/productionBeginConfirm/getHistoryList", {
|
|
|
+ prodOrderId: row.produceOrderId,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ confirmFormDataOne.data.historyList = res;
|
|
|
+ });
|
|
|
+};
|
|
|
+
|
|
|
+const submitConfirmOne = (flag) => {
|
|
|
+ confirmFormDomOne.value.handleSubmit(() => {
|
|
|
+ formLoading.value = true;
|
|
|
+ proxy
|
|
|
+ .post("/productionBeginConfirm/add", confirmFormDataOne.data)
|
|
|
+ .then((res) => {
|
|
|
+ proxy.msgTip("操作成功");
|
|
|
+ formLoading.value = false;
|
|
|
+ confirmDialogOne.value = false;
|
|
|
+ getList();
|
|
|
+ });
|
|
|
+ });
|
|
|
+};
|
|
|
+
|
|
|
+const userList = ref([]);
|
|
|
+const getUserList = () => {
|
|
|
+ proxy
|
|
|
+ .get("/tenantUser/listAll", {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 10000,
|
|
|
+ tenantId: proxy.useUserStore().user.tenantId,
|
|
|
+ // companyId: proxy.useUserStore().user.companyId,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ userList.value = res.rows.map((item) => {
|
|
|
+ return {
|
|
|
+ label: item.nickName,
|
|
|
+ value: item.userId,
|
|
|
+ };
|
|
|
+ });
|
|
|
+ });
|
|
|
+};
|
|
|
+getUserList();
|
|
|
+const changeOpUser = (val) => {
|
|
|
+ proxy
|
|
|
+ .post("/productionBeginConfirm/add", { opUserId: val })
|
|
|
+ .then((res) => {});
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|