|
@@ -52,12 +52,12 @@
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="交货条款(delivery term)" v-bind="validateInfos.deliveryTerm" id="SaleOrderForm-deliveryTerm" name="deliveryTerm">
|
|
|
- <JDictSelectTag v-model:value="formData.deliveryTerm" placeholder="请选择" dictCode="delivery_terms" style="width: 49%;margin-right: 1%;"/>
|
|
|
+ <JDictSelectTag v-model:value="formData.deliveryTerm" placeholder="请选择" dictCode="delivery_terms"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="付款条件(payment terms)" v-bind="validateInfos.paymentTerms" id="SaleOrderForm-paymentTerms" name="paymentTerms" :labelCol="formItemLayout.labelCol1" :wrapperCol="formItemLayout.wrapperCol1">
|
|
|
- <JDictSelectTag v-model:value="formData.paymentTerms" placeholder="请选择" dictCode="payment_terms"/>
|
|
|
+ <JDictSelectTag v-model:value="formData.paymentTerms" placeholder="请选择" dictCode="payment_terms" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
|
|
@@ -83,7 +83,7 @@
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="质保期(warranty period)" v-bind="validateInfos.warrantyPeriod" id="SaleOrderForm-warrantyPeriod" name="warrantyPeriod">
|
|
|
- <a-input v-model:value="formData.warrantyPeriod" placeholder="请输入" style="width: 95%;margin-right: 1%;"/>月(month)
|
|
|
+ <a-input v-model:value="formData.warrantyPeriod" placeholder="请输入" style="width: 85%;margin-right: 1%;"/>月(month)
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
@@ -149,7 +149,7 @@
|
|
|
|
|
|
<!-- 子表单区域 -->
|
|
|
<a-tabs v-model:activeKey="activeKey" animated style=" padding: 24px;padding-top: 0px;">
|
|
|
- <a-tab-pane tab="采购报价单 - 船明细(ship details)" key="SaleOrderFormShipFormShip" :forceRender="true">
|
|
|
+ <a-tab-pane tab="销售订单 - 船明细(ship details)" key="SaleOrderFormShipFormShip" :forceRender="true">
|
|
|
<j-vxe-table
|
|
|
:keep-source="true"
|
|
|
resizable
|
|
@@ -167,7 +167,7 @@
|
|
|
</template>
|
|
|
</j-vxe-table>
|
|
|
</a-tab-pane>
|
|
|
- <a-tab-pane tab="采购报价单 - 产品明细(product details)" key="SaleOrderFormShipFormProduct" :forceRender="true">
|
|
|
+ <a-tab-pane tab="销售订单 - 产品明细(product details)" key="SaleOrderFormShipFormProduct" :forceRender="true">
|
|
|
<a-button type="primary" style="margin-right: 1%;margin-bottom: 1%;"> 选择产品(select product)</a-button>
|
|
|
<a-button type="primary" style="margin-right: 1%;margin-bottom: 1%;"> 选择合同(select contract)</a-button>
|
|
|
<a-button type="primary" style="margin-right: 1%;margin-bottom: 1%;"> 选择报价单(select quotation)</a-button>
|
|
@@ -203,7 +203,7 @@
|
|
|
import { defineComponent, ref, reactive, computed, toRaw} from 'vue';
|
|
|
import { defHttp } from '/@/utils/http/axios';
|
|
|
import { useValidateAntFormAndTable } from '/@/hooks/system/useJvxeMethods';
|
|
|
- import { PuechaseQuotationFormShippTable, queryPurcodeQuotationFormProductListByMainId, queryDataById, saveOrUpdate } from '../SaleOrderForm.api';
|
|
|
+ import { querySaleOrderFormShipFormShippTable, querySaleOrderFormProductListByMainId, queryDataById, saveOrUpdate } from '../SaleOrderyForm.api';
|
|
|
import { JVxeTable } from '/@/components/jeecg/JVxeTable';
|
|
|
import {saleOrderShipColumns, saleOrderProductColumns} from '../SaleOrderForm.data';
|
|
|
// import BaseShipArchiveAccessoriesList from './BaseShipArchiveAccessoriesModal.vue';
|
|
@@ -323,9 +323,9 @@
|
|
|
//主表数据
|
|
|
await queryMainData(row.id);
|
|
|
//子表数据
|
|
|
- const SaleOrderFormShipFormShipDataList = await SaleOrderFormShipFormShippTable(row['id']);
|
|
|
+ const SaleOrderFormShipFormShipDataList = await querySaleOrderFormShipFormShippTable(row['id']);
|
|
|
SaleOrderFormShipFormShipTable.dataSource = [...SaleOrderFormShipFormShipDataList];
|
|
|
- const SaleOrderFormShipFormProductDataList = await queryPurcodeQuotationFormProductListByMainId(row['id']);
|
|
|
+ const SaleOrderFormShipFormProductDataList = await querySaleOrderFormProductListByMainId(row['id']);
|
|
|
SaleOrderFormShipFormProductTable.dataSource = [...SaleOrderFormShipFormProductDataList];
|
|
|
}
|
|
|
|