测试问题修改zzy
This commit is contained in:
parent
720e979d7e
commit
b65aa5b75b
|
|
@ -10,10 +10,11 @@ export function getListLeaseOut(query) {
|
|||
}
|
||||
|
||||
// 领料出库-出库详情信息
|
||||
export function outInfoList(id) {
|
||||
export function outInfoList(id,query) {
|
||||
return request({
|
||||
url: '/material/lease_apply_info/' + id,
|
||||
method: 'get'
|
||||
method: 'get',
|
||||
params: query,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -126,12 +126,12 @@
|
|||
:data="equipmentList"
|
||||
@selection-change="handleSelectionChange"
|
||||
>
|
||||
<el-table-column
|
||||
<!-- <el-table-column
|
||||
type="selection"
|
||||
min-width="55"
|
||||
align="center"
|
||||
:selectable="selectable"
|
||||
/>
|
||||
/> -->
|
||||
<el-table-column label="序号" type="index" align="center" min-width="80" />
|
||||
<el-table-column
|
||||
label="类型名称"
|
||||
|
|
|
|||
|
|
@ -238,12 +238,11 @@
|
|||
v-show="showSearch"
|
||||
label-width="68px"
|
||||
>
|
||||
<el-form-item prop="typeId">
|
||||
<el-form-item prop="keyWord">
|
||||
<el-input
|
||||
v-model="queryOutInfo.typeId"
|
||||
v-model="queryOutInfo.keyWord"
|
||||
placeholder="请输入规格型号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQueryOutInfo"
|
||||
maxlength="20"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
|
@ -337,12 +336,11 @@
|
|||
v-show="showSearch"
|
||||
label-width="68px"
|
||||
>
|
||||
<el-form-item prop="typeId">
|
||||
<el-form-item prop="keyWord">
|
||||
<el-input
|
||||
v-model="queryOutView.typeId"
|
||||
v-model="queryOutView.keyWord"
|
||||
placeholder="请输入规格型号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQueryOutInfo"
|
||||
maxlength="20"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
|
@ -351,13 +349,13 @@
|
|||
type="primary"
|
||||
icon="el-icon-search"
|
||||
size="mini"
|
||||
@click="handleQueryOutInfo"
|
||||
@click="handleQueryOutView"
|
||||
>查询</el-button
|
||||
>
|
||||
<el-button
|
||||
icon="el-icon-refresh"
|
||||
size="mini"
|
||||
@click="resetQueryOutInfo"
|
||||
@click="resetQueryOutView"
|
||||
>重置</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
|
|
@ -1004,31 +1002,6 @@ export default {
|
|||
this.queryParams.keyWord = "";
|
||||
this.handleQuery();
|
||||
},
|
||||
//出库搜索按钮
|
||||
handleQueryOutInfo() {
|
||||
this.queryOutInfo.pageNum = 1;
|
||||
this.getDialogList();
|
||||
},
|
||||
resetQueryOutInfo() {
|
||||
this.queryOutInfo.typeId=""
|
||||
this.getDialogList();
|
||||
},
|
||||
getListView() {
|
||||
outInfoList(this.queryOutView.id).then((response) => {
|
||||
this.getListOutInfo = response.data.leaseApplyDetailsList;
|
||||
// this.dialogTotal = response.
|
||||
// this.loading = false;
|
||||
});
|
||||
},
|
||||
|
||||
/** 出库查询列表 */
|
||||
getDialogList() {
|
||||
outInfoList(this.queryOutInfo.id).then((response) => {
|
||||
this.getListOutInfo = response.data.leaseApplyDetailsList;
|
||||
// this.dialogTotal = response.
|
||||
// this.loading = false;
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
/** 查看按钮操作 */
|
||||
|
|
@ -1036,17 +1009,52 @@ export default {
|
|||
this.title = "查看";
|
||||
this.showOutView = true;
|
||||
this.queryOutView.id = row.id;
|
||||
outInfoList(row.id).then((response) => {
|
||||
outInfoList(row.id,{keyWord:this.queryOutView.keyWord}).then((response) => {
|
||||
this.getListOutInfo = response.data.leaseApplyDetailsList;
|
||||
// this.loading = false;
|
||||
});
|
||||
},
|
||||
//查看
|
||||
handleQueryOutView(){
|
||||
this.queryOutView.pageNum = 1;
|
||||
this.getListView();
|
||||
},
|
||||
resetQueryOutView() {
|
||||
this.queryOutView.keyWord=""
|
||||
this.getListView();
|
||||
},
|
||||
getListView() {
|
||||
outInfoList(this.queryOutView.id,{keyWord:this.queryOutView.keyWord}).then((response) => {
|
||||
this.getListOutInfo = response.data.leaseApplyDetailsList;
|
||||
// this.dialogTotal = response.
|
||||
// this.loading = false;
|
||||
});
|
||||
},
|
||||
/** 出库查询列表 */
|
||||
getDialogList() {
|
||||
outInfoList(this.queryOutInfo.id,{keyWord:this.queryOutInfo.keyWord}).then((response) => {
|
||||
this.getListOutInfo = response.data.leaseApplyDetailsList;
|
||||
// this.dialogTotal = response.
|
||||
// this.loading = false;
|
||||
});
|
||||
},
|
||||
//出库搜索按钮
|
||||
handleQueryOutInfo() {
|
||||
this.queryOutInfo.pageNum = 1;
|
||||
this.getDialogList();
|
||||
},
|
||||
//出库搜索按钮
|
||||
resetQueryOutInfo() {
|
||||
this.queryOutInfo.keyWord=""
|
||||
this.getDialogList();
|
||||
},
|
||||
|
||||
/** 出库按钮操作 */
|
||||
handleOut(row) {
|
||||
this.title = "出库";
|
||||
this.showOutInfo = true;
|
||||
this.queryOutInfo.id = row.id;
|
||||
outInfoList(row.id).then((response) => {
|
||||
outInfoList(row.id,{keyWord:this.queryOutInfo.keyWord}).then((response) => {
|
||||
this.getListOutInfo = response.data.leaseApplyDetailsList;
|
||||
// this.loading = false;
|
||||
});
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@
|
|||
v-model="scope.row.purchaseTaxPrice"
|
||||
controls-position="right"
|
||||
style="width: 100%"
|
||||
:min="0"
|
||||
:min="0" disabled
|
||||
@change="purchaseTaxPriceChange(scope.row,scope.$index)"
|
||||
></el-input-number>
|
||||
</template>
|
||||
|
|
@ -457,13 +457,12 @@ export default {
|
|||
},
|
||||
// 含税单价
|
||||
purchaseTaxPriceChange(row,val){
|
||||
// this.equipmentList[val].purchasePrice = (row.purchaseTaxPrice/(1 + this.maForm.taxRate/100)).toFixed(2)
|
||||
row.purchasePrice = (row.purchaseTaxPrice/(1 + this.maForm.taxRate/100)).toFixed(3)
|
||||
row.purchasePrice = (row.purchaseTaxPrice/(1 + this.maForm.taxRate/100)).toFixed(4)
|
||||
// row.purchaseTaxPrice = (row.purchasePrice*(1 + this.maForm.taxRate/100)).toFixed(3)
|
||||
},
|
||||
// 不含税单价
|
||||
purchasePriceChange(row,val){
|
||||
// this.equipmentList[val].purchaseTaxPrice = (row.purchasePrice*(1 + this.maForm.taxRate/100)).toFixed(2)
|
||||
row.purchaseTaxPrice = (row.purchasePrice*(1 + this.maForm.taxRate/100)).toFixed(3)
|
||||
row.purchaseTaxPrice = (row.purchasePrice*(1 + this.maForm.taxRate/100)).toFixed(4)
|
||||
},
|
||||
/** 物资厂家-下拉选 */
|
||||
supplierInfoList() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue