qsh 3 weeks ago
parent eaaceb9595
commit 014bb14170
  1. 13
      src/views/Clue/Order/Comp/SchoolSettle.vue
  2. 1
      src/views/MiniMall/MallSet/Comp/SupplierSet.vue

@ -248,6 +248,16 @@
<el-form-item label="结算金额"> <el-form-item label="结算金额">
{{ settleAmount }} {{ settleAmount }}
</el-form-item> </el-form-item>
<el-form-item label="结算日期">
<el-date-picker
v-model="form.settlementDate"
type="date"
placeholder="选择日期时间"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
:clearable="false"
/>
</el-form-item>
<el-form-item label="结算备注" prop="remark"> <el-form-item label="结算备注" prop="remark">
<Editor v-model:modelValue="form.remark" /> <Editor v-model:modelValue="form.remark" />
</el-form-item> </el-form-item>
@ -270,7 +280,7 @@ import { getPlaceList } from '@/api/school/place'
import { getClassTypeList } from '@/api/school/class' import { getClassTypeList } from '@/api/school/class'
import * as SettleApi from '@/api/clue/settle' import * as SettleApi from '@/api/clue/settle'
import { dateFormatter } from '@/utils/formatTime' import { dateFormatter, formatDate } from '@/utils/formatTime'
import { removeNullField } from '@/utils/index' import { removeNullField } from '@/utils/index'
const message = useMessage() // const message = useMessage() //
@ -395,6 +405,7 @@ function batchSettle() {
showDailog.value = true showDailog.value = true
form.value = { form.value = {
settlementIds: selectList.value.map((it) => it.settlementId), settlementIds: selectList.value.map((it) => it.settlementId),
settlementDate: formatDate(new Date()),
reamrk: undefined reamrk: undefined
} }
settleAmount.value = selectList.value.reduce((pre, cur) => pre + cur.settlementMoney, 0) settleAmount.value = selectList.value.reduce((pre, cur) => pre + cur.settlementMoney, 0)

@ -17,6 +17,7 @@
</el-form> </el-form>
<el-table v-loading="loading" :data="tableList"> <el-table v-loading="loading" :data="tableList">
<el-table-column prop="label" label="供应商名称" /> <el-table-column prop="label" label="供应商名称" />
<!-- <el-table-column prop="" label="微信群名称" /> -->
<el-table-column prop="sort" label="排序" width="100px" /> <el-table-column prop="sort" label="排序" width="100px" />
<el-table-column prop="remark" label="备注" /> <el-table-column prop="remark" label="备注" />
<el-table-column <el-table-column

Loading…
Cancel
Save