|
@@ -56,7 +56,7 @@ const formOption = reactive({
|
|
|
labelWidth: "62pk",
|
|
|
submitBtnText: proxy.t("receive.confirmReceipt"),
|
|
|
otherBtn: true,
|
|
|
- otherBtnText: proxy.t("receive.return"),
|
|
|
+ otherBtnText: "退回前道工序",
|
|
|
btnConfig: {
|
|
|
isNeed: false,
|
|
|
prop: "list",
|
|
@@ -83,6 +83,13 @@ const formConfig = reactive([
|
|
|
},
|
|
|
{
|
|
|
type: "input",
|
|
|
+ itemType: "textarea",
|
|
|
+ label: "产品备注",
|
|
|
+ prop: "productRemark",
|
|
|
+ readonly: true,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "input",
|
|
|
itemType: "text",
|
|
|
label: "当前工序",
|
|
|
prop: "productionProcessesName",
|
|
@@ -197,7 +204,10 @@ onMounted(() => {
|
|
|
if (route.query.id) {
|
|
|
formData.data = { ...route.query };
|
|
|
getDetails();
|
|
|
- if (!formData.data.personLiableId) {
|
|
|
+ if (
|
|
|
+ !formData.data.previousProcessesId ||
|
|
|
+ formData.data.previousProcessesId == -1
|
|
|
+ ) {
|
|
|
formOption.otherBtn = false;
|
|
|
}
|
|
|
}
|