字段调整
This commit is contained in:
1 parent
2c564189a6
commit
d4e933961f
9 files changed
+50
-26
No files matched your search
@@ -11,8 +11,8 @@
|
||||
type="date"
|
||||
placeholder="请输入单据日期"
|
||||
v-model="state.queryForm.inventoryDate"
|
||||
fomat="yyyy-MM-dd"
|
||||
value-format="yyyy-MM-dd"
|
||||
fomat="YYYY-MM-DD"
|
||||
value-format="YYYY-MM-DD"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="经办人" prop="handlerUserId">
|
||||
@@ -129,7 +129,9 @@ const selectObjs = ref([]) as any
|
||||
const multiple = ref(true)
|
||||
|
||||
const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
queryForm: {},
|
||||
queryForm: {
|
||||
inventoryType: "4",
|
||||
},
|
||||
pageList: fetchList,
|
||||
})
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ const baseDataForm = reactive<any>({
|
||||
remark: "",
|
||||
orderType: "2",
|
||||
totalAmount: "",
|
||||
inventoryType: "4",
|
||||
inventoryType: "4",
|
||||
})
|
||||
const state = reactive<{
|
||||
editableTableData: any[]
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="审批状态" prop="checkStatus">
|
||||
<el-input v-model="baseDataForm.checkStatus" placeholder="请输入审批状态" style="width: 200px" />
|
||||
<el-select v-model="baseDataForm.checkStatus" placeholder="请选择审批状态" style="width: 200px">
|
||||
<el-option :label="item.label" :value="item.value" v-for="(item, index) in check_status" :key="index" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="货商" prop="supplierId">
|
||||
@@ -193,6 +195,7 @@ import { Search } from "@element-plus/icons-vue"
|
||||
import erpSpuSelectDialog from "/@/views/supermarketerp/components/erpSpuSelectDialog.vue"
|
||||
import linkCgCodeDialog from "/@/views/supermarketerp/smErpCgDd/components/linkCgCodeDialog.vue"
|
||||
import { displayPrice } from "/@/utils/formatMoney"
|
||||
import { useDict } from "/@/hooks/dict"
|
||||
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
@@ -202,6 +205,7 @@ const linkCgCodeDialogRef = ref() // 关联采购申请单对话框ref
|
||||
const baseDataFormRef = ref() // 基本数据表单ref
|
||||
const editableTableRef = ref<VxeTableInstance<any>>() // 可编辑表格ref
|
||||
const supplierTypeDict = ref<any[]>([]) // 货商下拉选项
|
||||
const { check_status } = useDict("check_status")
|
||||
// 基本信息表单数据
|
||||
const baseDataForm = reactive<any>({
|
||||
id: "",
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
type="date"
|
||||
placeholder="请输入单据日期"
|
||||
v-model="state.queryForm.inventoryDate"
|
||||
fomat="yyyy-MM-dd"
|
||||
value-format="yyyy-MM-dd"
|
||||
fomat="YYYY-MM-DD"
|
||||
value-format="YYYY-MM-DD"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="经办人" prop="handlerUserId">
|
||||
@@ -76,11 +76,11 @@
|
||||
<el-table-column prop="inventoryDate" label="单据日期" show-overflow-tooltip />
|
||||
<el-table-column prop="productName" label="入库商品" show-overflow-tooltip />
|
||||
<el-table-column prop="handlerUserName" label="经办人" show-overflow-tooltip />
|
||||
<!-- <el-table-column prop="checkStatus" label="审批状态" show-overflow-tooltip>-->
|
||||
<!-- <template #default="scope">-->
|
||||
<!-- <dict-tag :options="check_status" :value="scope.row.checkStatus"></dict-tag>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<!-- <el-table-column prop="checkStatus" label="审批状态" show-overflow-tooltip>-->
|
||||
<!-- <template #default="scope">-->
|
||||
<!-- <dict-tag :options="check_status" :value="scope.row.checkStatus"></dict-tag>-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<el-table-column prop="supplierId" label="货商" show-overflow-tooltip />
|
||||
<el-table-column prop="remark" label="备注" show-overflow-tooltip />
|
||||
<el-table-column prop="totalAmount" label="入库总金额" show-overflow-tooltip />
|
||||
@@ -129,7 +129,9 @@ const selectObjs = ref([]) as any
|
||||
const multiple = ref(true)
|
||||
|
||||
const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
queryForm: {},
|
||||
queryForm: {
|
||||
inventoryType: "3",
|
||||
},
|
||||
pageList: fetchList,
|
||||
})
|
||||
|
||||
|
||||
@@ -27,7 +27,9 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="审批状态" prop="checkStatus">
|
||||
<el-input v-model.trim="baseDataForm.checkStatus" placeholder="请输入审批状态" style="width: 200px" />
|
||||
<el-select v-model="baseDataForm.checkStatus" placeholder="请选择审批状态" style="width: 200px">
|
||||
<el-option :label="item.label" :value="item.value" v-for="(item, index) in check_status" :key="index" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="货商" prop="supplierId">
|
||||
@@ -194,6 +196,7 @@ import { Search } from "@element-plus/icons-vue"
|
||||
import erpSpuSelectDialog from "/@/views/supermarketerp/components/erpSpuSelectDialog.vue"
|
||||
import linkCgCodeDialog from "/@/views/supermarketerp/smErpInventoryRecords/components/linkCgCodeDialog.vue"
|
||||
import { displayPrice } from "/@/utils/formatMoney"
|
||||
import { useDict } from "/@/hooks/dict"
|
||||
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
@@ -203,6 +206,7 @@ const linkCgCodeDialogRef = ref() // 关联采购申请单对话框ref
|
||||
const baseDataFormRef = ref() // 基本数据表单ref
|
||||
const editableTableRef = ref<VxeTableInstance<any>>() // 可编辑表格ref
|
||||
const supplierTypeDict = ref<any[]>([]) // 货商下拉选项
|
||||
const { check_status } = useDict("check_status")
|
||||
// 基本信息表单数据
|
||||
const baseDataForm = reactive<any>({
|
||||
id: "",
|
||||
@@ -214,7 +218,7 @@ const baseDataForm = reactive<any>({
|
||||
checkTime: "",
|
||||
supplierId: "",
|
||||
remark: "",
|
||||
inventoryType: "3",
|
||||
inventoryType: "3",
|
||||
orderType: "1",
|
||||
totalAmount: "",
|
||||
})
|
||||
@@ -289,7 +293,7 @@ const handleClickLinkCode = () => linkCgCodeDialogRef.value.openLinkCodeDialog()
|
||||
const getSelectedCgPlan = (selectionRows: any) => {
|
||||
console.log("被选择的关联数据", selectionRows)
|
||||
|
||||
baseDataForm.linkCode = selectionRows.planCode
|
||||
baseDataForm.linkCode = selectionRows.code
|
||||
state.editableTableData = selectionRows.items
|
||||
state.erpSpuItemsMemo = selectionRows.items
|
||||
state.linkCgCodeDialogVisible = false
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
type="date"
|
||||
placeholder="请输入单据日期"
|
||||
v-model="state.queryForm.inventoryDate"
|
||||
fomat="yyyy-MM-dd"
|
||||
value-format="yyyy-MM-dd"
|
||||
fomat="YYYY-MM-DD"
|
||||
value-format="YYYY-MM-DD"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="经办人" prop="handlerUserId">
|
||||
@@ -129,7 +129,9 @@ const selectObjs = ref([]) as any
|
||||
const multiple = ref(true)
|
||||
|
||||
const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
queryForm: {},
|
||||
queryForm: {
|
||||
inventoryType: "6",
|
||||
},
|
||||
pageList: fetchList,
|
||||
})
|
||||
|
||||
|
||||
@@ -27,7 +27,9 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="审批状态" prop="checkStatus">
|
||||
<el-input v-model.trim="baseDataForm.checkStatus" placeholder="请输入审批状态" style="width: 200px" />
|
||||
<el-select v-model="baseDataForm.checkStatus" placeholder="请选择审批状态" style="width: 200px">
|
||||
<el-option :label="item.label" :value="item.value" v-for="(item, index) in check_status" :key="index" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="货商" prop="supplierId">
|
||||
@@ -219,6 +221,7 @@ import { Search } from "@element-plus/icons-vue"
|
||||
import erpSpuSelectDialog from "/@/views/supermarketerp/components/erpSpuSelectDialog.vue"
|
||||
import linkCgCodeDialog from "/@/views/supermarketerp/smErpCgDd/components/linkCgCodeDialog.vue"
|
||||
import { displayPrice, storePrice } from "/@/utils/formatMoney"
|
||||
import { useDict } from "/@/hooks/dict"
|
||||
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
@@ -228,6 +231,7 @@ const linkCgCodeDialogRef = ref() // 关联采购申请单对话框ref
|
||||
const baseDataFormRef = ref() // 基本数据表单ref
|
||||
const editableTableRef = ref<VxeTableInstance<any>>() // 可编辑表格ref
|
||||
const supplierTypeDict = ref<any[]>([]) // 货商下拉选项
|
||||
const { check_status } = useDict("check_status")
|
||||
// 基本信息表单数据
|
||||
const baseDataForm = reactive<any>({
|
||||
id: "",
|
||||
@@ -242,7 +246,7 @@ const baseDataForm = reactive<any>({
|
||||
orderType: "1",
|
||||
totalAmount: "",
|
||||
memberNumber: "",
|
||||
inventoryType: "6",
|
||||
inventoryType: "6",
|
||||
})
|
||||
const state = reactive<{
|
||||
editableTableData: any[]
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
type="date"
|
||||
placeholder="请输入单据日期"
|
||||
v-model="state.queryForm.inventoryDate"
|
||||
fomat="yyyy-MM-dd"
|
||||
value-format="yyyy-MM-dd"
|
||||
fomat="YYYY-MM-DD"
|
||||
value-format="YYYY-MM-DD"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="经办人" prop="handlerUserId">
|
||||
@@ -129,7 +129,9 @@ const selectObjs = ref([]) as any
|
||||
const multiple = ref(true)
|
||||
|
||||
const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
queryForm: {},
|
||||
queryForm: {
|
||||
inventoryType: "5",
|
||||
},
|
||||
pageList: fetchList,
|
||||
})
|
||||
|
||||
|
||||
@@ -27,7 +27,9 @@
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="审批状态" prop="checkStatus">
|
||||
<el-input v-model.trim="baseDataForm.checkStatus" placeholder="请输入审批状态" style="width: 200px" />
|
||||
<el-select v-model="baseDataForm.checkStatus" placeholder="请选择审批状态" style="width: 200px">
|
||||
<el-option :label="item.label" :value="item.value" v-for="(item, index) in check_status" :key="index" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="货商" prop="supplierId">
|
||||
@@ -219,6 +221,7 @@ import { Search } from "@element-plus/icons-vue"
|
||||
import erpSpuSelectDialog from "/@/views/supermarketerp/components/erpSpuSelectDialog.vue"
|
||||
import linkCgCodeDialog from "/@/views/supermarketerp/smErpCgDd/components/linkCgCodeDialog.vue"
|
||||
import { displayPrice, storePrice } from "/@/utils/formatMoney"
|
||||
import { useDict } from "/@/hooks/dict"
|
||||
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
@@ -228,6 +231,7 @@ const linkCgCodeDialogRef = ref() // 关联采购申请单对话框ref
|
||||
const baseDataFormRef = ref() // 基本数据表单ref
|
||||
const editableTableRef = ref<VxeTableInstance<any>>() // 可编辑表格ref
|
||||
const supplierTypeDict = ref<any[]>([]) // 货商下拉选项
|
||||
const { check_status } = useDict("check_status")
|
||||
// 基本信息表单数据
|
||||
const baseDataForm = reactive<any>({
|
||||
id: "",
|
||||
@@ -242,7 +246,7 @@ const baseDataForm = reactive<any>({
|
||||
orderType: "2",
|
||||
totalAmount: "",
|
||||
memberNumber: "",
|
||||
inventoryType: "5",
|
||||
inventoryType: "5",
|
||||
})
|
||||
const state = reactive<{
|
||||
editableTableData: any[]
|
||||
|
||||
Reference in new issue
Block a user