测试问题修改

master
zhangdi 2 months ago
parent be6561174e
commit 6455f45a9d
  1. 8
      src/views/firstOrder/components/recordDialog.vue
  2. 15
      src/views/secondOrder/components/approvalProcessDialog.vue
  3. 14
      src/views/secondOrder/components/outDialog.vue
  4. 5
      src/views/secondOrder/components/recordDialog.vue

@ -7,8 +7,8 @@
@close="closeDialog" @close="closeDialog"
> >
<el-tabs v-model="transactionType" @tab-click="handleTabClick"> <el-tabs v-model="transactionType" @tab-click="handleTabClick">
<el-tab-pane label="入库" name="2"></el-tab-pane> <el-tab-pane label="入库" name="1"></el-tab-pane>
<el-tab-pane label="出库" name="1"></el-tab-pane> <el-tab-pane label="出库" name="2"></el-tab-pane>
</el-tabs> </el-tabs>
<div style="display:flex; flex-direction:column; height:400px;"> <div style="display:flex; flex-direction:column; height:400px;">
<avue-crud <avue-crud
@ -48,7 +48,7 @@ export default {
data() { data() {
return { return {
openShow: false, openShow: false,
transactionType: "2", transactionType: "1",
tableData: [], tableData: [],
purchaseTitle: "记录", purchaseTitle: "记录",
data: [], data: [],
@ -63,7 +63,7 @@ export default {
}, },
computed: { computed: {
dynamicOption() { dynamicOption() {
const showPriceColumn = this.rowData.type === 'NY' && this.transactionType === '1'; const showPriceColumn = this.rowData.type === 'NY' && this.transactionType === '2';
const columns = [ const columns = [
{ {

@ -36,21 +36,6 @@ export default {
inDialogVisible: false, inDialogVisible: false,
inDialogTiltle: "审批流程", inDialogTiltle: "审批流程",
approvalList: [ approvalList: [
// {
// name: "",
// time: "2021-01-01 10:10:10",
// status: "",
// },
// {
// name: "1",
// time: "",
// status: "",
// },
// {
// name: "3",
// time: "",
// status: "",
// },
], ],
}; };
}, },

@ -134,7 +134,7 @@
</el-col> </el-col>
</el-row> </el-row>
<div class="form-title">{{ outDateInfo }} 出库信息</div> <div class="form-title">{{ outDateInfo }} 出库信息</div>
<div v-if="sizeForm.ldTwoOutStorage.groupName != null"> <div v-if="sizeForm.ldTwoOutStorage.groupName !== '自由出库'">
<el-table <el-table
:data="groupTableData" :data="groupTableData"
style="width: 100%" style="width: 100%"
@ -192,7 +192,7 @@
</el-table> </el-table>
</div> </div>
<div v-if="sizeForm.ldTwoOutStorage.groupName == null"> <div v-if="sizeForm.ldTwoOutStorage.groupName == '自由出库'">
<el-button <el-button
type="primary" type="primary"
size="mini" size="mini"
@ -550,6 +550,16 @@ export default {
} }
}, },
getOutGroupName() { getOutGroupName() {
// this.groupNameOptions = [
// {
// groupIds: "83,85",
// groupName: "",
// },
// {
// groupIds: null,
// groupName: "",
// },
// ];
getOutGroupName().then((res) => { getOutGroupName().then((res) => {
this.groupNameOptions = res.data.result; this.groupNameOptions = res.data.result;
}); });

@ -8,8 +8,9 @@
> >
<el-tabs v-model="transactionType" @tab-click="handleTabClick"> <el-tabs v-model="transactionType" @tab-click="handleTabClick">
<el-tab-pane label="出库" name="1"></el-tab-pane> <el-tab-pane label="入库" name="1"></el-tab-pane>
<el-tab-pane label="入库" name="2"></el-tab-pane> <el-tab-pane label="出库" name="2"></el-tab-pane>
</el-tabs> </el-tabs>
<div style="height: 400px;"> <div style="height: 400px;">
<avue-crud <avue-crud

Loading…
Cancel
Save