|
@@ -25,7 +25,7 @@
|
|
|
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="项目(project)" v-bind="validateInfos.projectName" id="SaleOrderForm-projectName" name="projectName" >
|
|
|
- <a-input-search v-model:value="formData.projectName" placeholder="请输入项目(project)" :disabled="notAllowEdit" allow-clear enter-button="Search" AutoComplete="off" @search="onSearchProject"></a-input-search>
|
|
|
+ <a-input-search v-model:value="formData.projectName" placeholder="请输入项目(project)" readonly :disabled="notAllowEdit" allow-clear enter-button="Search" AutoComplete="off" @search="onSearchProject"></a-input-search>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
@@ -176,7 +176,7 @@
|
|
|
:loading="purOrderFormShipFormProductTable.loading"
|
|
|
:columns="purOrderFormShipFormProductTable.columns"
|
|
|
:dataSource="purOrderFormShipFormProductTable.dataSource"
|
|
|
- :height="340"
|
|
|
+ :maxHeight="340"
|
|
|
:disabled="disabled"
|
|
|
:rowNumber="true"
|
|
|
:rowSelection="true"
|
|
@@ -197,7 +197,7 @@
|
|
|
:loading="PurOrderFormShipFormShipTable.loading"
|
|
|
:columns="PurOrderFormShipFormShipTable.columns"
|
|
|
:dataSource="PurOrderFormShipFormShipTable.dataSource"
|
|
|
- :height="340"
|
|
|
+ :maxHeight="340"
|
|
|
:disabled="disabled"
|
|
|
:rowNumber="true"
|
|
|
:rowSelection="true"
|
|
@@ -237,6 +237,7 @@
|
|
|
import { useUserStore } from '/@/store/modules/user';
|
|
|
import { ApiSelect, } from '/@/components/Form/index';
|
|
|
import moment from 'moment';
|
|
|
+import { itemList } from '/@/views/system/dict/dict.api';
|
|
|
const useForm = Form.useForm;
|
|
|
export default defineComponent({
|
|
|
name: "SaleOrderForm",
|
|
@@ -516,7 +517,7 @@
|
|
|
item.model = item.childModel
|
|
|
item.sourceId = item.childId
|
|
|
item.sourceType = 'Quo'+item.childId
|
|
|
- item.sourceCode =data[0].billCode
|
|
|
+ item.sourceCode =item.billCode
|
|
|
})
|
|
|
var arrProduct = data.concat(purOrderFormShipFormProductTable.dataSource)
|
|
|
purOrderFormShipFormProductTable.dataSource=arrProduct
|
|
@@ -541,8 +542,9 @@
|
|
|
item.model = item.childModel
|
|
|
item.sourceId = item.childId
|
|
|
item.sourceType = 'Con'+item.childId
|
|
|
- item.sourceCode =data[0].billCode
|
|
|
- item.taxPrice=data[0].taxPriceGys
|
|
|
+ item.sourceCode =item.billCode
|
|
|
+ item.taxPrice=item.taxPriceGys
|
|
|
+ item.taxAmount = item.taxPrice*item.quantity
|
|
|
// item.productClass =data[0].productClass
|
|
|
})
|
|
|
var arrProduct = data.concat(purOrderFormShipFormProductTable.dataSource)
|