|
@@ -598,6 +598,34 @@ const formOption = reactive({
|
|
|
const formConfig = computed(() => {
|
|
|
return [
|
|
|
{
|
|
|
+ type: "title",
|
|
|
+ title: "合同编号",
|
|
|
+ haveLine: false,
|
|
|
+ isShow: judgeStatus(),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "input",
|
|
|
+ itemType: "text",
|
|
|
+ label: "关联外销合同编号",
|
|
|
+ prop: "contractCode",
|
|
|
+ itemWidth: 50,
|
|
|
+ isShow: judgeStatus(),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "input",
|
|
|
+ itemType: "text",
|
|
|
+ label: "采购合同编号",
|
|
|
+ prop: "code",
|
|
|
+ itemWidth: 50,
|
|
|
+ isShow: judgeStatus(),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "title",
|
|
|
+ title: "买卖方信息",
|
|
|
+ haveLine: true,
|
|
|
+ isShow: judgeStatus(),
|
|
|
+ },
|
|
|
+ {
|
|
|
type: "slot",
|
|
|
slotName: "btn",
|
|
|
label: "",
|
|
@@ -1265,6 +1293,7 @@ const getAssociationData = (type, id) => {
|
|
|
if (type == 1) {
|
|
|
auxiliaryData.value[0].label = "关联销售合同";
|
|
|
proxy.post("/contract/detail", { id }).then((res) => {
|
|
|
+ formData.data.contractCode = res.code;
|
|
|
contractData.value = [
|
|
|
{
|
|
|
contractCode: res.code,
|