Sendack.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731
  1. <template>
  2. <div>
  3. <div class="sendack-all">
  4. <div class="sendack-head">
  5. <div class="sendack-head-li">
  6. <label>团组名称:</label>
  7. <el-select style="width:250px" @change="changediid()" v-model="value" filterable placeholder="请选择">
  8. <el-option
  9. v-for="item in options"
  10. :key="item.id"
  11. :label="item.groupName"
  12. :value="item.id">
  13. </el-option>
  14. </el-select>
  15. </div>
  16. <div v-if="addAuth=1" class="sendack-head-li">
  17. <el-button @click="addclick()" type="primary">新增数据</el-button>
  18. </div>
  19. </div>
  20. <div class="sendack-info">
  21. <div class="sendack-info-li">
  22. <label>团 号:</label>
  23. <span v-if="this.groupInfo.tourCode!=''">{{groupInfo=={}?'暂无':groupInfo.tourCode==""?'暂无':groupInfo.tourCode}}</span>
  24. </div>
  25. <div class="sendack-info-li">
  26. <label>客 户:</label>
  27. <span>{{groupInfo=={}?'暂无':groupInfo.clientName==""?'暂无':groupInfo.clientName}}</span>
  28. </div>
  29. <div class="sendack-info-li">
  30. <label>出访国家:</label>
  31. <span>{{groupInfo=={}?'暂无':groupInfo.visitCountry==""?'暂无':groupInfo.visitCountry}}</span>
  32. </div>
  33. <div class="sendack-info-li">
  34. <label>起止日期:</label>
  35. <span>{{groupInfo.visitStartDate|filter_time}}~{{groupInfo.visitEndDate|filter_time}}</span>
  36. </div>
  37. <div class="sendack-info-li">
  38. <label>天数/人数:</label>
  39. <span>{{groupInfo=={}?'暂无':groupInfo.visitDays+'天/'+groupInfo.visitPNumber+'人'}}</span>
  40. </div>
  41. </div>
  42. <template>
  43. <el-table
  44. :data="groupsendData"
  45. border
  46. style="width: 100%">
  47. <el-table-column
  48. type="index"
  49. label="序 号"
  50. width="55">
  51. </el-table-column>
  52. <el-table-column
  53. prop="priceName"
  54. label="费用名称">
  55. </el-table-column>
  56. <el-table-column
  57. width="120"
  58. label="费用">
  59. <template slot-scope="scope">
  60. {{ townum(scope.row.price) }} {{ scope.row.currencyCode }}
  61. </template>
  62. </el-table-column>
  63. <el-table-column
  64. prop="createUserName"
  65. label="操作人"
  66. width="80">
  67. </el-table-column>
  68. <el-table-column
  69. prop="createTime"
  70. label="操作时间"
  71. width="165">
  72. </el-table-column>
  73. <el-table-column
  74. prop="auditGMName"
  75. label="审核人"
  76. width="80">
  77. </el-table-column>
  78. <el-table-column
  79. prop="auditGMDate"
  80. label="审核时间"
  81. width="165">
  82. </el-table-column>
  83. <el-table-column
  84. prop="remark"
  85. label="备注"
  86. >
  87. </el-table-column>
  88. <el-table-column label="操作" width="160">
  89. <template slot-scope="scope">
  90. <el-button
  91. :disabled="scope.row.isAuditGM==1"
  92. type="primary"
  93. size="mini"
  94. @click="Complete(scope.$index, scope.row)">编辑</el-button>
  95. <el-button
  96. :disabled="scope.row.isAuditGM==1"
  97. type="danger"
  98. size="mini"
  99. @click="Delete(scope.$index, scope.row)"
  100. >删除</el-button>
  101. </template>
  102. </el-table-column>
  103. </el-table>
  104. </template>
  105. <el-dialog class="sendack-dialog" width="900px" title="新增数据" :visible.sync="dialogFormVisible">
  106. <div class="sendack-info">
  107. <div class="sendack-info-li">
  108. <label>团 号:</label>
  109. <span v-if="this.groupInfo.tourCode!=''">{{groupInfo=={}?'暂无':groupInfo.tourCode==""?'暂无':groupInfo.tourCode}}</span>
  110. </div>
  111. <div class="sendack-info-li">
  112. <label>客 户:</label>
  113. <span>{{groupInfo=={}?'暂无':groupInfo.clientName==""?'暂无':groupInfo.clientName}}</span>
  114. </div>
  115. <div class="sendack-info-li">
  116. <label>出访国家:</label>
  117. <span>{{groupInfo=={}?'暂无':groupInfo.visitCountry==""?'暂无':groupInfo.visitCountry}}</span>
  118. </div>
  119. <div class="sendack-info-li">
  120. <label>起止日期:</label>
  121. <span>{{groupInfo.visitStartDate|filter_time}}~{{groupInfo.visitEndDate|filter_time}}</span>
  122. </div>
  123. <div class="sendack-info-li">
  124. <label>天数/人数:</label>
  125. <span>{{groupInfo=={}?'暂无':groupInfo.visitDays+'天/'+groupInfo.visitPNumber+'人'}}</span>
  126. </div>
  127. </div>
  128. <el-form :model="form" :rules="rules" ref="form">
  129. <div style="display: flex;flex-wrap:wrap;">
  130. <el-form-item label="费用名称" prop="priceName" :label-width="formLabelWidth">
  131. <el-input v-model="form.priceName" autocomplete="off"></el-input>
  132. </el-form-item>
  133. <el-form-item label="费用金额" prop="price" :label-width="formLabelWidth">
  134. <el-input-number class="fyjeinput" :controls="false" :precision="2" v-model="form.price"></el-input-number>
  135. <el-select filterable class="fyjeselect" v-model="form.currencyId" placeholder="请选择币种">
  136. <el-option v-for="(item,index) in currencyDatas" :key="index" :label="item.currencyCode" :value="item.currencyId">
  137. <span>{{item.currencyCode}}</span>
  138. <span>{{item.currencyName}}</span>
  139. </el-option>
  140. </el-select>
  141. </el-form-item>
  142. <el-form-item label="收款方" prop="payee" :label-width="formLabelWidth">
  143. <el-input v-model="form.payee" autocomplete="off"></el-input>
  144. </el-form-item>
  145. <el-form-item label="支付方式" prop="payDId" :label-width="formLabelWidth">
  146. <el-select v-model="form.payDId" placeholder="请选择活动区域">
  147. <el-option v-for="(item,index) in payTypeDatas" :key="index" :label="item.name" :value="item.id"></el-option>
  148. </el-select>
  149. </el-form-item>
  150. <el-form-item label="费用标识" prop="orbitalPrivateTransfer" :label-width="formLabelWidth">
  151. <el-select v-model="form.orbitalPrivateTransfer" placeholder="请选择活动区域">
  152. <el-option v-for="(item,index) in orbitalPrivateTransferDatas" :key="index" :label="item.name" :value="item.id"></el-option>
  153. </el-select>
  154. </el-form-item>
  155. <el-form-item label="消费方式" prop="consumptionPatterns" :label-width="formLabelWidth">
  156. <el-input v-model="form.consumptionPatterns" autocomplete="off"></el-input>
  157. </el-form-item>
  158. <el-form-item label="费用类型" prop="payType" :label-width="formLabelWidth">
  159. <el-select v-model="form.payType" placeholder="请选择活动区域">
  160. <el-option v-for="(item,index) in priceTypeDatas" :key="index" :label="item.name" :value="item.id"></el-option>
  161. </el-select>
  162. </el-form-item>
  163. </div>
  164. <el-form-item style="width:97%" label="备 注" :label-width="formLabelWidth">
  165. <el-input style="width:100%" :rows="4" type="textarea" v-model="form.remark" autocomplete="off"></el-input>
  166. </el-form-item>
  167. </el-form>
  168. <div slot="footer" class="dialog-footer">
  169. <el-button @click="dialogFormVisible = false">取 消</el-button>
  170. <el-button v-if="identify" type="primary" @click="submitForm('form','保存')">确 定</el-button>
  171. <el-button v-if="revise" type="primary" @click="submitForm('form','修改')">修 改</el-button>
  172. </div>
  173. </el-dialog>
  174. </div>
  175. </div>
  176. </template>
  177. <script>
  178. export default {
  179. data() {
  180. return {
  181. cTable:0,
  182. addAuth:1,
  183. userid:'',
  184. value:'',
  185. options:[],
  186. groupInfo:{},
  187. groupsendData:[],
  188. pageId:0,
  189. dialogFormVisible:false,
  190. form:{
  191. id:0,
  192. ccpId:0,
  193. priceName:'',//费用名称
  194. price:0,//费用
  195. currencyId:0,//币种Id
  196. currencyCode:'',//币种Code
  197. payee:'',//收款方
  198. payDId:72,//支付方式Id
  199. orbitalPrivateTransfer:0,//费用标识
  200. consumptionPatterns:'',//消费方式
  201. payType:0,//费用类型 0 其他 1 退多付款
  202. remark:'',//备注
  203. },
  204. rules: {
  205. priceName: [
  206. { required: true, message: '请输入费用名称', trigger: 'blur' },
  207. ],
  208. price: [
  209. { required: true, message: '请填写完此项', trigger: 'blur' }
  210. ],
  211. payee: [
  212. { required: true, message: '请填写完此项', trigger: 'blur' }
  213. ],
  214. payDId: [
  215. { required: true, message: '请选择', trigger: 'change' }
  216. ],
  217. orbitalPrivateTransfer: [
  218. { required: true, message: '请选择', trigger: 'change' }
  219. ],
  220. consumptionPatterns: [
  221. { required: true, message: '请填写完此项', trigger: 'blur' }
  222. ],
  223. payType: [
  224. { required: true, message: '请选择', trigger: 'change' }
  225. ]
  226. },
  227. formLabelWidth:'100px',
  228. currencyDatas:[],
  229. payTypeDatas:[],
  230. priceTypeDatas:[],
  231. orbitalPrivateTransferDatas:[],
  232. identify:false,
  233. revise:false,
  234. }
  235. },
  236. methods:{
  237. //保留两位小数
  238. townum(val){
  239. return val.toFixed(2)
  240. },
  241. filteryear(val){
  242. let gstime=val.visitDate.split(' ')[0]
  243. return gstime;
  244. },
  245. //获取团组
  246. GetForeignReceivablesDataSources(){
  247. var url = "/api/Financial/GetForeignReceivablesDataSources"
  248. var that = this
  249. this.$axios({
  250. method: 'post',
  251. url: url,
  252. headers: {
  253. Authorization: 'Bearer ' + that.userid
  254. },
  255. }).then(function (res) {
  256. console.log(res)
  257. if(res.data.code==200){
  258. that.options=res.data.data.groupNameData;
  259. that.value=res.data.data.groupNameData[0].id;
  260. that.PostShareGroupInfo();
  261. setTimeout(function(){
  262. that.PostPaymentRefundAndOtherMoneyItemByDiId();
  263. },100)
  264. setTimeout(function(){
  265. that.PostGroupTeamRateByDiIdAndCTableId();
  266. },500)
  267. // that.PostGroupTeamRateByDiIdAndCTableId();
  268. // that.PostPaymentRefundAndOtherMoneyItemByDiId();
  269. // setTimeout(that.PostPaymentRefundAndOtherMoneyItemByDiId(),500)
  270. // setTimeout(that.PostGroupTeamRateByDiIdAndCTableId(),10000)
  271. }else{
  272. that.$message.error(res.data.msg);
  273. }
  274. })
  275. },
  276. //获取数据源
  277. PostPaymentRefundAndOtherMoneyInfoDataSource(){
  278. var url = "/api/Financial/PostPaymentRefundAndOtherMoneyInfoDataSource"
  279. var that = this
  280. this.$axios({
  281. method: 'post',
  282. url: url,
  283. headers: {
  284. Authorization: 'Bearer ' + that.userid
  285. },
  286. data:{
  287. portType: 1
  288. }
  289. }).then(function (res) {
  290. console.log(res)
  291. if(res.data.code==200){
  292. that.payTypeDatas=res.data.data.payTypeDatas;
  293. that.priceTypeDatas=res.data.data.priceTypeDatas;
  294. that.orbitalPrivateTransferDatas=res.data.data.orbitalPrivateTransferDatas;
  295. }else{
  296. that.$message.error(res.data.msg);
  297. }
  298. })
  299. },
  300. //获取Ctable
  301. PostPageLinkCTable(){
  302. var url = "/api/Business/PostPageLinkCTable"
  303. var that = this
  304. this.$axios({
  305. method: 'post',
  306. url: url,
  307. headers: {
  308. Authorization: 'Bearer ' + that.userid
  309. },
  310. data:{
  311. pageId: that.pageId,
  312. }
  313. }).then(function (res) {
  314. console.log(res)
  315. if(res.data.code==200){
  316. that.cTable=res.data.data.cTable
  317. }else{
  318. that.$message.error(res.data.msg);
  319. }
  320. })
  321. },
  322. //获取币种数据源
  323. PostGroupTeamRateByDiIdAndCTableId(){
  324. var url = "/api/Business/PostGroupTeamRateByDiIdAndCTableId"
  325. var that = this
  326. var data={
  327. portType: 1,
  328. diId: that.value,
  329. cTable:that.cTable
  330. }
  331. console.log(JSON.stringify(data))
  332. this.$axios({
  333. method: 'post',
  334. url: url,
  335. headers: {
  336. Authorization: 'Bearer ' + that.userid
  337. },
  338. data:{
  339. portType: 1,
  340. diId: that.value,
  341. cTable:that.cTable
  342. }
  343. }).then(function (res) {
  344. console.log(res)
  345. if(res.data.code==200){
  346. that.currencyDatas=res.data.data.teamRates;
  347. if(res.data.data.teamRates.length==0){
  348. that.$notify({
  349. title: '警告',
  350. message: '此团组其他款项未设置币种及汇率,请前往团组汇率设置!',
  351. type: 'warning',
  352. duration:0
  353. });
  354. }
  355. that.form.currencyId=res.data.data.teamRates[0].currencyId
  356. }else{
  357. that.$message.error(res.data.msg);
  358. }
  359. })
  360. },
  361. //获取团组详情
  362. PostShareGroupInfo(){
  363. var url = "/api/Business/PostShareGroupInfo"
  364. var that = this
  365. this.$axios({
  366. method: 'post',
  367. url: url,
  368. headers: {
  369. Authorization: 'Bearer ' + that.userid
  370. },
  371. data:{
  372. portType:1,
  373. id: that.value
  374. }
  375. }).then(function (res) {
  376. console.log(res)
  377. if(res.data.code==200){
  378. that.groupInfo=res.data.data;
  379. }else{
  380. that.$message.error(res.data.msg);
  381. }
  382. })
  383. },
  384. //获取团组收款退还与其他款项
  385. PostPaymentRefundAndOtherMoneyItemByDiId(){
  386. var url = "/api/Financial/PostPaymentRefundAndOtherMoneyItemByDiId"
  387. var that = this
  388. var data={
  389. portType:1,
  390. userId:that.userid,
  391. pageId:that.pageId,
  392. diId: that.value
  393. }
  394. console.log(JSON.stringify(data))
  395. this.$axios({
  396. method: 'post',
  397. url: url,
  398. headers: {
  399. Authorization: 'Bearer ' + that.userid
  400. },
  401. data:{
  402. portType:1,
  403. userId:that.userid,
  404. pageId:that.pageId,
  405. diId: that.value
  406. }
  407. }).then(function (res) {
  408. console.log(res)
  409. if(res.data.code==200){
  410. that.groupsendData=res.data.data.data;
  411. that.addAuth=res.data.data.pageFuncAuth.addAuth;
  412. }else{
  413. that.$message.error(res.data.msg);
  414. }
  415. })
  416. },
  417. //保存修改
  418. submitForm(formName,text) {
  419. console.log(this.form.currencyId)
  420. console.log(this.currencyDatas)
  421. this.$refs[formName].validate((valid) => {
  422. if (valid) {
  423. var status
  424. for(var i=0;i<this.currencyDatas.length;i++){
  425. if(this.currencyDatas[i].currencyId==this.form.currencyId){
  426. this.form.currencyCode=this.currencyDatas[i].currencyCode
  427. }
  428. }
  429. if(text=='保存'){
  430. status=1
  431. this.PostPaymentRefundAndOtherMoneyAddOrEdit(status)
  432. }
  433. if(text=='修改'){
  434. status=2
  435. this.PostPaymentRefundAndOtherMoneyAddOrEdit(status)
  436. }
  437. console.log(this.form)
  438. } else {
  439. console.log('error submit!!');
  440. return false;
  441. }
  442. });
  443. },
  444. //保存修改api
  445. PostPaymentRefundAndOtherMoneyAddOrEdit(status){
  446. var url = "/api/Financial/PostPaymentRefundAndOtherMoneyAddOrEdit"
  447. var that = this
  448. var data={
  449. portType:1,
  450. pageId:Number(that.pageId),
  451. userId:that.userid,
  452. status:status,//1 添加 2 修改
  453. diId:that.value,
  454. id:that.form.id,
  455. ccpId:that.form.ccpId,
  456. priceName:that.form.priceName,
  457. price:that.form.price,
  458. currencyId:that.form.currencyId,
  459. currencyCode:that.form.currencyCode,
  460. payee:that.form.payee,
  461. payDId:that.form.payDId,
  462. orbitalPrivateTransfer:that.form.orbitalPrivateTransfer,
  463. consumptionPatterns:that.form.consumptionPatterns,
  464. payType:that.form.payType,
  465. remark:that.form.remark,
  466. }
  467. console.log(JSON.stringify(data))
  468. this.$axios({
  469. method: 'post',
  470. url: url,
  471. headers: {
  472. Authorization: 'Bearer ' + that.userid
  473. },
  474. data:{
  475. portType:1,
  476. pageId:that.pageId,
  477. userId:that.userid,
  478. status:status,//1 添加 2 修改
  479. diId:that.value,
  480. id:that.form.id,
  481. ccpId:that.form.ccpId,
  482. priceName:that.form.priceName,
  483. price:that.form.price,
  484. currencyId:that.form.currencyId,
  485. currencyCode:that.form.currencyCode,
  486. payee:that.form.payee,
  487. payDId:that.form.payDId,
  488. orbitalPrivateTransfer:that.form.orbitalPrivateTransfer,
  489. consumptionPatterns:that.form.consumptionPatterns,
  490. payType:that.form.payType,
  491. remark:that.form.remark,
  492. }
  493. }).then(function (res) {
  494. console.log(res)
  495. if(res.data.code==200){
  496. that.$message({
  497. message: res.data.msg,
  498. type: 'success'
  499. });
  500. that.dialogFormVisible=false
  501. that.PostPaymentRefundAndOtherMoneyItemByDiId()
  502. }else{
  503. that.$message.error(res.data.msg);
  504. }
  505. })
  506. },
  507. //编辑
  508. Complete(index,row){
  509. if (this.$refs.form){
  510. this.$nextTick(() => {
  511. this.$refs['form'].clearValidate();
  512. })
  513. }
  514. this.identify=false;
  515. this.revise=true;
  516. //弹框
  517. this.dialogFormVisible=true;
  518. //初始化数据
  519. this.form={
  520. id:0,
  521. ccpId:0,
  522. priceName:'',//费用名称
  523. price:0,//费用
  524. currencyId:0,//币种Id
  525. currencyCode:'',//币种Code
  526. payee:'',//收款方
  527. payDId:72,//支付方式Id
  528. orbitalPrivateTransfer:0,//费用标识
  529. consumptionPatterns:'',//消费方式
  530. payType:0,//费用类型 0 其他 1 退多付款
  531. remark:'',//备注
  532. }
  533. var formobject={}
  534. var url = "/api/Financial/PostPaymentRefundAndOtherMoneyInfo"
  535. var that = this
  536. this.$axios({
  537. method: 'post',
  538. url: url,
  539. headers: {
  540. Authorization: 'Bearer ' + that.userid
  541. },
  542. data:{
  543. portType:1,
  544. id: row.id,
  545. }
  546. }).then(function (res) {
  547. console.log(res)
  548. if(res.data.code==200){
  549. formobject=res.data.data;
  550. that.form.id=formobject.id;
  551. that.form.ccpId=formobject.ccpId;
  552. that.form.priceName=formobject.priceName;
  553. that.form.price=formobject.price;
  554. that.form.currencyId=formobject.currencyId;
  555. that.form.payee=formobject.payee;
  556. that.form.payDId=formobject.payDId;
  557. that.form.orbitalPrivateTransfer=formobject.orbitalPrivateTransfer;
  558. that.form.consumptionPatterns=formobject.consumptionPatterns;
  559. that.form.payType=formobject.payType;
  560. that.form.remark=formobject.remark;
  561. }else{
  562. that.$message.error('获取数据源失败!');
  563. }
  564. })
  565. },
  566. //表格保留两位小数
  567. rounding(row,column) {
  568. return parseFloat(row[column.property]).toFixed(2)
  569. },
  570. //删除
  571. Delete(index,row){
  572. this.$confirm('此操作将删除此条数据,是否确认删除?', '提示', {
  573. confirmButtonText: '确定',
  574. cancelButtonText: '取消',
  575. type: 'warning'
  576. }).then(() => {
  577. var url = "/api/Financial/PostPaymentRefundAndOtherMoneyDel"
  578. var that = this
  579. this.$axios({
  580. method: 'post',
  581. url: url,
  582. headers: {
  583. Authorization: 'Bearer ' + that.userid
  584. },
  585. data:{
  586. portType:1,
  587. userId:that.userid,
  588. pageId:that.pageId,
  589. id: row.id
  590. }
  591. }).then(function (res) {
  592. console.log(res)
  593. if(res.data.code==200){
  594. that.$message({
  595. message: res.data.msg,
  596. type: 'success'
  597. });
  598. that.PostPaymentRefundAndOtherMoneyItemByDiId()
  599. }else{
  600. that.$notify({
  601. title: '警告',
  602. message: res.data.msg,
  603. type: 'warning',
  604. duration:0
  605. });
  606. // that.$message.error(res.data.msg);
  607. }
  608. })
  609. })
  610. },
  611. //新增
  612. addclick(){
  613. this.revise=false;
  614. this.identify=true;
  615. this.form={
  616. id:0,
  617. ccpId:0,
  618. priceName:'',//费用名称
  619. price:0,//费用
  620. currencyId:0,//币种Id
  621. currencyCode:'',//币种Code
  622. payee:'',//收款方
  623. payDId:72,//支付方式Id
  624. orbitalPrivateTransfer:0,//费用标识
  625. consumptionPatterns:'',//消费方式
  626. payType:0,//费用类型 0 其他 1 退多付款
  627. remark:'',//备注
  628. }
  629. this.dialogFormVisible=true;
  630. this.PostGroupTeamRateByDiIdAndCTableId()
  631. },
  632. changediid(){
  633. console.log(this.value)
  634. this.PostShareGroupInfo();
  635. this.PostPaymentRefundAndOtherMoneyItemByDiId();
  636. }
  637. },
  638. filters:{
  639. filter_time(value){
  640. if(value){
  641. return value.split(' ')[0];
  642. }
  643. return value
  644. },
  645. filter_city(value){
  646. return value
  647. }
  648. },
  649. mounted(){
  650. this.userid=JSON.parse(localStorage.getItem('userinif')).userInfo.userId;
  651. this.pageId=Number(localStorage.getItem('indexs').split('-')[1]);//页面id
  652. console.log(this.pageId)
  653. this.PostPageLinkCTable();
  654. this.GetForeignReceivablesDataSources();
  655. // setTimeout(this.PostPaymentRefundAndOtherMoneyInfoDataSource(),500)
  656. this.PostPaymentRefundAndOtherMoneyInfoDataSource();
  657. // setTimeout(this.PostGroupTeamRateByDiIdAndCTableId(), 3000);
  658. // this.PostGroupTeamRateByDiIdAndCTableId();
  659. }
  660. }
  661. </script>
  662. <style>
  663. .sendack-all{
  664. background-color: #fff;
  665. padding: 10px;
  666. box-shadow: 0 0 5px #0005;
  667. border-radius: 10px;
  668. height: 100%;
  669. min-height: 840px;
  670. }
  671. .sendack-head-li label{
  672. color: #606266;
  673. font-size: 15px;
  674. font-weight: 600;
  675. }
  676. .sendack-head{
  677. display: flex;
  678. justify-content: space-between;
  679. }
  680. .sendack-info{
  681. display: flex;
  682. margin-top: 10px;
  683. margin-bottom: 10px;
  684. }
  685. .sendack-info-li{
  686. margin-right: 30px;
  687. }
  688. .sendack-info-li label{
  689. color: #606266;
  690. font-size: 15px;
  691. font-weight: 600;
  692. }
  693. .sendack-info-li span{
  694. color: #606266;
  695. font-size: 14px;
  696. }
  697. .sendack-all .el-form-item{
  698. width: 50%;
  699. }
  700. .sendack-all .el-form-item input{
  701. width: 300px;
  702. }
  703. .sendack-all .fyjeinput{
  704. width: 148px;
  705. }
  706. .sendack-all .fyjeinput input{
  707. width: 100%;
  708. }
  709. .sendack-all .sendack-dialog .fyjeselect{
  710. width: 148px;
  711. }
  712. .sendack-all .fyjeselect input{
  713. width: 100%;
  714. }
  715. .sendack-all .el-dialog__body{
  716. padding-top: 10px;
  717. }
  718. .el-dialog__body .sendack-info{
  719. margin-left: 25px;
  720. margin-bottom: 20px;
  721. flex-wrap: wrap;
  722. }
  723. .el-dialog__body .sendack-info-li{
  724. margin-bottom: 10px;
  725. }
  726. .sendack-dialog .el-select{
  727. width: 300px;
  728. }
  729. </style>